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

Merge pull request #1105 from TomHarte/AppleIIActivity

Add an Apple II SCSI activity indicator.
This commit is contained in:
Thomas Harte 2022-11-17 11:11:28 -05:00 committed by GitHub
commit 7ce8326c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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) {
storage_->set_storage(device);
}
void SCSICard::set_activity_observer(Activity::Observer *observer) {
scsi_bus_.set_activity_observer(observer);
}

View File

@ -37,6 +37,8 @@ class SCSICard: public Card {
scsi_bus_.run_for(cycles);
}
void set_activity_observer(Activity::Observer *observer) final;
private:
uint8_t *ram_pointer_ = nullptr;
uint8_t *rom_pointer_ = nullptr;