Lost the ability to install basic.rp6502 #121
-
First, I must say this is an awesome project... well done! A few months ago, I installed basic.rp6502 and upon reboot the BASIC interpreter would boot instead of the OS Monitor. Something seems to have changed. Now, when I "INSTALL" basic, the computer becomes unresponsive. A reboot is required to get back to the OS Monitor prompt. Once I get back to the OS prompt (via REBOOT switch), I am able to execute the "set boot basic" command. After which, the basic ROM will be listed when the HELP command is executed. But, when I REBOOT to start the ROM, I get the error message "?Missing RP6502 ROM header". This behavior also occurs on another video game project I'm working on. These are the steps I'm taking... initial state is "no installed ROMs". 1) copy basic.rp6502 to USB drive, 2) install the drive in the picocomputer, 3) INSTALL basic.rp6502, 4) the computer seems to hang, 5) after several minutes with no response (no prompt), I activate the reboot switch , 6) normal reboot occurs, when I execute the HELP command the OS reports "1 installed ROM:" and on the next line "BASIC." 7) I execute the "SET BOOT BASIC" command without error, 8) I reboot via command line or the REBOOT switch and I get the error messaged noted above. Anyone else seeing something similar? Any suggestions? Note: If I "LOAD" the file, there are no issues with either the BASIC interpreter or my game project. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
First guess is the littlefs file system may be corrupt or you have a bad/worn flash block, but "set boot basic" also writes to this file system and seems to be working. Try swapping Picos and/or flash_nuke.uf2: |
Beta Was this translation helpful? Give feedback.
-
It looks like the 0.8 binary has something wrong with littlefs. Nothing changed from the previous version except TinyUSB which isn't directly connected to littlefs. |
Beta Was this translation helpful? Give feedback.
-
I was able to reproduce this. Simply bumping littlefs to the latest version seems to fix it. Released fixed binary as v0.9. |
Beta Was this translation helpful? Give feedback.
I was able to reproduce this. Simply bumping littlefs to the latest version seems to fix it. Released fixed binary as v0.9.
https://github.com/picocomputer/rp6502/releases