Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:24 10 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 : CMM2 V6.00.00 betas

     Page 4 of 4    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11032
Posted: 12:00pm 24 Nov 2025
Copy link to clipboard 
Print this post

Gerry
I've just put a fix into the PicoMite that turns off OPTION ESCAPE while it reads in the regex and then restores it.

  Quote   int tmp = OptionEscape;
OptionEscape = 0;
strcpy(p, (char *)getCstring(argv[2 + n]));
OptionEscape = tmp;


both for instr and linstr
Edited 2025-11-24 22:01 by matherp
 
mclout999

Guru

Joined: 05/07/2020
Location: United States
Posts: 502
Posted: 05:11pm 12 Feb 2026
Copy link to clipboard 
Print this post

Will we see the new PICOMITE Ray tracing subsystem in the 6.0 version for CMM2?  That would be an amazing addition. I'm very impressed with that. It Just popped up out of nowhere as far as I can see. That guy is amazing.
Edited 2026-02-13 03:13 by mclout999
They call me Shai-Hulud (The maker)
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1770
Posted: 06:30pm 13 Feb 2026
Copy link to clipboard 
Print this post

Just installed b11 and keyboards that didn't work before are now working.

However, in every version I have tested, I get "Unknown command" when I try using VAR SAVE. Is there some trick that I'm unaware of?
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1108
Posted: 02:00am 14 Feb 2026
Copy link to clipboard 
Print this post

VAR was left out during conversion to 16bit commands.
It will be restored in Beta12.

The next task is implementing Structures, after that I will ask Peter's advice on which of the recent Picomite enhancements might benefit the CMM2. e.g RAY casting.
F4 H7FotSF4xGT
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1770
Posted: 08:13am 14 Feb 2026
Copy link to clipboard 
Print this post

  disco4now said  VAR was left out during conversion to 16bit commands.
It will be restored in Beta12.

The next task is implementing Structures, after that I will ask Peter's advice on which of the recent Picomite enhancements might benefit the CMM2. e.g RAY casting.


Many, many thanks, Gerry  

This is such a freaking awesome development. I remember when you first mentioned CAN but I don't recall CAN FD    

Soooo many possibilities with this thing  
 
PeteCotton

Guru

Joined: 13/08/2020
Location: Canada
Posts: 613
Posted: 08:15pm 14 Feb 2026
Copy link to clipboard 
Print this post

  disco4now said  The next task is implementing Structures, after that I will ask Peter's advice on which of the recent Picomite enhancements might benefit the CMM2. e.g RAY casting.


Thank you! I am eagerly looking forward to the Structures!
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1770
Posted: 10:45am 15 Feb 2026
Copy link to clipboard 
Print this post

One thing we don't have on the CMM2 is touchscreen support. I'm already looking at the RP2040 bridge solution, using the Arduino tiny-USB code to interface the USB touchscreens to UART.

Reading about this code, there are two modes; mouse and digitiser. Mouse produces relative X and Y values of +/- 127 whereas the digitiser (touchscreen) produces absolute 0 to 4096. 12-bits but there is also mention of possible 16-bits.

I wonder if the CMM2 mouse handler is similar to this(?)

I don't mind going the bridge route but it means losing a precious UART.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5754
Posted: 11:28am 15 Feb 2026
Copy link to clipboard 
Print this post

Can CMM2 use SW UART.?

Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8650
Posted: 11:29am 15 Feb 2026
Copy link to clipboard 
Print this post

You only get touch screen support in MMBasic with LCD displays anyway. There are no drivers of any sort for them with other displays.

I think you'll have to decide on the touch layer then consider the hardware and firmware. The touch screens themselves have their own resolutions which don't necessarily match the display resolutions. Then you need to figure out the driver chip for resistive or capacitive type - they need different hardware handling.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1770
Posted: 11:51am 15 Feb 2026
Copy link to clipboard 
Print this post

The problem with SW UART is no RX buffer

Mapping is no problem. My DOS system is mostly EGA 640 X 350 but for some pages, flips to VGA 640 X 480. The MicroTouch sensor has a resolution of 1024.



Readtouch(xcoord,ycoord,touch)

If touch then
.
.
.
End If



PC monitors with capacitive touch are dirt cheap.

The touch technology is irrelevant because the USB just spits-out the data.
Edited 2026-02-15 21:54 by PhenixRising
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8650
Posted: 01:04pm 15 Feb 2026
Copy link to clipboard 
Print this post

If you have something in between as a controller then it can issue an interrupt on touch then the main processor can go and handle it. No need for a RX buffer so you can use I2C or SPI or SW UART.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1770
Posted: 01:51pm 15 Feb 2026
Copy link to clipboard 
Print this post

Hi Mick,

Yeah, I've been thinking about "something in between" but more along the lines of the Teensy 4.1 as it is now supported by SmallBasic. Its eight UARTS are exciting for me because UART shortage gives me anxiety   especially now that Gerry has incorporated CAN (and CAN FD) on the CMM2. The Teensy 4.1 also has an SD card which gives me the option of backing-up the CMM2's SD.

And then if SmallBasic gets around to supporting Ethernet.....

Could be the ideal in-between solution  
 
     Page 4 of 4    
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