![]() |
Forum Index : Microcontroller and PC projects : CMM2: bug in 5.07 - I'm not deliberately looking, honest
![]() ![]() |
|||||
Author | Message | ||||
Arno Newbie ![]() Joined: 19/09/2020 Location: GermanyPosts: 15 |
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 KingdomPosts: 10315 |
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: GermanyPosts: 15 |
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 KingdomPosts: 10315 |
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: GermanyPosts: 15 |
Peter CMM2V5.07.01exp2 does not work here, my monitor keeps going black. Arno |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
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$ 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 KingdomPosts: 10315 |
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: GermanyPosts: 15 |
Peter Thank you very much Peter, it works now. Arno |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Does that mean VAR SAVE/RESTORE after power cycle on all machines? |
||||
Arno Newbie ![]() Joined: 19/09/2020 Location: GermanyPosts: 15 |
Yes VAR SAVE/RESTORE works on all machines. |
||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
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 |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |