1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-29 12:50:28 +00:00

Add TODOs rather than complete stop on shift register acccesses.

This commit is contained in:
Thomas Harte 2021-11-02 18:19:31 -07:00
parent c9bf2dda16
commit 29e5ecc282

View File

@ -126,6 +126,11 @@ void MOS6526<BusHandlerT, personality>::write(int address, uint8_t value) {
tod_.template set_control<true>(value); tod_.template set_control<true>(value);
break; break;
// Shift control.
case 12:
printf("TODO: write to shift register\n");
break;
default: default:
printf("Unhandled 6526 write: %02x to %d\n", value, address); printf("Unhandled 6526 write: %02x to %d\n", value, address);
assert(false); assert(false);
@ -167,6 +172,11 @@ uint8_t MOS6526<BusHandlerT, personality>::read(int address) {
case 10: return tod_.template read<2>(); case 10: return tod_.template read<2>();
case 11: return tod_.template read<3>(); case 11: return tod_.template read<3>();
// Shift register.
case 12:
printf("TODO: read from shift register\n");
break;
default: default:
printf("Unhandled 6526 read from %d\n", address); printf("Unhandled 6526 read from %d\n", address);
assert(false); assert(false);