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:
parent
53514c7fdc
commit
1a40cc048e
@ -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;
|
// Enable the Acorn ADFS if a mass-storage device is attached;
|
||||||
// unlike the Pres ADFS it retains SCSI logic.
|
// unlike the Pres ADFS it retains SCSI logic.
|
||||||
if(!media.mass_storage_devices.empty()) {
|
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;
|
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;
|
target->media.mass_storage_devices = media.mass_storage_devices;
|
||||||
|
|
||||||
// Check for a boot option.
|
// Check for a boot option.
|
||||||
|
@ -612,10 +612,14 @@ template <bool has_scsi_bus> class ConcreteMachine:
|
|||||||
if(activity_observer_) {
|
if(activity_observer_) {
|
||||||
activity_observer_->register_led(caps_led);
|
activity_observer_->register_led(caps_led);
|
||||||
activity_observer_->set_led_status(caps_led, caps_led_state_);
|
activity_observer_->set_led_status(caps_led, caps_led_state_);
|
||||||
|
}
|
||||||
|
|
||||||
if(plus3_) {
|
if(plus3_) {
|
||||||
plus3_->set_activity_observer(observer);
|
plus3_->set_activity_observer(observer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(has_scsi_bus) {
|
||||||
|
scsi_bus_.set_activity_observer(observer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user