Open
Description
Bug: VIC20.ino, if SD card is inserted into a TTGO v1.4 board and you try to choose RAM Expansion 32K or 35K (32K + 3K) the board will reboot itself. It does not happen with anything below 32K that is chosen.
Environment: Linux, Arduino IDE 2.2.1 using FabGL 1.0.9 (behaves the same on 1.0.7 - 1.0.9, I didn't try anything older)
How to reproduce:
- Open VIC20.ino and upload to the board as usual
- Make sure NO SD card is inserted
- Upon boot, click the "RAM Expansion" drop-down box and click on 32K or 35K, the device will not reboot
- Disconnect power to VGA32 board
- Insert an SD card
- Reapply power
- Upon boot, click the "RAM Expansion" drop-down box and click on 32K or 35K, the device will reboot
I traced it down to this line in the VIC20.ino file that's causing the reboot when the selected item is 32K or 35K:
Line 450: machine->setRAMExpansion((RAMExpansionOption)(RAMExpComboBox->selectedItem()));
This prevents playing any games that are 32K, like Popeye (when the SD Card is inserted), etc.
Thank you
Metadata
Metadata
Assignees
Labels
No labels