Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:56 28 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 : MMEdit V 5.1

     Page 2 of 8    
Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 08:08am 23 Apr 2023
Copy link to clipboard 
Print this post

V5.1.2 has been released.
The main difference is the transfer of files from MMEdit to MMCC. The MMCC window now comes to the front and talles focus immediaetly. Much better than having to click in it to get control.

A new feature is syntax help for commands that have a long list of parameters/b commands.
OPTION is the main culprit and MM.INFO has a giddy list of choices also.
start typing the command and afer a couple of characters hit F12. A selection window opens with the list of choices to select. Double click and the selection is pasted into oyur code. The F12 key also works it's magic in MMCC provided you are in the single line comand entry box.
The commnads included in this feature are Bitbang, Framebuffer, GPS, GUI, LOngstring, Math, MM.Info, Memory, OPtion, Peek and Poke, PIO ans Setpin.

Jim
VK7JH
MMedit   MMBasic Help
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1101
Posted: 10:31pm 23 Apr 2023
Copy link to clipboard 
Print this post

Jim,
Is there a write up anywhere of using MMEdit5MMCC with MMB4W? If so, I would like to include it as an Annex in the MMB4W User Manual please.
Regards,
Doug.
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 01:41am 24 Apr 2023
Copy link to clipboard 
Print this post

Setting up MMB4W in MMEdit is the same as any other external program.



From the "Action" menu, select "Edit"
This opens up the preferences window at the correct tab.



Using the spinwheel, select the first empty entry. This will usually be "1" as "0" is used for the DOS version of MMBasic.
Fill out the fields as shown with the path to your copy of MMB4W (The exe is named MMBasic.exe, the same as the DOS version)
Check the "Use Batch" tick box.
If you want this to be the default external program, select "set as default"
Select "Save"
To run your program in MMB4W, use the Action menu or, if it is set as default, the "Run Icon" (third from right) is more convenient.

Jim
VK7JH
MMedit   MMBasic Help
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 03:05am 24 Apr 2023
Copy link to clipboard 
Print this post

Hi Jim,
Unless I've missed it somehow, there doesn't seem to be an explanation of the "Use batch file" option. I remember that with the previous version a batch file was used to associate the BASIC files with. Is that what this is for?

Bill
Keep safe. Live long and prosper.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 05:21am 24 Apr 2023
Copy link to clipboard 
Print this post

  Turbo46 said  Hi Jim,
Unless I've missed it somehow, there doesn't seem to be an explanation of the "Use batch file" option. I remember that with the previous version a batch file was used to associate the BASIC files with. Is that what this is for?

Bill


As usual, I have been slack with the documentation.
There is a batch file called runhere.bat in the program folder.
Depending on the mood of Windows and the program being called, using this instead of calling the external program directly sets the startup folder correctly.

ruhere.bat
rem run external program.
cd %1
%2 %3
rem alternative option
rem start "" %2 %3


All it does is change directories before running.
Supplying the batch file makes taming external programs less prone to throwing things at the computer.

File association works properly without the need for any funny business with V5.

Jim
VK7JH
MMedit   MMBasic Help
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 11:44pm 24 Apr 2023
Copy link to clipboard 
Print this post

Thanks Jim, documentation is always the worst and most boring part of a project.  
Keep safe. Live long and prosper.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 11:48pm 24 Apr 2023
Copy link to clipboard 
Print this post

  Turbo46 said  Thanks Jim, documentation is always the worst and most boring part of a project.  

Especially when your typing is sh...
VK7JH
MMedit   MMBasic Help
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 01:03am 25 Apr 2023
Copy link to clipboard 
Print this post

Hi Jim,
MMEdit is perfect - but in keeping with our shared lack of skills in typing and spelling how hard would it be to add a spell checker?:
- you already have a list of keywords to exempt
- maybe for comments only?

(or I could stop being lazy and save it to text and then spell check that)

Cheers,

Andrew
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 03:13am 25 Apr 2023
Copy link to clipboard 
Print this post

No spellcheck. Sorry.
I would have to have a special one for the US users, not to mention the now numerous other languages used.

I did offer to make the menus etc multi-lingual but there were no takers. Saves me a lot of work.

Jim
VK7JH
MMedit   MMBasic Help
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 05:25am 25 Apr 2023
Copy link to clipboard 
Print this post

Hi Jim,
Thanks - understood.
(MMEdit is still perfect).

Andrew
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9128
Posted: 12:27pm 25 Apr 2023
Copy link to clipboard 
Print this post

Jim

There has just been the umpteenth confused user because they haven't selected the correct syntax for their version of MMbasic. Would it be possible to autoconfigure this using a call to mm.device$?
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 08:38pm 25 Apr 2023
Copy link to clipboard 
Print this post

  matherp said  Jim

There has just been the umpteenth confused user because they haven't selected the correct syntax for their version of MMbasic. Would it be possible to autoconfigure this using a call to mm.device$?

Yes, I think I might have to...

I did do it in earlier versions of MMEdit but changed to user responsibility to make it easier and faster.

I can only do it in MMCC so there will still be confusion when the wrong syntax is selected and it would require users to update MMEdit regularly.

Just stop adding new devices so I can catch up.

Jim
VK7JH
MMedit   MMBasic Help
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 08:58pm 25 Apr 2023
Copy link to clipboard 
Print this post

Apart from the 1977 port to the Cray 1 (which Peter put on the back burner in 1978 due to no shed users having big enough mains supplies - although they all fancied the seat) I think you may have a little time now, Jim, as I don't think there are any more machines left.





;)
Mick

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

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 11:53pm 25 Apr 2023
Copy link to clipboard 
Print this post

  Quote  Would it be possible to autoconfigure this using a call to mm.device$?

Often I don't have the target device connected. Maybe an optional splash screen when it starts telling the user what the syntax is set to?

Bill
Keep safe. Live long and prosper.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 05:23am 26 Apr 2023
Copy link to clipboard 
Print this post

There are two places where the device type is important.
Uploading bas software and running the file manager.

There will be a new option in the Setup menu called "Auto Configure"

If you have Auto Configure ticked, the device will be checked and changed if needed after connecting during uploads and before starting the file manager.

There is also a new button "Device?"
When pressing "Device?", the device currently connected will be checked and, if you have Auto Configure ticked, the device setting will be changed, otherwise just a warning.

I will give it a few days of testing before updating the downloads.

Jim
VK7JH
MMedit   MMBasic Help
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 08:31am 29 Apr 2023
Copy link to clipboard 
Print this post

Hi Jim,
A minor bug on a PicoMite (not VGA nor Web) RC3.

MMEdit is not seeing "IMAGE" as a keyword in:

  LOAD IMAGE "filename.BMP", x, y

so when I crunch it it produces:

  LOAD IMAGE"filename.BMP", x, y

Which throws up "Error : Syntax".

Over to you, Cheers,

Andrew
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 11:56am 29 Apr 2023
Copy link to clipboard 
Print this post

Thanks,
I have added IMAGE to the tkn file.
You can add it to your copy to save waiting for the next update.
VK7JH
MMedit   MMBasic Help
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 09:16pm 29 Apr 2023
Copy link to clipboard 
Print this post

Hi Jim,
Thanks.

  Quote  You can add it to your copy to save waiting for the next update.


Sorry, but how? In Notepad (or ++) it looks like something I don't want to mess with.

Cheers,

Andrew
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4247
Posted: 09:39pm 29 Apr 2023
Copy link to clipboard 
Print this post

Hi

5.1.2 works fine. The only odd thing I noticed that sometimes when opening a progam, it refuzes to send it to the pico, until I save it first. Essentially writing the same program on the same location on disk.

This is the linux version.
This was also happening in 5.0

No big issue for me, I am perfectly happy with 5.1.2 as is.

Volhout
PicomiteVGA PETSCII ROBOTS
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 09:42pm 29 Apr 2023
Copy link to clipboard 
Print this post

I have done this before with the earlier version. Make a backup of the tkn file and just add the word 'image' in there separated by a space. It looks like it doesn't need to be in alphabetical order but I would do that. Plain Windows notepad will do it.

Bill
Keep safe. Live long and prosper.
 
     Page 2 of 8    
Print this page
© JAQ Software 2024