PicoMite 6.00.02 prospectus


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11850
Posted: 11:27am 15 Jan 2025      

Below is my current thinking for 6.00.02. Please let me know if I've missed any reported bugs in 6.00.01

General comments
The firmware will implement the ability to save the entire variable space to the A: drive or PSRAM (if available) and subsequently restore it.
This is completely transparent to the user although saving to the A: drive does take a second or so and there must be free space of just less than 256KB available.
This allows commands that historically have required access to the complete variable space to be run from within a program (e.g. FILES).
Specifically, this allows the implementation of a CHAIN command
When PSRAM is enabled 2MB of the available PSRAM is reserved for system use. The remaining space(typically 6MB) is available as normal MMBasic variable space
This allows 5 RAM program slots to be created and used both from within a program and at the command line.
Of course RAM program slots will not survive a power cycle but they will survive a system reset and can be loaded from within a flash based program

Bug fixes

Fixes bug in forward references in PIO assembler when the starting line number is > 1
Fixes bug in PRINT @(x,y) when outputting to a computer console
By default disables heartbeat and enables access to all pins on RP2350B
Allows selection of GP19 for PSRAM PIN

New
Supports ; at the end of LONGSTRING PRINT to suppress the CR/LF
I2C(2) OPEN now supports 1000 as a speed
FILE command can now be used in a program
CHAIN fname$,cmdline$ ' Allows the program to run another program with the variable space preserved
EDIT FILE command will now only be memory limited the same as EDIT
SAVE CONTEXT [CLEAR]' saves the variable space and optionally clears it
LOAD CONTEXT ' restores the variable space to the previously saved state
FLASH SAVE [fname$] ' the new optional parameter allows a flash slot to be loaded from disk from within a program or at the command line
RAM command (RP2350 with PSRAM only) functions like the FLASH command with 5 program slots available in PSRAM
SHIFT-F3 to F10 now work for computer console. NB: Shift-F1, F2, F11, and F12 don't appear to send codes so can't work
OPTION HEARTBEAT ENABLE [pin] 'allows the user to select a pin for a heartbeat (Specifically targeted at RP2350B)