Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:53 23 Nov 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 : MM Edit

Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6094
Posted: 03:13am 20 Aug 2011
Copy link to clipboard 
Print this post

Programming with line numbers is OK on the Maximite but if you are writing your applications on a PC, doing so without the numbers is much better.
That's why I wrote MM Edit.
You can convert between numbers and no-numbers as much as you like and then send the program to your Maximite without having to start up a terminal program.

This is a first release of MM Edit so there are sure to be problems. There are so many ways of formatting lines of code that I expect to hear about unreadable code.

Please give it a try: www.c-com.com.au/MMedit.htm

Comments both good and not so good are welcome.

When I am sure that the main translations are working, I will add a few refinements such as INCLUDE directives.


Jim
VK7JH
MMedit   MMBasic Help
 
crackerjack

Senior Member

Joined: 11/07/2011
Location: Australia
Posts: 164
Posted: 04:17am 20 Aug 2011
Copy link to clipboard 
Print this post

Hi Jim - nice one - a week or so back I posted a script to transform line-less MMBasic (with includes and labels, etc.) to do much the same as your app. does albeit without the editor and built-in transfer mechanism. I await my Maximite with anticipation (Altronics have advised me it has been posted) so that I can start getting stuck in...

Cheers, Lance.
 
Keith @

Senior Member

Joined: 19/06/2011
Location: Australia
Posts: 167
Posted: 09:57am 20 Aug 2011
Copy link to clipboard 
Print this post

Hi Jim

just tried the MMedit and tried to be nasty by starting it up and going straight to 'Connect to Maximite' without a MM connected and got ...

1st window



OK ed then got 2nd window



Yeah I know I shouldn't be using it like that but I had to see what would happen.

Next I'll trying using it properly ... I like the idea though .. let you know how it goes.

Keith


The more we know, the more we know we don't know !
 
Keith @

Senior Member

Joined: 19/06/2011
Location: Australia
Posts: 167
Posted: 10:22am 20 Aug 2011
Copy link to clipboard 
Print this post

Hi Jim

Have connected my MaxiMite using USB and followed your instructions and still get the same messages as above.

Over to you!

Keith
The more we know, the more we know we don't know !
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6094
Posted: 11:24pm 20 Aug 2011
Copy link to clipboard 
Print this post

Firstly, I am very sorry (and embarrassed) for the errors in the MMedit install.

The program was looking for a configuration setting file that wasn’t there!

The updated program now should behave correctly if the setting file is not found.

To fix the mess I have made:

Make sure that MMedit is not still running in the background either by looking for MMedit.exe with Task Manager and stopping the process or rebooting windows.

Download and install the new version.

You don’t have to uninstall the old version first but if you do go that way, make sure MMedit is not still running first.


Once again, my sincerest apologies for the stuff-up.

I usually get a friend or two to test the installation on a clean PC, but as none of them have a Maximite, I skipped that important step in debugging the install package.
Because I was doing upgrades on my own PC, the missing file was already there.

Please give it another chance.

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

Jim



VK7JH
MMedit   MMBasic Help
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 12:20am 21 Aug 2011
Copy link to clipboard 
Print this post

I just had a quick go and it appears to work as described. I'll have more of a look later, but I think it will be a handy program.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6094
Posted: 12:44am 21 Aug 2011
Copy link to clipboard 
Print this post

  Gizmo said   I just had a quick go and it appears to work as described.

Glenn

That's what I wanted to hear.

Jim.



VK7JH
MMedit   MMBasic Help
 
Keith @

Senior Member

Joined: 19/06/2011
Location: Australia
Posts: 167
Posted: 02:08am 21 Aug 2011
Copy link to clipboard 
Print this post

Jim

I'm having trouble working with the Load, Run & List buttons.

If I put in a file eg twinkle.bas or "twinkle.bas" in the input box it doesn't send this to the MM.

If I use the CLS button after running the above program by typing RUN "twinkle.bas" and clicking on the SEND button it doesn't send a CLS to the MM. (i.e. the SEND works ok but the CLS doesn't).

Keith
The more we know, the more we know we don't know !
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 04:10am 21 Aug 2011
Copy link to clipboard 
Print this post

  TassyJim said  

Comments both good and not so good are welcome.

When I am sure that the main translations are working, I will add a few refinements such as INCLUDE directives.


Jim



Hi TJ,

Good little prog... Minor point I have found is in the config screen the text font is too large for the available box size. I was experimenting with font sizes before I got to this screen but no matter what font I select the text is too big in config screen.

Another point is text in REMark areas does not get changed for example.

' gosub 1000 to initialise display

will always stay as 1000 and need to be manually altered.

Otherwise quite good.. I wish I had my maxi with me at work to play with it..

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6094
Posted: 05:00am 21 Aug 2011
Copy link to clipboard 
Print this post

Keith,

RUN only sends RUN to the Maximite. In the to-do list is the option to do a 'FILES' then highlight the file you want to run then send the full command back to the Maximite.

CLS only works on the PC, not on the Maximite (as mentioned in the help file).
Since I haven't plugged in a screen to my Maximite yet, that's all I needed.
Also in the to-do list is the ability to create macros and most of the sequences you use regularly can be catered for.

Mick,

I deliberately left rem statements alone. I am considering adding a REM with the old label whenever a label gets changed to a number.

Re the Fonts. The Font menu only acts on the main text window. The config windows is set to 10 point no matter what you do in the main window. If you have your Windows screen set to large (125%), that would cause your problem. I could make the font smaller and have the size for the menus etc another configuration option.

The sun is finally shining today so its back to the garden...

Jim

VK7JH
MMedit   MMBasic Help
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 05:37am 21 Aug 2011
Copy link to clipboard 
Print this post

  TassyJim said  

Mick,

I deliberately left rem statements alone. I am considering adding a REM with the old label whenever a label gets changed to a number.


The config windows is set to 10 point no matter what you do in the main window. If you have your Windows screen set to large (125%), that would cause your problem. I could make the font smaller and have the size for the menus etc another configuration option.




Hi Jim,

No worries, as to window size... My PC is 1920x1200 res so that would prob be the case then.

CU

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Keith @

Senior Member

Joined: 19/06/2011
Location: Australia
Posts: 167
Posted: 05:48am 21 Aug 2011
Copy link to clipboard 
Print this post

Many thanks Jim

I've had the light bulb moment!

I'm surprised you haven't used a screen on the MM.

How do you see the output from the program you are running?

With the test program I'm using it throws up a random pattern of dots that look like stars on the LCD monitor.

Only one suggestion could you add version numbers.

Good program ... certainly appreciated.

Keith


The more we know, the more we know we don't know !
 
Ray B
Senior Member

Joined: 16/02/2007
Location: Australia
Posts: 219
Posted: 11:20am 21 Aug 2011
Copy link to clipboard 
Print this post

Love it... especially as your using Liberty Basic which I'm a fan.
I'm starting to think of some more uses you could use the hotkey buttons for. Bit soon to hope for an inbuilt macro language I suppose ala TeraTerm.
Will you be releasing the LB code?
RayB from Perth WA
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6094
Posted: 05:40am 27 Aug 2011
Copy link to clipboard 
Print this post

I have fixed a bug in MM Edit.
It was dropping of the last character on the line sometimes.
The main culprit was ";" which sure messed up my printouts.

Other changes:
Text should still be readable when using large fonts settings on Windows.
File menu updated. New and Save AS added.
The current file name is displayed in the title bar.

The operation of the buttons in the Chat window has been expanded.
Now you can List the files on the SC card, highlight one, and click on RUN or LOAD.
No more wearing the fingers out or worrying about putting the name in quotes.

You can install the update without uninstalling the earlier version.

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


Jim
VK7JH
MMedit   MMBasic Help
 
Print this page


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

© JAQ Software 2024