1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Filled in some register mirrors.

This commit is contained in:
Thomas Harte 2016-11-25 21:28:11 +08:00
parent 54246c8f1a
commit 12956901d6

View File

@ -113,11 +113,11 @@ unsigned int Machine::perform_bus_operation(CPU6502::BusOperation operation, uin
if(isReadOperation(operation)) *value = microdisc_.get_register(address);
else microdisc_.set_register(address, *value);
break;
case 0x314:
case 0x314: case 0x315: case 0x316: case 0x317:
if(isReadOperation(operation)) *value = microdisc_.get_interrupt_request_register();
else microdisc_.set_control_register(*value);
break;
case 0x318:
case 0x318: case 0x319: case 0x31a: 0x31b:
if(isReadOperation(operation)) *value = microdisc_.get_data_request_register();
break;
}