mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Merge pull request #1105 from TomHarte/AppleIIActivity
Add an Apple II SCSI activity indicator.
This commit is contained in:
commit
7ce8326c8c
@ -167,3 +167,7 @@ void SCSICard::perform_bus_operation(Select select, bool is_read, uint16_t addre
|
|||||||
void SCSICard::set_storage_device(const std::shared_ptr<Storage::MassStorage::MassStorageDevice> &device) {
|
void SCSICard::set_storage_device(const std::shared_ptr<Storage::MassStorage::MassStorageDevice> &device) {
|
||||||
storage_->set_storage(device);
|
storage_->set_storage(device);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SCSICard::set_activity_observer(Activity::Observer *observer) {
|
||||||
|
scsi_bus_.set_activity_observer(observer);
|
||||||
|
}
|
||||||
|
@ -37,6 +37,8 @@ class SCSICard: public Card {
|
|||||||
scsi_bus_.run_for(cycles);
|
scsi_bus_.run_for(cycles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void set_activity_observer(Activity::Observer *observer) final;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint8_t *ram_pointer_ = nullptr;
|
uint8_t *ram_pointer_ = nullptr;
|
||||||
uint8_t *rom_pointer_ = nullptr;
|
uint8_t *rom_pointer_ = nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user