mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Undo 8-cycle-if-met WAIT.
This commit is contained in:
parent
cbf9b345ff
commit
f2ce646d8d
@ -124,13 +124,11 @@ bool Copper::advance_dma(uint16_t position, uint16_t blitter_status) {
|
|||||||
|
|
||||||
// Got to here => this is a WAIT or a SKIP.
|
// Got to here => this is a WAIT or a SKIP.
|
||||||
|
|
||||||
const bool raster_is_satisfied = satisfies_raster(position, blitter_status, instruction_);
|
|
||||||
|
|
||||||
if(!(instruction_[1] & 1)) {
|
if(!(instruction_[1] & 1)) {
|
||||||
// A WAIT. Empirically, I don't think this waits at all if the test is
|
// A WAIT. The wait-for-start-of-next PAL wait of
|
||||||
// already satisfied.
|
// $FFDF,$FFFE seems to suggest evaluation will happen
|
||||||
state_ = raster_is_satisfied ? State::FetchFirstWord : State::Waiting;
|
// in the next cycle rather than this one.
|
||||||
if(raster_is_satisfied) LOG("Will wait from " << PADHEX(4) << position);
|
state_ = State::Waiting;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user