I want it to read the file that has the item data - load it into memory, or just load the bytes related to item #1, then on keypress load the bytes related to the next item...but this completely eludes me.
I have this code:
Code: Select all
.C:c0d2 A9 02 LDA #$02
.C:c0d4 A2 08 LDX #$08
.C:c0d6 A0 01 LDY #$01
.C:c0d8 20 BA FF JSR $FFBA
.C:c0db A9 07 LDA #$07
.C:c0dd A2 4E LDX #$4E
.C:c0df A0 C3 LDY #$C3
.C:c0e1 20 BD FF JSR $FFBD
.C:c0e4 A0 00 LDY #$00
.C:c0e6 A2 10 LDX #$40
.C:c0e8 A9 00 LDA #$00
.C:c0ea 20 D5 FF JSR $FFD5
.C:c0ed 60 RTS