![]() |
Forum Index : Microcontroller and PC projects : CMM2: Bug reports
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
cdeagle Senior Member ![]() Joined: 22/06/2014 Location: United StatesPosts: 265 |
Lost keyboard with RC36 update. No power to keyboard |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Did you do the OPTION RESET? If that doesn't work power off, remove battery, replace battery power-on The power to the keyboard isn't switched so that can't be the issue You can also try OPTION USBKEYBOARD US Edited 2020-05-22 23:20 by matherp |
||||
cdeagle Senior Member ![]() Joined: 22/06/2014 Location: United StatesPosts: 265 |
Thanks Peter. Software begs for deductive logic and reasoning. |
||||
cdeagle Senior Member ![]() Joined: 22/06/2014 Location: United StatesPosts: 265 |
out damned battery out I have a torx 5 for popping it loose. It seems to have worked. Thanks Peter |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Glad you are working again. Sorry about this needing doing. I wanted to re-arrange the save OPTION area before we go fully live and doing this moved the byte that stores the USB keyboard type. The firmware gets its knickers in a twist if it reads non-valid data in one of the option fields. I do check for gross corruption of this area but not for every single value being sensible. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
TRACE appears to be non-functional Another one for you Peter unless I am doing something stupid. ... I'm sure it was working in the last week or so though. To reproduce Run this: Trace On For i = 1 To 100 Print "Hello, World!" Print "Goodbyte" Next i Expected behaviour Some output from TRACE interspersed with "Hello, World!" and "Goodbye" Actual behavour No output from TRACE. Additional TRACE LIST produces the following: [0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0] Best wishes, Tom Edited 2020-05-24 00:48 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
I can categorically state that this has never worked on the CMM2. Needs thinking about, particularly with reference to INCLUDE files |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Must have been a misfiled memory of something I was doing on the CMM "Classic" ![]() I can see how that would make it tricky, though presumably since you are able to output the correct file and line when an an ERROR occurs in an INCLUDE file you are already storing all the context required? Best regards, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Trace fixed in RC38 |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Thanks Peter, That's very fast work. Regards, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Apologies for this low quality bug report, but I'm struggling to get any quality time with the CMM2 this week. The editor is frustratingly flaky with a particular issue being the document and display sometimes getting out of synch when selected text is deleted. I am trying and failing to reproduce this reliably. In addition using Ctrl-K to delete a line of text sometimes jumps the cursor to the beginning of the document. Again I must apologise for not having a way to reproduce this reliably. Regards, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
I have seen the selection issue very occasionally but also cannot replicate. It is something to do with selections that cause the display to scroll. The Ctrl-K I have never seen. The workaround for the selection issue is to page-up/page-down to get the display back in synch. I think it is always the display that is wrong and that the actual edit has happened properly. If you believe otherwise please let me know |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
OK, it happens quite often, so if you have a "play" you may be {un}lucky enough to see it. I think you are correct that it is always the view in error. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
I think the Ctrl-K issue happens when you press HOME then Ctrl-K. Please can you confirm. Should be an easy fix. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Yep, that's it, and it explains why I see it because [Home] [Ctrl-K] is a common sequence for me. Slight change of topic ... are you receiving bug reports from anyone other than the design group and me ? Or did the White Wizzard just provide me with one really really early and everyone else is too busy catching up ... or discussing how to use it as a micro-controller rather than a micro-computer ![]() MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
No There are now at least 17 CMM2 in the community beyond the design group but little feedback Editor issue question I've found an issue when you select upwards from the start point rather than down. Please try this and let me know if this explains all or most or none of the issues you are seeing Edited 2020-05-29 20:15 by matherp |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
I must have got the one with the bugs then ![]() I can confirm that doing this leaves the cursor in the wrong place and possibly that is fooling my brain into thinking the view and model are out of synch. Thanks, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
I'm going to have to change selection such that you can't select backwards from the point at which you pressed F4. You can go forwards and then reduce the selection by going back but you can never go back past the point you started the selection. I don't think this is a major limitation. This will affect LEFT, HOME and UP commands while in selection mode. Key presses that attempt to select back beyond the start point will be ignored |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Understood, it's a shame, but it's better than the current buggy behaviour. Regards, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Obviously I don't know what the code looks like so I can invent all sorts of unimplementable things, but presumably there is a ptr to the start of the selection and a ptr to the end. Can you not just update the ptr to the start if the user moves the cursor before that point ? Edited 2020-05-29 21:47 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |