I found that 22CA appears to be a 'short ROM bank' binary, even though the bin file itself has a full bank 1. Bin file has non 0xff values beyond 0x1dfff, and it also has an extra [strange] text string between 'Copyright' and ID text in an empty bank 9, which has all interrupt vectors set up, but nothing else. I used 22CA originally for this extra text as a test.
I found that 22CA writes to 0x1e002, supporting that it's a 'short bank', and this may be why the bin file has the weird values in it.
So I might need to handle bins bank 1 a bit differently to the way SAD does it now.
Anybody using this bin ?? Any Comments ??
22CA write to 1e002, implying RAM exists here
Code: Select all
8d320: a1,02,e0,4a ldw R4a,e002 R4a = e002; 8d324: a2,4a,38 ldw R38,[R4a] R38 = [R4a]; 8d327: fa di interrupts OFF; 8d328: 02,38 cplw R38 R38 = ~R38; 8d32a: c2,4a,38 stw R38,[R4a] [R4a] = R38; 8d32d: 8a,4a,38 cmpw R38,[R4a]