mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-26 09:29:45 +00:00
Implements MSX interrupt/data request reading register.
The disk ROM now appears to accept on-disk bytes, but still announces an IO failure.
This commit is contained in:
parent
2f59226300
commit
8be6cb827b
@ -44,6 +44,9 @@ uint8_t DiskROM::read(uint16_t address) {
|
||||
if(address >= 0x7ff8 && address < 0x7ffc) {
|
||||
return get_register(address);
|
||||
}
|
||||
if(address == 0x7fff) {
|
||||
return (get_data_request_line() ? 0x00 : 0x80) | (get_interrupt_request_line() ? 0x00 : 0x40);
|
||||
}
|
||||
return rom_[address & 0x3fff];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user