09-24-2012, 07:48 PM
(09-24-2012, 11:22 AM)Marketa Lazarova Wrote: I imagine that the 'high' bytes have something to do with this, but they don't seem to point to parts of the ROM in the same fashion as low bytes, and the STA and STX codes may also have something to do it. I think that if I can figure those out, I may be able to do this.
The high byte is the bank. STA means "store in register A". Same goes for STX "Store in register X". See those as temporary variables. So the part you need to change would be this given you move the pointers to 310200:
Code:
C3/8308: A2 00 00 LDX #$0000 (pointers low & medium byte)
C3/830B: 86 E7 STX $E7
C3/830D: A2 00 64 LDX #$6400 (descriptions low & medium byte)
C3/8310: 86 EB STX $EB
C3/8312: A9 F1 LDA #$F1 (pointers bank)
C3/8314: 85 E9 STA $E9
C3/8316: A9 ED LDA #$ED (descriptions bank)
C3/8318: 85 ED STA $ED