For efficiency and better separation-of-concerns, the code in the imsaisim memory.c/h module memwrt() shouldn't have to perform
if (addr == 0xf7ff)
imsai_vio_ctrl(data);
This is getting done on every memory write just to check 1 byte, effecting performance.
This check could be moved to the imsai-vio.c module where a double-buffer could be used with any change noticed and acted on in the refresh loop.
Priority: medium Difficulty: easy
For efficiency and better separation-of-concerns, the code in the imsaisim
memory.c/h
modulememwrt()
shouldn't have to performThis is getting done on every memory write just to check 1 byte, effecting performance. This check could be moved to the
imsai-vio.c
module where a double-buffer could be used with any change noticed and acted on in the refresh loop.