1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-24 12:30:17 +00:00

Provides a token something where DMA should be.

This commit is contained in:
Thomas Harte 2019-10-10 21:04:41 -04:00
parent 4ead905c3c
commit a59ec9e818

View File

@ -293,6 +293,19 @@ class ConcreteMachine:
} }
} }
} break; } break;
// DMA.
case 0x7fc302: case 0x7fc303: case 0x7fc304: case 0x7fc305: case 0x7fc306:
if(cycle.operation & Microcycle::Read) {
const uint8_t value = 0;
if(cycle.operation & Microcycle::SelectByte) {
cycle.value->halves.low = value;
} else {
cycle.value->halves.high = value;
cycle.value->halves.low = 0xff;
}
}
break;
} }
return HalfCycles(0); return HalfCycles(0);
} }