Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:11 05 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 : MMBasic/Plus/Extreme/Other Edition ??

Author Message
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 10:15am 23 Nov 2016
Copy link to clipboard 
Print this post

Hello everyone
It seems to me, with great pleasure after so many years that the project MMBasic having an exponential evolution. It has become a mature product.
But I wanted to have clarity on some constants MM.VER and MM.DEVICE.
Now I see that there are several variants such as "kiiid" (MZ other edition) and new HWs PIC32MZ and STM32F7. I would like to implement in my software "Micromite Lab" the ability to easily identify how to have connect, If I use MMBasic with PIC32-28 or 44 pins, or Plus on 64/100pin or new MZ eXtreme edition or new "other edition" or new STM32MZ etc.
Is it possible, according to you, identify the correct platform only with MM.Ver and MM.Device or Do You need other variables as "MM.PINs" etc ??
Thanks
Sagt3k
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 03:43pm 23 Nov 2016
Copy link to clipboard 
Print this post

Neither define it to a specific chip. For that it would be best to get the chip's device ID:
DEVID% = PEEK(WORD &HBF80F220) AND &HFFFFFFF

Geoff
Geoff Graham - http://geoffg.net
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025