Please find below a new ROM flash utility that we ( @Wavicle and myself ) have created in preparation for the CX16 production release.
When you have the CX16 actual hardware, then this utility is to be used to update your CX16 ROM with a newly released ROM.BIN file, once such become available.
However, for those curious to try, you can run this tool on your emulator. Just deploy the PRG file and a newly ROM.BIN file onto an SD card image.
Start the emulator with the SD card image option, and load the CX16-ROM-FLASH.PRG, and run the program.
You'll see the flashing procedure in action, first loading the ROM.BIN completely into the internal memory first, and it will wait for a key press from the user.
Once you press the key, the ROM will be flashed. Once the ROM flashing process is completed, the CX16 will reset.
(Not sure that after reset, the rom will have the latest image then in the emulator, but it's worth to try ...).
This is the first release of this, and further release will be made. Also this tool will like make its way to the official production software stack.
The execution of this program, on official CX16 hardware, confirmed that the ROM upgrade process is feasible and that the ROMs are upgradable.
- updates on file handling. if there is no ROM.BIN on the sd card, an error message is shown and the program exits.
- internal optimizations of the program with decent procedure re-use and functional decomposition.
- tested multiple scenarios of flashing with Wavicle.