upvote
Ooh, might steal that for my gameboy experiments if I get stuck in some perf-problem (right now I have asynchronous upload queueus that works most of the time since things are queued well ahead of time so it's updates outside of the screen).

For reference, unlike the PC,C64,etc f.ex. the Gameboy (and NES) only allows users to write memory during VBlanks/HBlanks (or when the screen is turned off), so instead of delaying and adding complicated logic for that due to memory usage contention the CPU is simply cut-off from the memory (thus reads/writes at the wrong time are just nonsense/discarded iirc).

reply
[flagged]
reply