Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:50 29 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.info(flash  size)

Author Message
nbrok

Regular Member

Joined: 13/02/2023
Location: Netherlands
Posts: 60
Posted: 08:26am 23 Mar 2023
Copy link to clipboard 
Print this post

@Peter
A stupid question: what does mm.info(flash size)?
When I type print mm.info(flash size) it returns 0
I know it would report the size of flash memory, but what memory?
I use the 5.07..07b28 version.
Did I discover a new bug or is the flash memory an optional thing?
The flash slots do work and the A: drive also.

Edited 2023-03-23 18:27 by nbrok
Greetings,
Nick de pe1goo
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 08:36am 23 Mar 2023
Copy link to clipboard 
Print this post

Yeah, I am getting that also.



Smoke makes things work. When the smoke gets out, it stops!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9139
Posted: 08:36am 23 Mar 2023
Copy link to clipboard 
Print this post

mm.info(flash) returns the flash slot currently running a program - normally 0
mm.info(option flash size) returns the size of the flash memory chip
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 08:41am 23 Mar 2023
Copy link to clipboard 
Print this post

Manual page 74 says to use the former.
When did the syntax change?





...or the manual needs updating.

EDIT: Option Flash Size crashes the PM, but it could be cos I am using a version below, so I will update and try again.
Edited 2023-03-23 18:43 by Grogster
Smoke makes things work. When the smoke gets out, it stops!
 
nbrok

Regular Member

Joined: 13/02/2023
Location: Netherlands
Posts: 60
Posted: 09:28am 23 Mar 2023
Copy link to clipboard 
Print this post

  matherp said  mm.info(flash) returns the flash slot currently running a program - normally 0
mm.info(option flash size) returns the size of the flash memory chip

Thanks... so it becomes the time that the manual has to be updated, because a lot has changed.  
Edited 2023-03-23 19:29 by nbrok
Greetings,
Nick de pe1goo
 
nbrok

Regular Member

Joined: 13/02/2023
Location: Netherlands
Posts: 60
Posted: 09:31am 23 Mar 2023
Copy link to clipboard 
Print this post

  Grogster said  Manual page 74 says to use the former.
When did the syntax change?





...or the manual needs updating.

EDIT: Option Flash Size crashes the PM, but it could be cos I am using a version below, so I will update and try again.

To inform you, mine is not crashing, latest beta as mentioned in my first message.
Greetings,
Nick de pe1goo
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9139
Posted: 09:32am 23 Mar 2023
Copy link to clipboard 
Print this post

  Quote  so it becomes the time that the manual has to be updated, because a lot has changed.


manual is updated when there is a new release
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6814
Posted: 12:06pm 23 Mar 2023
Copy link to clipboard 
Print this post

... which depends on three things, Peter's boredom threshold, Geoff's workload and the phase of the moon. :)
Mick

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

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1115
Posted: 12:38pm 23 Mar 2023
Copy link to clipboard 
Print this post

  Mixtel90 said  ... which depends on three things, Peter's boredom threshold, Geoff's workload and the phase of the moon. :)

and the relative lunar humidity  
'no comment
 
Print this page


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

© JAQ Software 2024