1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 16:31:31 +00:00

Adds a TODO on intended logic around the AP6 ROM.

... plus a promise as to intent in the Electron-specific ROM readme.
This commit is contained in:
Thomas Harte 2021-01-30 23:20:43 -05:00
parent 8311ac4a7c
commit b6bc0a21fb
2 changed files with 44 additions and 11 deletions

View File

@ -108,15 +108,20 @@ Analyser::Static::TargetList Analyser::Static::Acorn::GetTargets(const Media &me
dfs_catalogue = GetDFSCatalogue(disk); dfs_catalogue = GetDFSCatalogue(disk);
if(dfs_catalogue == nullptr) adfs_catalogue = GetADFSCatalogue(disk); if(dfs_catalogue == nullptr) adfs_catalogue = GetADFSCatalogue(disk);
if(dfs_catalogue || adfs_catalogue) { if(dfs_catalogue || adfs_catalogue) {
// Accept the disk and determine whether DFS or ADFS ROMs are implied.
target->media.disks = media.disks; target->media.disks = media.disks;
target->has_dfs = !!dfs_catalogue; target->has_dfs = bool(dfs_catalogue);
target->has_adfs = !!adfs_catalogue; target->has_adfs = bool(adfs_catalogue);
// Check whether a simple shift+break will do for loading this disk.
Catalogue::BootOption bootOption = (dfs_catalogue ?: adfs_catalogue)->bootOption; Catalogue::BootOption bootOption = (dfs_catalogue ?: adfs_catalogue)->bootOption;
if(bootOption != Catalogue::BootOption::None) if(bootOption != Catalogue::BootOption::None) {
target->should_shift_restart = true; target->should_shift_restart = true;
else } else {
target->loading_command = "*CAT\n"; target->loading_command = "*CAT\n";
}
// TODO: check whether adding the AP6 ROM is justified.
} }
} }

View File

@ -4,13 +4,41 @@ Expected files:
basic.rom basic.rom
os.rom os.rom
plus1.rom DFS-1770-2.20.rom — used only if the user opens a DFS disk image
DFS-1770-2.20.rom ADFS-E00_1.rom — used only if the user opens an ADFS disk image
ADFS-E00_1.rom
ADFS-E00_2.rom ADFS-E00_2.rom
AP6v133.rom — used only if the user opens a disk image that makes use of any of the commands given below.
Likely to be desired in the future: Possibly to be desired in the future:
* adfs.rom
* ElectronExpansionRomPresAP2-v1.23.rom
* os300.rom
adfs.rom Commands that trigger a request for the AP6v133 ROM:
ElectronExpansionRomPresAP2-v1.23.rom * *AQRPAGE
os300.rom * *BUILD
* *DUMP
* *FORMAT
* *INSERT
* *LANG
* *LIST
* *LOADROM
* *LOCK
* *LROMS
* *RLOAD
* *ROMS
* *RSAVE
* *SAVEROM
* *SRLOAD
* *SRLOCK
* *SRPAGE
* *SRSAVE
* *SRUNLOCK
* *SRWIPE
* *TUBE
* *TYPE
* *UNLOCK
* *UNPLUG
* *UROMS
* *VERIFY
* *ZERO