Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:30 19 Feb 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.00 release candidates - Structured types

     Page 14 of 14    
Author Message
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 08:24am 22 Jan 2026
Copy link to clipboard 
Print this post

Also one thing I was missing:
I could not get any gamepad to work. But of course I could use keyboards.
As the picomite can recognize two keyboards and two mice this would be an option. But I found no basic command that can distinguish between the two keyboards. The mouse commands does that.

My current workaround is to use different keyboard mappings but the kids always argue who gets the cursor keys....
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5703
Posted: 08:25am 22 Jan 2026
Copy link to clipboard 
Print this post

Hi ksinger,

Use search to find the thread on "miniFM".
miniFM is a norton commander like 2 pane file manager.
miniFM_RC2 (the last release) can be stored in a picomite flash slot with


LOAD "miniFM_RC2.bas"
FLASH SAVE 2 'use slot 2
OPTION F9 "flash run 2"+chr$(13)


Button F9 now calls the mini filemanager.

miniFM is a compact small filemanager with limited capabilities. On the forum there is also a thread on the full filemanager. But I use miniFM mostly.
It works on terminal(console) and VGA/HDMI output simultaneous.

This should solve all the shortcommings in copying files for you. You can also listen to audio files, and view picture files in it. And it starts basic programs with <ENTER>.

Volhout

P.S. I am happy with your addition to the sprite command. I have been investigating the best way to guide lemmings over an unknown terrain, and ended up with a lot of PIXEL commands. That is not a big issue, but speed is a problem when there are 100 lemmings. I could adapt the game to 64 max lemmings on screen, and use the new sprite command to make them follow the terrain. Thank you.
P.P.S. mouse scroll wheel support exists in MMBasic.
Edited 2026-01-22 18:36 by Volhout
PicomiteVGA PETSCII ROBOTS
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 08:42am 22 Jan 2026
Copy link to clipboard 
Print this post

thanks great tool

Also one addition to the list on the last page:
CTRL+C CTRL+V CTRL+X is just so much in the muscle memory
Maybe adding this would be really nice.
I cannot get used to f4 f5 ...
I keep pressing the wrong button ...
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10965
Posted: 08:48am 22 Jan 2026
Copy link to clipboard 
Print this post

ksinger

It is great you are so enthusiastic.
FYI:
The file copy issue is fixed in my dev environment will be in the next release.
PS2 mice support scroll wheel and for many "standard" USB mice it can be enabled. See OPTION MOUSE SENSITIVITY in the manual.
Line wrapping is available see OPTION CONTINUATION LINES in the manual


However:
MMBasic is not DOS and definitely not LINUX so you have to use its commands which are standard throughout the various MMBasic implementations.
If you want a searchable help file you can create it as a standard text file and use the editor as you suggest. The editor can open any sort of file. It, of course, only colour codes .bas files. I don't intend to develop the HELP function further.

Note:
The Pico implementation is running up against size constraints of the image which defines the size of the A: drive. This is already affecting some users who may be unable to update to 6.02.00 as a result. It is already a very comprehensive self-contained environment and with the new facilities in 6.02.00 is pretty much as "complete" as it is likely to get.

When new users join, there is often a flurry of requests to change the environment to modify the code to suite their specific use case and prior experience. If all of these were actioned the environment would become inconsistent and clumsy. As always the best advice is to use it as-is. There are almost always ways of achieving an objective within the code as it exists.
Remember, this is code running on a 1$ microprocessor with limited capability. If you want something better then the Raspberry Pi is the next step.

As to your hope that AI can't write MMbasic....
Sorry that ship has sailed. I now use Claude Opus to write all my test programs which, other than it insisting on putting LOCAL statements inside loops, it now does pretty much perfectly every time.
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 09:20am 22 Jan 2026
Copy link to clipboard 
Print this post

yes ai is everywhere.
then maybe the option to get the command line from the library function even when no "..." are used.

command on off

instead of the need to type
command "on" "off"
this would allow to make basic extensions for the command line that feel like it is an internal command. and with that I can make my aliases...
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 09:28am 22 Jan 2026
Copy link to clipboard 
Print this post

maybe it could be in an error handler so you parse the complete command line in basic.
As it would be nice to use it in the lab for some control. Maybe even just for the library functions...
We have a pretty sofisticated PIO statemachine that implements basically a Pulse-Generator with 2.5 ns resolution and possibility for loops and wait commands. And it would be an idea to actually write in the commond line things like

laser1 on

but currently one needs to write laser1 "on"
most of cases we actually pc control the experiments. But for debugging and some small side setups it would be a actually a welcome application of the picomite.
Edited 2026-01-22 19:44 by ksinger
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10965
Posted: 09:42am 22 Jan 2026
Copy link to clipboard 
Print this post

You can do that now. Make "on" a variable
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 09:46am 22 Jan 2026
Copy link to clipboard 
Print this post

on is reserved...
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 09:49am 22 Jan 2026
Copy link to clipboard 
Print this post

What I want to say is that the library functions are nearly a perfect way of extending the basic commands. With the one exception that you cannot do things like
option sdcard ...
it would need to be
option "sdcard",...

With that addition I could even get my ls and dir commands that do not need ""
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 09:52am 22 Jan 2026
Copy link to clipboard 
Print this post

the implementation could be as broad as making an:
on syntax error fn(s$)

command that calls any function on syntax error. There one could do all the handling.
But it needs to run in the library code also during command line functionality.

A reasonable addition would be then to call
print syntaxerror$

where syntaxerror$ is the error message that would have been printed
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 09:54am 22 Jan 2026
Copy link to clipboard 
Print this post

it also would allow to make custom made syntax error report improvement for example if you have a school class and you try to explain bracketing of math equations. Then for that session you could install the error handler and it would teach the students how to do a better job.
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 09:57am 22 Jan 2026
Copy link to clipboard 
Print this post

And now comes the best part:
it would even allow for augmenting existing commands as long as the additional functionality would throw an error such as

line curly 1,1,100,100
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10965
Posted: 09:58am 22 Jan 2026
Copy link to clipboard 
Print this post

Functionality for 6.02.00 is closed. Sorry, but you will have to live with what is there. MMbasic is what it is. When students come to have to use Eclipse rather than VSCode they will have to realise that dev environments differ massively.
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 10:03am 22 Jan 2026
Copy link to clipboard 
Print this post

Just one additional thing that might get you onto it:
the eval() function is a nice thing for example to make a function plotter.
But the thing missing is an on error handler as the program would break with a syntax error. so if you want to write a function plotter you need to replicate all the parsing.
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 10:04am 22 Jan 2026
Copy link to clipboard 
Print this post

And you cannot be blamed for adding a non qbasic functionality:
https://qbasic.net/en/qb-manual/Statement/ON%20ERROR.htm

you already have some of the on error functionality
ON ERROR ABORT
ON ERROR IGNORE
ON ERROR SKIP [nn]
ON ERROR CLEAR
ON ERROR RESTART
Edited 2026-01-22 20:07 by ksinger
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10965
Posted: 10:15am 22 Jan 2026
Copy link to clipboard 
Print this post

NO MORE CHANGES!!!
 
ksinger
Regular Member

Joined: 06/01/2026
Location: United Kingdom
Posts: 70
Posted: 10:20am 22 Jan 2026
Copy link to clipboard 
Print this post

stay cool, I just want to inspire not annoy. You just lost a member in the forum. Bye
 
bfwolf
Senior Member

Joined: 03/01/2025
Location: Germany
Posts: 166
Posted: 11:20am 22 Jan 2026
Copy link to clipboard 
Print this post

  ksinger said  stay cool, I just want to inspire not annoy. You just lost a member in the forum. Bye


Hi ksinger,

A little tip from me: You can edit your posts multiple times – that way you don't have to create a new post every time you think of something shortly after your last one. I think you can edit it three times or so. It often happens to me too, that I think of something shortly after posting, or that I see a mistake I want to correct, or that I want to make a link I've inserted clickable.

And please understand Peter's reluctance to make any major changes! He's put a tremendous amount of work into the new version! The release phase is currently underway – this is the thread for release candidates.

Many users are waiting for the stable release 6.02.00.

And if you want to customize something to your needs: Once release 6.02.00 is released, the source code will certainly be available on GitHub. You can then make modifications there.

Cheers.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3616
Posted: 02:24pm 22 Jan 2026
Copy link to clipboard 
Print this post

  matherp said  As to your hope that AI can't write MMbasic....
Sorry that ship has sailed. I now use Claude Opus to write all my test programs which, other than it insisting on putting LOCAL statements inside loops, it now does pretty much perfectly every time.


"putting LOCAL statements inside loops" -- Gemini and ChatGPT do that too, no matter how many times I tell them not to. It is my chief annoyance with AI-produced MMBasic code.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
     Page 14 of 14    
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