There are some things at the very beginning that I don't always understand.
For example (some will follow), the first instructions in the RESET are :
Code: Select all
tst.l ($A10008).l
bne.s loc_0_800E
tst.w ($A1000C).l
loc_0_800E:
bne.s loc_0_808C
A little further, there's a word read on the VDP Control port (C00004). I read that it reset the flag that governs 16 bit write to it later. Is there another side-effect or can I assume it's the only goal of this read ?