mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Add an easier hook for debugging.
This commit is contained in:
parent
892580c183
commit
bdb35b6191
@ -22,7 +22,9 @@ namespace {
|
||||
|
||||
bool satisfies_raster(uint16_t position, uint16_t blitter_status, uint16_t *instruction) {
|
||||
// Return immediately if: (i) wait-for-Blitter is not disabled; and (ii) the Blitter is busy.
|
||||
if(!(instruction[1] & 0x8000) && (blitter_status & 0x4000)) return false;
|
||||
if(!(instruction[1] & 0x8000) && (blitter_status & 0x4000)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Otherwise, test the raster position against the instruction's value and mask.
|
||||
const uint16_t mask = 0x8000 | (instruction[1] & 0x7ffe);
|
||||
|
Loading…
Reference in New Issue
Block a user