1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-21 21:33:54 +00:00

Attempts to restrict blitter slot allocation.

This commit is contained in:
Thomas Harte 2021-09-16 19:56:28 -04:00
parent 6572efe2a7
commit 692d87f446
2 changed files with 7 additions and 1 deletions

View File

@ -59,6 +59,11 @@ uint16_t Blitter::get_status() {
}
bool Blitter::advance() {
if(!height_) return false;
printf("!!! %08x\n", pointer_[3]);
ram_[pointer_[3] & ram_mask_] = 0xffff;
return false;
--height_;
return true;
}

View File

@ -378,6 +378,7 @@ template <bool stop_on_cpu> int Chipset::advance_slots(int first_slot, int last_
C10(200); C10(210);
C(220); C(221); C(222); C(223); C(224);
C(225); C(226); C(227); C(228);
break;
default: assert(false);
}