+atari2600land Posted February 21, 2021 Share Posted February 21, 2021 My program won't save any more. I'm using the following to read and write: write_row: PROCEDURE FOR c = 0 TO 15 if c=0 then #row(0)=levelnumber if c=1 then #row(1)=lemonnumber if c=2 then #row(2)=health NEXT c FLASH WRITE FLASH.FIRST,VARPTR #row(0) return END read_row: PROCEDURE FLASH READ FLASH.FIRST,VARPTR #row(0) for c= 0 to 15 next c return END I'm doing this before every level: gosub write_row gosub read_row I put the --jlp command in when compiling and playing in jzintv but it still won't remember my progress. What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.