Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:56 02 Aug 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 : MMEdit update V3.6.3

     Page 1 of 2    
Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 09:56pm 25 Aug 2015
Copy link to clipboard 
Print this post

Sorry about the rapid update but there are a few significant changes.

The Liberty Basic runtime has been upgraded to V4.5. This has got rid of an annoying bug in the VT100 terminal. Hopefully, no more crash when it gets overloaded. Teraterm is still the best choice for serious VT100 work.

I fixed a bug in the ASCII terminal. if it received a !, it mistook the character as the start of a command, causing a crash.

The Scintilla dll which does all the editor goodies has been upgraded.

In Preferences, there is a new option to choose how 'Formatting' handles lines which are comments only.

I have improved the way the MMEdit identifies (and controls) the Micromite Plus. There will be more changes as the micromite beta firmware evolves.

Because of the changes to support files, you will need to download the full program this time.
Also due to the changes to the support files, some users might have issues.

http://www.c-com.com.au/MMedit.htm

Please report any problems. I want to know that the new runtime file is OK before I make any irreversible changes to the code.

Jim

VK7JH
MMedit
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 05:30am 26 Aug 2015
Copy link to clipboard 
Print this post

I wouldn't say that this is a BUG, but more like Unexpected Behavior:

If I click out of the program in another window and then move my mouse over to some code in the program and click the left mouse button, drag to select some text, and release the mouse button, the text appears highlighted but since the window isn't selected hitting delete doesn't do anything. Allowing highlight of text in a window should also select this window as most other programs do.

I have to click into the program and then click to highlight.
Micromites and Maximites! - Beginning Maximite
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 06:07am 26 Aug 2015
Copy link to clipboard 
Print this post

I tried MMedit for the first time... In overall, it is great. Just a few comments/ideas/suggestions to Jim with best intention from me:
1. It would be good to have matched pair (brackets, quotes, etc...) highlighting like some other editors.
2. The GUI looks (at least to me) a bit outdated from the Win3.11 days. It would be good to have flat monochromatic 'buttons' instead.
3. The 'MM chat' window I think is the weakest part. I have never been a fan of the separate input line, and also could not figure out why MM chat needs to be a separate window at all. Maybe I am missing a detail here.
4. It would be good to have the option to select my own font and size in the editor.

Hope this feedback helps.

http://rittle.org

--------------
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 11:24am 26 Aug 2015
Copy link to clipboard 
Print this post

  CircuitGizmos said   I wouldn't say that this is a BUG, but more like Unexpected Behavior:

I have to click into the program and then click to highlight.


It's a very annoying 'feature'

The editor is a 'scintilla' control which sits in a container which I create.
When the mouse first enters the editor window, it is detected by my program as entering the container. It takes the second click to register that it is actually in the editor area.

Basically, there is not much I can do about it.

JIm
VK7JH
MMedit
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 11:32am 26 Aug 2015
Copy link to clipboard 
Print this post

  kiiid said   I tried MMedit for the first time... In overall, it is great. Just a few comments/ideas/suggestions to Jim with best intention from me:
1. It would be good to have matched pair (brackets, quotes, etc...) highlighting like some other editors.
2. The GUI looks (at least to me) a bit outdated from the Win3.11 days. It would be good to have flat monochromatic 'buttons' instead.
3. The 'MM chat' window I think is the weakest part. I have never been a fan of the separate input line, and also could not figure out why MM chat needs to be a separate window at all. Maybe I am missing a detail here.
4. It would be good to have the option to select my own font and size in the editor.

Hope this feedback helps.


1. I have considered bracket matching. It might have to wait until I change programming languages. The current one is a bit too slow and I don't want to slow the response don't any more.

2. What's wrong with W3.11? One of my long term clients is in the process of phasing out his WFWG3.11 network. The buttons are the style that the language uses. I could create the buttons manually but the extra time is better spent in other areas.

3. I have consistently advised that Teraterm is the preferred terminal program.

4. Try the Font menu for changing font size in the editor.

Jim
VK7JH
MMedit
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 01:44pm 26 Aug 2015
Copy link to clipboard 
Print this post

Jim, some feedback, Won't install on my XP machine (unfortunate as its my main programming rig) but its OK on Win 10 laptop. Have to stay with 3.62 on the XP.

Mike
Codenquilts
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 02:00pm 26 Aug 2015
Copy link to clipboard 
Print this post

  MikeO said   Jim, some feedback, Won't install on my XP machine (unfortunate as its my main programming rig) but its OK on Win 10 laptop. Have to stay with 3.62 on the XP.

Mike


Won't install or won't run?
If it's won't install, could you try the portable version.

I didn't make any changes to the installer so I expect that the answer is "won't run"

The author on Liberty Basic (which MMEdit is written in) reported a few isolated problems with memory allocation. I can revert to the old compiler but that will cause the problems with the VT100 terminal to re-appear.

I might have to offer two versions.

The only XP PC I have to test on is an old netbook with 1GB ram. I would have thought that if it works there, most other PC's would be OK!

Jim
Edited by TassyJim 2015-08-28
VK7JH
MMedit
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 02:10pm 26 Aug 2015
Copy link to clipboard 
Print this post

Yes sorry wasn't clear, it won't run, just makes a Windows "Critical Stop" sound and nothing. Tried a totally clean install etc but no different.
Probably doesn't matter its fine at the moment at 3.62. Thanks for all your efforts would not be happy really using just the editor!

Mike
Codenquilts
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 03:59pm 26 Aug 2015
Copy link to clipboard 
Print this post

Mike,
If it fails for you, there is a good chance that it will fail for others.
I will put together a version that uses the old runtime but the new scintilla dll.
That will help narrow down the culprit.

Can you tell me what processor you are running and how much ram?
And is your XP 32 bit or 64 bit?

Jim
Edited by TassyJim 2015-08-28
VK7JH
MMedit
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 04:26pm 26 Aug 2015
Copy link to clipboard 
Print this post

Mike (and any others having problems with the latest version of MMEdit),
please try this version.

I have wound the runtime back to the previous version.
This means that the problem with the VT100 terminal is back but the problem with the ACSII mode is still fixed. The other changes are not affected by this rollback.

http://www.c-com.com.au/stuff/MMedit_setup363a.exe

If you do need to revert to this version please let me know what you are running on _ windows version, ram, CPU and 32/64 bit.

Jim


VK7JH
MMedit
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 05:07pm 26 Aug 2015
Copy link to clipboard 
Print this post

Perfect Jim, 363a works fine.
I have Win XP 32bit SP3 Core2 Duo @ 2.2Ghz,2Gb ram

Thanks for the prompt remedy. Mike
Codenquilts
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 05:18pm 26 Aug 2015
Copy link to clipboard 
Print this post

Thanks for doing the test Mike.
I will pass you specs onto the author of Liberty Basic. I know he is working on a solution and the more details he gets, the easier it is to fix.

It might also encourage me to do some more work on the replacement language.
If only Geoff would stop coming up with exciting new toys all the time...

Jim

VK7JH
MMedit
 
paceman
Guru

Joined: 07/10/2011
Location: Australia
Posts: 1329
Posted: 08:18pm 26 Aug 2015
Copy link to clipboard 
Print this post

@ Jim/Mike,

I just downloaded the 3.6.3 version of the full install given in the opening post and installed it. It worked and ran fine on my old NEC Versa M540 XP system - Win XP (Home) SP2 32 bit, 1.6GHz 1Gb RAM. The down load was done at 4:00 p.m. so not sure if you might have replaced it already with 3.6.3a or not Jim.
Note this old XP is SP2, not SP3.

Greg
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:46pm 26 Aug 2015
Copy link to clipboard 
Print this post

Thanks Greg,
You will have the correct version.
The 'a' version is only from the direct link.
It appears that the problem occurs when you have more ram, not less.

Jim

VK7JH
MMedit
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 06:57am 30 Aug 2015
Copy link to clipboard 
Print this post

363a works fine on Windows 10, I5-4300U @1.9Ghz, 4GB RAM.(Surface pro 3)


Microblocks. Build with logic.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 11:35am 30 Aug 2015
Copy link to clipboard 
Print this post

The 363a version is only needed for a few XP users. Vista and later seems to be all OK with the correct version 3.6.3.
3.6.3a misses out on one of the fixes for the VT100 terminal - a memory overflow issue.

The problem I have is in determining who has to miss out on the fix.

I could make a single install which puts all XP users in the same group.

I still hope that the author of Liberty Basic comes up with a fix in the very near future.

Jim
VK7JH
MMedit
 
factus10
Regular Member

Joined: 30/12/2014
Location: United States
Posts: 45
Posted: 02:28pm 01 Sep 2015
Copy link to clipboard 
Print this post

Jim,

This is a complete aside: what other language(s) are you considering?

Thanks!
David
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 04:34pm 01 Sep 2015
Copy link to clipboard 
Print this post

  factus10 said   Jim,

This is a complete aside: what other language(s) are you considering?

Thanks!
David


A while ago I started using PureBasic.
It has the advantage of being a true compiler instead of interpreted like Liberty Basic. I 'should' also be able to produce a Linux version of MMEdit.

I was distracted with a few unrelated issues and then the Micromite appeared. The Micromite and then the Micromite Plus required a re-think of the overall program structure so I am glad they appeared before I went too far down the PureBasic track.

I am now ready to progress with the PureBasic version of MMEdit.

Jim

VK7JH
MMedit
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 07:37pm 06 Sep 2015
Copy link to clipboard 
Print this post

3.6.3 Also works fine on Windows 10.

One thing that does not work, and i have tried it with a few USB-Serial converters is the pulsing of the DTR or RTS lines.
I was planning to use the DTR as a reset for the uMite.
Should this already work and am i doing something wrong?

Teraterm sets DTR low when a connection is made.
MMEdit leaves DTR High. Which would be preferable if it is to be used as a reset.

So it seems the USB-Serial converter does support it.






Microblocks. Build with logic.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:37pm 06 Sep 2015
Copy link to clipboard 
Print this post

Make sure that you have set "Enable handshake lines" in the Advanced menu.
You need that set for the pulses to work.

Not all USB-TTL converters work but most I tried are OK.

Jim

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