1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Niceties: include AP6 ROM for hard-disk users; show SCSI activity indicator.

This commit is contained in:
Thomas Harte 2021-01-31 21:41:11 -05:00
parent 53514c7fdc
commit 1a40cc048e
2 changed files with 14 additions and 4 deletions

View File

@ -144,8 +144,14 @@ Analyser::Static::TargetList Analyser::Static::Acorn::GetTargets(const Media &me
// Enable the Acorn ADFS if a mass-storage device is attached;
// unlike the Pres ADFS it retains SCSI logic.
if(!media.mass_storage_devices.empty()) {
target->has_pres_adfs = false;
target->has_pres_adfs = false; // To override a floppy selection, if one was made.
target->has_acorn_adfs = true;
// Assume some sort of later-era Acorn work is likely to happen;
// so ensure *TYPE, etc are present.
target->has_ap6_rom = true;
target->has_sideways_ram = true;
target->media.mass_storage_devices = media.mass_storage_devices;
// Check for a boot option.

View File

@ -612,10 +612,14 @@ template <bool has_scsi_bus> class ConcreteMachine:
if(activity_observer_) {
activity_observer_->register_led(caps_led);
activity_observer_->set_led_status(caps_led, caps_led_state_);
}
if(plus3_) {
plus3_->set_activity_observer(observer);
}
if(plus3_) {
plus3_->set_activity_observer(observer);
}
if(has_scsi_bus) {
scsi_bus_.set_activity_observer(observer);
}
}