Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 16:14 04 May 2024 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.6

Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5913
Posted: 07:38pm 04 Apr 2016
Copy link to clipboard 
Print this post

This is mainly a catchup as I recover from the computer crash 2 months ago.
I don't think there are any half done changes that I have forgotten about.

Changes include
Syntax files for Micromite Mk2 and Micromite Plus V5.1
Formatting and Variable report now recognise DEFINEFONT and CSUB
You can now associate BAS files with MMEdit via Preferences/Advanced without the silly batch file method previously used.

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

If there are any keywords missing from the syntax files, or any other problems, pleas let me know.


If you have problems starting MMEdit with a memory allocation error, reinstall and select the 'memory bug fix' option. (Used to be called 'XP fix' but it shows up with W7 as well.)
I hope the Liberty Basic author fixes the problem properly soon but it is rather elusive.

Jim
VK7JH
MMedit   MMBasic Help
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 844
Posted: 10:28pm 04 Apr 2016
Copy link to clipboard 
Print this post

Hi Jim,
Just discovered the Variable Report. Very handy for cleaning up unused variables.

Just a minor observation, it does catch the standard colours used for example in RGB(green) as variables. Maybe the standard colours within RGB() could be excluded from the variable count in a future version.

If you write nice code like Geoff and define your various colour classes then it would show green as only been used once, which in this case is OK.

' colours used in menus
Const cTitle = RGB(green) ' title colour

Thanks for the update.

Regards
Gerry
Edited by disco4now 2016-04-06
Latest F4 Latest H7
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1676
Posted: 11:19pm 04 Apr 2016
Copy link to clipboard 
Print this post

Is this suitable for V5.1?
 
circuit
Senior Member

Joined: 10/01/2016
Location: United Kingdom
Posts: 231
Posted: 09:56am 05 Apr 2016
Copy link to clipboard 
Print this post

I cannot seem to install on any of my computers. I am running Windows 7 64bit and after I install MMEdit and try to run it I get a message window as follows;

"Smalltalk/V
A non-continuable protection violation has occurred. Check ERROR.LOG file."

The ERROR.LOG file just reports the same message together with:
The registers were:
EIP = 0x01e0020d
ESP = 0x0018fea8
EBP = 0x00000000
EAX = 0x08814444
EBX = 0xffffe001
ECX = 0x00000100
EDX = 0x0008e3c8
EDI = 0x00000001
ESI = 0x08814444
CS = 0x00000023
DS = 0x0000002b
ES = 0x0000002b
SS = 0x0000002b
End Registers

I have tried installing with the "memory bug option" selected but this makes no difference. What can I do?
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1676
Posted: 10:15am 05 Apr 2016
Copy link to clipboard 
Print this post

Circuit: It works fine here, using Windows 10 X64
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5913
Posted: 12:29pm 05 Apr 2016
Copy link to clipboard 
Print this post

@disco4now
I had considered calling the colours keywords but forgot to do it this time.
In the next update.

@lew247
"Changes include
Syntax files for Micromite Mk2 and Micromite Plus V5.1 "

@circuit
I haven't had this one for a while.
A non-continuable protection violation is Windows' way of protecting us from rouge software and to make life difficult for program developers.
Visa made the setting too tight but they relaxed things a bit for Windows7.
My W7 had the default setting and all is well but some PC suppliers had things set tight.
You can either change your settings or install MMedit into a folder that is NOT in 'Program Files'
Please check you DEP settings and if is not set to essential Windows programs only, that is the problem. If you want to leave it set for all programs you can add MMedit as an exception or go the other folder method.

The easiest way to find DEP is to search Windows Help for DEP.

DEP stands for Data Execution Prevention.

I did add a "manifest" which is supposed to stop this from happening but as you have seen, Windows wins the battle some times.


Jim
VK7JH
MMedit   MMBasic Help
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1664
Posted: 10:58am 08 Apr 2016
Copy link to clipboard 
Print this post

Hi Jim,

Is what I've tried to explain in this thread worthy of considering in a future update.

I get that you Clock button passes the PC's time to Time$= & Date$=,
would it be worth while having a button or option that sends the PC's time to RTC SETTIME.

Alternatively, can I set a macro button up to do that?

Cheers

Phil.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5913
Posted: 12:12pm 08 Apr 2016
Copy link to clipboard 
Print this post

  Phil23 said  
Alternatively, can I set a macro button up to do that?


I can't do any testing for now, but yes, a macro should be OK.
You would have to set the 'mite clock first.
And that assumes that your PC clock is somewhere near correct.

Considering that setting the RTC would be a rare thing to do, I am not keen on dedicating a button to the task.

Jim
VK7JH
MMedit   MMBasic Help
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 10:39pm 11 Apr 2016
Copy link to clipboard 
Print this post

Jim

In the next release please could you consider a "SET CLOCK" item on the advanced menu. This would just set the clock without requiring the code to be re-loaded

Thanks

Peter
 
drkl

Senior Member

Joined: 18/10/2015
Location: Hungary
Posts: 102
Posted: 11:15pm 11 Apr 2016
Copy link to clipboard 
Print this post

Hello Jim,

In the next release would be better to place the "Run and Load" icon at the beginning
of the menu strip. Using vertically divided screen it disappears, must be back to the original size full screen.

(Or all menustrip icon can be removable )

drkl

 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5913
Posted: 11:52am 12 Apr 2016
Copy link to clipboard 
Print this post

I will put them both in the Advanced menu.

Jim
VK7JH
MMedit   MMBasic Help
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 844
Posted: 01:32pm 14 Apr 2016
Copy link to clipboard 
Print this post

Hi Jim,

I am not sure if MMEDIT can do it already, but is it possible to #include files when you Load and Run, without them being added to the current source, but just added to the load.

e.g.

#Include=font4.bas
#Include=font5.bas
#Include=cfunction1.bas

This would be useful if you are fiddling with a font or a Cfunction and doing it by trail and error. i.e many iterations.

My understanding is the current #include will include the current file into the source and then does not do it thereafter.

Regards
Gerry
Edited by disco4now 2016-04-15
Latest F4 Latest H7
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1664
Posted: 11:16am 01 May 2016
Copy link to clipboard 
Print this post

Just a minor thought.

A slight change to the icons that appear on the taskbar.

I'm currently using MMedit2 as a secondary editor to view multiple other files while what I'm working on is oopen in MMedit1.

The task bar, which I never group can be confusing once MMedit, MMchat & MMedit2 are all open.




Had a little play with the icon & changed it on my desktop, but that's not reflected on the taskbar.




Cheers

Phil


Minor though I know, but might be worthwhile if not overly time consuming.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5913
Posted: 05:31pm 01 May 2016
Copy link to clipboard 
Print this post

Phil,
I assume that you changed the Icon by Right click/Properties/Change Icon.

I think this only changes the desktop Icon.
If you want to change it everywhere, you need to use a Resource Editor and change it in the executable.

I use "Resource Hacker" but there are many programs out there to do the job.

Jim
VK7JH
MMedit   MMBasic Help
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024