Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:57 02 Aug 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 : CMM2: bug in 5.07 - I'm not deliberately looking, honest

     Page 2 of 2    
Author Message
Arno
Newbie

Joined: 19/09/2020
Location: Germany
Posts: 15
Posted: 06:28pm 13 Jul 2021
Copy link to clipboard 
Print this post

Hello Peter,

Flashed CMM2V5.06.00 to the broken G2 and run VAR SAVE/RESTORE with good results.
Now flashed CMM2V5.07.00 to same G2 and VAR SAVE/RESTORE runs without any problems.

After changing battery on a Maximite 2, not a G2, I run into the same problem as on
the G2. The procedure with flashing CMM2V5.06.00 and after that go back to CMM2V5.07.00 solves again the problem.

Arno
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 09:38pm 13 Jul 2021
Copy link to clipboard 
Print this post

  Quote  After changing battery on a Maximite 2, not a G2, I run into the same problem as on
the G2.


IF (and its a big if) I have improved the situation then VAR CLEAR should fix any issue after a battery change. Please try also the version in the GUI thread as I made some more changes - scatter-gun tactics though as the symptoms make no sense as they only seem to occur on a limited number of systems
 
Arno
Newbie

Joined: 19/09/2020
Location: Germany
Posts: 15
Posted: 06:02am 14 Jul 2021
Copy link to clipboard 
Print this post

Peter I will try this tomorrow.

Now I need some confirmation from other users.
All of my Maximite Computers, two G1 and two G2, show an var save error with CMM2V05.07.00.

Please try:

1) Remove the battery.
2) After your settings try:
> a=10
> var save a
3) After recycled power try:
> a=10
>var save a

This procedure freezes all four Maximite Computers with CMM2V05.07.00 but not with CMM2V05.06.00.

Arno
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 07:16am 14 Jul 2021
Copy link to clipboard 
Print this post

Arno

Thanks for your efforts on this problem. I've just done a compare of the 5.06 code vs 5.07. There are differences but none that should cause the problem but just in case I've put back some "superfluous" code.

Please could you test the attached

Thanks

Peter


CMM2V5.07.01exp2.zip
 
Arno
Newbie

Joined: 19/09/2020
Location: Germany
Posts: 15
Posted: 11:16am 14 Jul 2021
Copy link to clipboard 
Print this post

Peter

CMM2V5.07.01exp2 does not work here, my monitor keeps going black.

Arno
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 11:22am 14 Jul 2021
Copy link to clipboard 
Print this post

I'm almost proud of this one:

> list "cat_bug.bas"
Dim a$ = String$(255, "a")
Dim b$

Cat b$, a$
Print Len(b$), b$

Cat b$, a$
Print : Print Len(b$), b$

Cat b$, a$
Print : Print Len(b$), b$

Print
b$ = b$ + a$

> run "cat_bug.bas"
255    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

97     aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

97     aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Error in line 14: String too long


IMO if the result of a CAT (which if people don't recall is a synonym for INC) would be longer than 255 characters it should be reporting a "String too long" error.

I always knew those cats could be troublesome,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 11:46am 14 Jul 2021
Copy link to clipboard 
Print this post

  Quote  CMM2V5.07.01exp2 does not work here, my monitor keeps going black.


Please try downloading again from link below in case there was some corruption. Do a flash erase all before programming and then remove the battery. Power off then on - you will get the initialisation sequence, then re-install the battery. See if that fixes it.


CMM2V5.07.01exp2.zip
 
Arno
Newbie

Joined: 19/09/2020
Location: Germany
Posts: 15
Posted: 12:59pm 14 Jul 2021
Copy link to clipboard 
Print this post

Peter

Thank you very much Peter, it works now.

Arno
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 01:03pm 14 Jul 2021
Copy link to clipboard 
Print this post

  Quote  it works now.


Does that mean VAR SAVE/RESTORE after power cycle on all machines?
 
Arno
Newbie

Joined: 19/09/2020
Location: Germany
Posts: 15
Posted: 01:25pm 14 Jul 2021
Copy link to clipboard 
Print this post

  Quote  Does that mean VAR SAVE/RESTORE after power cycle on all machines?

Yes VAR SAVE/RESTORE works on all machines.
 
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 06:26pm 14 Jul 2021
Copy link to clipboard 
Print this post

Just a tiny, insignificant nitpick, but I find that, contrary to the documentation on page 33, rgb(lightgrey) produces an error but rgb(lightgray) works.

-Bill
 
     Page 2 of 2    
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