Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:30 06 Jul 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 : GFXterm for Windows32, test version

     Page 1 of 2    
Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 02:52pm 03 Oct 2021
Copy link to clipboard 
Print this post

GFXtermW32 (2021-10-04).zip

assuming i've packaged things up right, the above is a compile of GFXterm for win32, built using Lazarus/FPC. this should run on all versions of windows from XP upwards. it is compiled from (ie, shares) the linux source code, with conditional sections in the few places where win32 specific stuff is required.

source as of 4-october-2021 is included, than can build all versions (win32, linux32/64, RPi)

main additions over the old win32 version from 2019 are:
- XModem support, press f11 (load) or f12 (save) from the mmbasic command prompt to use;
- the colour palette can be edited;
- serial comms are now threaded, so serial communications should be smoother and more robust.

the down side:
- as Lazarus is cross-platform, the graphics side of things is far less efficient than it was with the 2019 version built using Delphi 5. for most folks, they won't notice anything much different, but under heavy/extreme screen load it does suck up many more computrons;
- there are (currently) no compiled-in fonts. it is up to the user to select only a monospaced font, preferably with CP437 support. this is much as is the case with Teraterm et al. upon request i can add back in the internal fonts;
- out of necessity, some things are disabled (no network support, Rx data as plain text to console, VT and GFX codes decoded to console). will hopefully sort this out later on;
- it is quite likely that an unplugged USB cable will have a bad effect. i've only done testing with an XP virtual machine, and will need to rely upon others reporting any misbehavior.


the is also a bug fix included, not in the latest linux/RPi versions, in that i found a problem with pasting into the micromite's editor for older versions of MMbasic dating from 2018 and earlier. if this has caused anyone issues, report and i'll post a new compile for linux.


PLEASE, do test using windows, and report back to this thread any issues or peculiar behavior. or, indeed, any successes!


cheers,
rob   :-)

addendum: oops, managed to upload a version that was hardcoded to 38400 baud. have fixed the error, and replaced zip file with one that supports a normal range of baud rates.
Edited 2021-10-04 01:27 by robert.rozee
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 08:48pm 03 Oct 2021
Copy link to clipboard 
Print this post

Works fine for me so far.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 09:36pm 03 Oct 2021
Copy link to clipboard 
Print this post

I downloaded on my laptop, no problems but on the box in my workshop running maybe a later version of Win10, it won't download because it has a virus.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7833
Posted: 09:41pm 03 Oct 2021
Copy link to clipboard 
Print this post

That might be a false positive caused by a short piece of the code being wrongly recognised. If the two machines are using different virus checkers then that would explain it.
Mick

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

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 09:43pm 03 Oct 2021
Copy link to clipboard 
Print this post

a false positive i'm afraid. the .exe file is compressed with UPX, which anti-virus software absolutely hates. i vaguely remember there was a workaround, but can't remember the details. can anyone else comment on the solution?


cheers,
rob   :-)
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 09:47pm 03 Oct 2021
Copy link to clipboard 
Print this post

I came back to the laptop to transfer the file to a USB stick and then to my workshop box, but it has now been removed fom the laptop
Virus. Win32/Sabsik.TE.A!ml
Tried downloading with WIN7, same result.
Is anyone else having problems
Edited 2021-10-04 08:51 by palcal
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 426
Posted: 10:55pm 03 Oct 2021
Copy link to clipboard 
Print this post

  robert.rozee said  GFXtermW32 (2021-10-04).zip

assuming i've packaged things up right, the above is a compile of GFXterm for win32, built using Lazarus/FPC. this should run on all versions of windows from XP upwards. it is compiled from (ie, shares) the linux source code, with conditional sections in the few places where win32 specific stuff is required.



I have a Colour Maximite 2 on COM24 @ 115200 baud. When I choose that in the menu, I get

Serial device symlink missing: COM24

I use that COM port all the time with TeraTerm and PuTTY with no problem on Win 11.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 11:28pm 03 Oct 2021
Copy link to clipboard 
Print this post

No problems with the bog-standard Windows10 anti-virus

I hate the lazy useless antivirus vendors who take the easy way out just to make their stats look good.

TCPIP would be helpful

Jim
VK7JH
MMedit
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 11:31pm 03 Oct 2021
Copy link to clipboard 
Print this post

I don't have any antivirus just windows defender, I could turn off "Virus and threat protection' if there is obviously no virus.
Funny that 3 different machines with only Defender all say there is a virus.
I have also deleted the download and re downloaded twice to no avail.
Edited 2021-10-04 09:33 by palcal
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2593
Posted: 11:44pm 03 Oct 2021
Copy link to clipboard 
Print this post

My Win10 Home Ed. (Defender only) has no problem with it. Connected to F4 and working fine. Thank you Robert.
Phil
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 11:50pm 03 Oct 2021
Copy link to clipboard 
Print this post

My Windows Defender was and still is happy with the ZIP and extracting it.
Perhaps Microsoft have received enough samples for them to take it off the naughty list now.

What browser are you using?

Jim
VK7JH
MMedit
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 11:54pm 03 Oct 2021
Copy link to clipboard 
Print this post

Using Chrome, I ran Windows Update and updated not that that should make a difference but I downloaded again and whilst I did get a warning I clicked 'Run Anyway' and all is OK. I will now try on the laptop.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 12:20am 04 Oct 2021
Copy link to clipboard 
Print this post

No go on the laptop...



"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1000
Posted: 12:32am 04 Oct 2021
Copy link to clipboard 
Print this post

  toml_12953 said  
I have a Colour Maximite 2 on COM24 @ 115200 baud. When I choose that in the menu, I get

Serial device symlink missing: COM24

I use that COM port all the time with TeraTerm and PuTTY with no problem on Win 11.


I get same error trying to connect to Picomite on com12 which is working ok for TeraTerm etc.

Connects to Armmite F4 on COM 3 no problem.
Gerry
Latest F4 Latest H7 FotS
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 01:17am 04 Oct 2021
Copy link to clipboard 
Print this post

oops, my bad - i accidentally left in the (linux) code that checks for the linux symlink. it just happens (by chance) that this doesn't trip up for low numbered windows comm ports.

the below is also not compressed with UPX, hence .exe size is approx 2.7mb. hopefully this may keep the AV software out there happy.

GFXtermW32 (2021-10-04 A).zip

i'm curious about what happens when the USB cable is unplugged while GFXterm is connected. with the 2019 version there was some very windows-specific code to handle detecting this situation, but in part (memory is foggy) that may have been required by the lack of threading.


cheers,
rob   :-)
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 426
Posted: 01:24am 04 Oct 2021
Copy link to clipboard 
Print this post

  robert.rozee said  oops, my bad - i accidentally left in the (linux) code that checks for the linux symlink. it just happens (by chance) that this doesn't trip up for low numbered windows comm ports.

the below is also not compressed with UPX, hence .exe size is approx 2.7mb. hopefully this may keep the AV software out there happy.

GFXtermW32 (2021-10-04 A).zip

i'm curious about what happens when the USB cable is unplugged while GFXterm is connected. with the 2019 version there was some very windows-specific code to handle detecting this situation, but in part (memory is foggy) that may have been required by the lack of threading.


cheers,
rob   :-)


Much better, thanks! When I disconnect the USB by turning off the CMM2, I get this:

An unknown error (101) has occured
data: 5,0,0,0
Edited 2021-10-04 11:26 by toml_12953
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1000
Posted: 01:32am 04 Oct 2021
Copy link to clipboard 
Print this post

It now connects on COM12 but its like the keyboard is disabled. You cant send any keys.
COM3 is OK.
Edited 2021-10-04 11:33 by disco4now
Latest F4 Latest H7 FotS
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 02:04am 04 Oct 2021
Copy link to clipboard 
Print this post

  disco4now said  It now connects on COM12 but its like the keyboard is disabled. You cant send any keys.
COM3 is OK.


if you look at the top-right of the window you'll see something like this:



the labels "dtr", 'rts", "cts", "dsr" represent the status of the modem control lines: uppercase = asserted, lowercase = cleared. the pico requires that DTR be asserted to function, this is a peculiarity of the USB stack used that peter has no control over.

try pressing alt-1, this asserts DTR.

alt-2 clears DTR. alt-3 and alt-4 control RTS. CTS and DSR are controlled from the attached device (the pico in your case).

in future i'll look at how to make the DTR and RTS states saved options.


cheers,
rob   :-)
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1000
Posted: 03:07am 04 Oct 2021
Copy link to clipboard 
Print this post

OK, ALT-1 does get it going on the Picomite.
I was tricked for a while as it seems to require a reasonable length keypress of ALT-1. Could be my keyboard but a quick ALT-1 or ALT-2 does not seem to register.

Regards
Gerry
Latest F4 Latest H7 FotS
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 426
Posted: 03:24am 04 Oct 2021
Copy link to clipboard 
Print this post

  robert.rozee said  GFXtermW32 (2021-10-04).zip


Alt-1 through Alt-4 don't do anything on my system. Also, will the program be upgraded to respond to VT-100 codes? Right now, it doesn't seem to.
 
     Page 1 of 2    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025