Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:13 04 Mar 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PicoMite V6.02.01 release candidates

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11010
Posted: 09:46am 04 Mar 2026
Copy link to clipboard 
Print this post

V6.02.01RC0

PicoMiteV6.02.01RC0.zip

Changes from V6.02.00

All versions
File names on the A: drive are now no longer case sensitive and behave like the B: drive
Minor internal bug fixes and code restructuring
Fixes bug in GPS parsing
Fixes bug where Text is setting tiles incorrectly when the output exceeds the screen width
Fixes bug in the editor when the marked text exceeds the buffer size
Editor now correctly colour codes string literals and comments split across continuation lines
Blank lines are now allowed in TYPE declarations
Corrects behaviour when the A: drive is formatted when the current directory is not at root level
F10 in the editor when in mark mode is no longer limited by the buffer size. This allows the user to mark any amount of text and save it to a file.
The editor now correctly restores non-default foreground and background colours on exit.

New command ONESHOT
  Quote  ONESHOT triggerPin, sense, outputPin, prePulseDelay, pulseWidth [, quiescentPeriod]
or
ONESHOT DISABLE
Will configure a background one-shot pulse generator.
When the selected trigger edge is detected on 'triggerPin', MMBasic starts a delay of 'prePulseDelay' microseconds, then toggles 'outputPin'.  After 'pulseWidth' microseconds it toggles 'outputPin' again.  This creates a pulse in the opposite sense to the output pin's idle state.
An optional 'quiescentPeriod' (microseconds) can be supplied.  If present, ONESHOT will ignore retriggers for that period after the pulse completes.
'sense' selects the trigger edge transition and can be POSITIVE (also RISING) or NEGATIVE (also FALLING).  Triggering is edge based (transition), not level-state based.
Timing is interrupt driven and non-blocking.  Delay and pulse width are specified in microseconds.
'prePulseDelay' may be set to 0, in which case the pulse starts immediately on the selected trigger edge.
'pulseWidth' must be a positive value (>0).
Notes:
'outputPin' must be OFF or DOUT when ONESHOT is configured.
If 'outputPin' is OFF it will be configured as DOUT and driven low before ONESHOT is armed.
If 'outputPin' is already DOUT, its current state (high or low) is preserved and the generated pulse is the opposite polarity.
Only one ONESHOT configuration can be active at any one time.
Additional triggers received while ONESHOT is in the pre-pulse delay period, while the pulse is active, or during any configured quiescent period are ignored.
ONESHOT DISABLE stops background operation, cancels pending timing events and restores the output pin to its idle state if a pulse was in progress.
entering an edit, starting a program etc. also disables and clears ONESHOT background activity.
The trigger and output pins must be different pins.
Example:
SETPIN GP2, DIN
SETPIN GP3, DOUT
ONESHOT GP2, POSITIVE, GP3, 50, 200
This waits for a rising edge on GP2, delays 50µs, toggles GP3, then toggles GP3 again 200µs later.


You can now use string literals and string variables for GP pin nos (except PORT command and function). Existing usage is not affected (I hope) e.g.
const outpin$="GP2"
setpin outpin$,dout
pin(outpin$)=1


SPRITE(B function now properly supports all orientations of the sprite

mm.info(PWM SLICE gpno) This returns the PWM slice for a given pin allowing:
setpin gp2,pwm
pwm mm.info(pwm slice gp2),1000,50


Adds new commands
SAVE DATA fname$, address, nbytes
LOAD DATA fname$, address

Load and save memory to file as binary data. NB: there is no protection on the address so use with care. Tested saving and loading from the screen in the VGARP2350 version
save data "test.dat",mm.info(writebuff),38400
load data "test.dat",mm.info(writebuff)


All RP2350 versions
Fixes bug in PORT command and function when pins > GP31 are used
Tweaks to flash and param timings to improve reliability.
Reduced memory footprint of using png files - still big but not as big
SPRITE LOADPNG is modified as follows. Previously pixels under the cutoff threshold were transparent BUT black pixels were also transparent (assuming the default transparent = black). Now you can set the transparent colour to a negative value (-1 to -15) this causes black pixels to be replaced with the positive value of the negative value. So:
SPRITE LOADPNG 1,"mypng.png",-2 will replace black pixels with myrtle avoiding holes in the sprite.
load png and sprite load png now process mode 3 png files (colour map included in the file)

New Command PLAY SAMPLE
PLAY_SAMPLE_User_Manual.pdf

the LOCATION command can now optionally return the sidereal time
GPS_Astro_Reference.pdf

Adds FRAME command
FRAME_User_Manual.pdf

RP2350 only and not WebMiteRP2350
Max CPU speed for PicoMite(USB)RP2350 now 420MHz
Fixes bug in BLIT FRAMEBUFFER for buffered LCD drivers
Fixes bug in scrolling for buffered LCD drivers

Adds RAY command and function
Raycaster_User_Manual.pdf


PicoMiteRP2040 and PicoMiteRP2040USB
reduces firmware image size by 16Kbyte with concommitant increase in size of A: drive.

All PicoMite and WebMite versions
N5110 driver now correctly uses INVERT in the option setting

WebMite RP2350 version
The WebMiteR2350 should now support the Pimoroni Pico Plus 2 W. This board uses the RP2350B and includes PSRAM.

PicoCalc
The standard PicoMite, PicoMiteRP2350, WebMite and WebMiteRP2350 versions should all support the PicoCalc. To use this nuke the current firmware on your PicoCalc and install the relevant version from the download. The code will automatically detect it is running on a PicoCalc and configure itself. You must be running a version of the bios that supports returning the battery level. I've been loaned a PicoCalc and tested with BIOS 1.5 and 1.6.
Edited 2026-03-04 22:12 by matherp
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026