Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:51 14 May 2025 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 : MMBasic for Windows - pre-alphas

     Page 12 of 17    
Author Message
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 572
Posted: 11:49am 11 Feb 2022
Copy link to clipboard 
Print this post

Mode 1-18
Edit
Plasma
 
Michal
Senior Member

Joined: 02/02/2022
Location: Poland
Posts: 125
Posted: 12:07pm 11 Feb 2022
Copy link to clipboard 
Print this post

  Plasmamac said  Mode 1-18
Edit

I meant more about changing the font to a smaller one permanently.

Michal
 
Goksteroo
Senior Member

Joined: 15/03/2021
Location: Australia
Posts: 114
Posted: 12:17pm 11 Feb 2022
Copy link to clipboard 
Print this post

I get this....

 
Goksteroo
Senior Member

Joined: 15/03/2021
Location: Australia
Posts: 114
Posted: 12:21pm 11 Feb 2022
Copy link to clipboard 
Print this post

  Quote  I meant more about changing the font to a smaller one permanently.

From the first post in this thread - mode 18 and font 1 works for me.
  Quote  Use OPTION DEFAULT MODE n to select the graphics mode to use on startup. The modes are as per CMM2 but always ARGB8888
Use the MODE command to switch graphics without rebooting
Use OPTION DEFAULT FONT n [,scale] to select the font to use on startup (same syntax as the font command)

Edited 2022-02-11 22:24 by Goksteroo
 
Michal
Senior Member

Joined: 02/02/2022
Location: Poland
Posts: 125
Posted: 12:35pm 11 Feb 2022
Copy link to clipboard 
Print this post

  Goksteroo said  Use OPTION DEFAULT MODE n to select the graphics mode to use on startup. The modes are as per CMM2 but always ARGB8888
Use the MODE command to switch graphics without rebooting
Use OPTION DEFAULT FONT n [,scale] to select the font to use on startup (same syntax as the font command)

Thanks, it works.
As for COM PORTS error - maybe you don't have any?

Michal
 
Goksteroo
Senior Member

Joined: 15/03/2021
Location: Australia
Posts: 114
Posted: 12:36pm 11 Feb 2022
Copy link to clipboard 
Print this post

further to...
  Goksteroo said  I get this....

Tried again after running NoClue....
>list com ports
Number of com ports : 9370392

Then MM basic crashed.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10075
Posted: 12:45pm 11 Feb 2022
Copy link to clipboard 
Print this post

  Quote  Number of com ports : 9370392

Then MM basic crashed.

Not surprising

The firmware establishes the com ports by reading the registry
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM

What happens if you run regedit and look at this?
 
Goksteroo
Senior Member

Joined: 15/03/2021
Location: Australia
Posts: 114
Posted: 12:56pm 11 Feb 2022
Copy link to clipboard 
Print this post

Hmmm... it is not there... not empty, just not there.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10075
Posted: 01:17pm 11 Feb 2022
Copy link to clipboard 
Print this post

  Quote  Hmmm... it is not there... not empty, just not there.


OK thanks, I'll put some protection in the firmware to deal with this case
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 572
Posted: 02:38pm 11 Feb 2022
Copy link to clipboard 
Print this post

got the same Error on my other PC.

no SERIALCOMM Entry in the Registry .
Plasma
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 435
Posted: 05:00pm 11 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  

The firmware establishes the com ports by reading the registry
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM

What happens if you run regedit and look at this?


to know how many COM-ports are aviable and num of each COM port you can use
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\COM Name Arbiter

with 1 bit per COM,
ex: if you have "07" it mean that you have COM1 - COM2 - COM3 installed
if you have "84" it mean that you have COM3  and COM7
you can change this value
That is use when (if you have Microchip usb/serial chip) you have too many comport declared but not use
Edited 2022-02-12 03:05 by goc30
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10075
Posted: 06:58pm 11 Feb 2022
Copy link to clipboard 
Print this post

  Quote  to know how many COM-ports are aviable and num of each COM port you can use
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\COM Name Arbiter


No: this shows all the comports that have ever been used not which are active. I get
&H64Fd3f200640 but only have three active ports
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6223
Posted: 08:44pm 11 Feb 2022
Copy link to clipboard 
Print this post

com port recognition works for me. W10 64bit.

What OS are the ones that fail running on? Is it 32 bit?

Jim
VK7JH
MMedit
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 572
Posted: 09:14pm 11 Feb 2022
Copy link to clipboard 
Print this post

dunno if you ask me :

1 x win10 pro 64 bit  working
1 x win10 pro 64 bit not working because no com port
Plasma
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6223
Posted: 09:21pm 11 Feb 2022
Copy link to clipboard 
Print this post

Is
SAVE image fname$

supposed to work yet?

I get a file the correct size for 24 bit (3 bytes per pixel) and a 54 byte header but the header is not recognizable as BMP and the data is 3 bytes repeated for the full file. The three bytes vary depending on the MODE.

Jim
VK7JH
MMedit
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6223
Posted: 09:25pm 11 Feb 2022
Copy link to clipboard 
Print this post

  Plasmamac said  
1 x win10 pro 64 bit not working because no com port


No com ports will be easy enough for Peter to cater for, I was under the impression that some were failing with com ports attached.

I may have misunderstood. (not the first time)

Jim
VK7JH
MMedit
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 392
Posted: 10:22pm 11 Feb 2022
Copy link to clipboard 
Print this post

  TassyJim said  com port recognition works for me. W10 64bit.

What OS are the ones that fail running on? Is it 32 bit?

Jim


I'm running on 64-bit Win 11. All 18 com ports (yes!) are listed properly. I use a 16-port USB to RS-232 converter.


 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10075
Posted: 10:35pm 11 Feb 2022
Copy link to clipboard 
Print this post

  Quote  supposed to work yet?


Yes but clearly doesn't. I'll have another go at it tomorrow. Been busy laying a wooden floor this week - exhausted!!!!

  Quote  No com ports will be easy enough for Peter to cater for,


Yes, very easy. I assumed the registry entry would be there even if no com ports but clearly not
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1532
Posted: 10:43pm 11 Feb 2022
Copy link to clipboard 
Print this post

PA15 com port recognition works for me too. W7 64bit.

causality ≠ correlation ≠ coincidence
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6223
Posted: 11:12pm 11 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  

  Quote  No com ports will be easy enough for Peter to cater for,


Yes, very easy. I assumed the registry entry would be there even if no com ports but clearly not

It is there on my system when I remove all com ports and correctly returns no ports for LIST COM PORTS.

I don't have any system that has NEVER had a com port to test.

Jim
VK7JH
MMedit
 
     Page 12 of 17    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025