This restructures the multivram* headers to use a byte for the opcode rather than overloading with the upper byte of the VRAM address. This makes it possible to add many more types of operations to the VRAM buffer in the future (some suggestions are shown in the comments).
For a 3-byte multi_vram_buffer call, this shaved 1 cycle of the initial call, and 14 cycles off the call to flush_vram_update2 during NMI.
This restructures the multivram* headers to use a byte for the opcode rather than overloading with the upper byte of the VRAM address. This makes it possible to add many more types of operations to the VRAM buffer in the future (some suggestions are shown in the comments).
For a 3-byte
multi_vram_buffer
call, this shaved 1 cycle of the initial call, and 14 cycles off the call toflush_vram_update2
during NMI.