I have it setup to execute with a Basic RUN command...(SYS whatever) Everything seems to be pointing OK.
My main problem is I cannot for the life of me add one to a memory location in $26 (YCOORDLO)
Code: Select all
inc YCOORDLO
Code: Select all
stx YTEMP
inc y0
ldx y0
lda YTABLELOBYTE,x
sta YCOORDLO ;lo byte in zero page
ldx YTEMP
If I add a simple delay loop to slow things down I get strange effects too.
I can't even seem to use simple TSX and TXS codes without causing a crash?