Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 03:00 20 Apr 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 : CMM2: Bug reports

     Page 2 of 17    
Author Message
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 01:01pm 22 May 2020
Copy link to clipboard 
Print this post

Lost keyboard with RC36 update. No power to keyboard
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 01:13pm 22 May 2020
Copy link to clipboard 
Print this post

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 States
Posts: 261
Posted: 04:09pm 22 May 2020
Copy link to clipboard 
Print this post

Thanks Peter. Software begs for deductive logic and reasoning.
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 05:12pm 22 May 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 8567
Posted: 05:28pm 22 May 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 3831
Posted: 02:47pm 23 May 2020
Copy link to clipboard 
Print this post

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
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 04:44pm 23 May 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 3831
Posted: 07:33pm 23 May 2020
Copy link to clipboard 
Print this post

  matherp said  I can categorically state that this has never worked on the CMM2.


Must have been a misfiled memory of something I was doing on the CMM "Classic"

  Quote  Needs thinking about, particularly with reference to INCLUDE files


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
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 09:32pm 23 May 2020
Copy link to clipboard 
Print this post

Trace fixed in RC38
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 07:43am 24 May 2020
Copy link to clipboard 
Print this post

Thanks Peter,

That's very fast work.

Regards,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 07:25am 29 May 2020
Copy link to clipboard 
Print this post

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
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 07:32am 29 May 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 3831
Posted: 09:09am 29 May 2020
Copy link to clipboard 
Print this post

  matherp said  The Ctrl-K I have never seen.


OK, it happens quite often, so if you have a "play" you may be {un}lucky enough to see it.

  Quote  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


I think you are correct that it is always the view in error.

Best wishes,

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 09:42am 29 May 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 3831
Posted: 09:53am 29 May 2020
Copy link to clipboard 
Print this post

  matherp said  I think the Ctrl-K issue happens when you press HOME then Ctrl-K. Please can you confirm. Should be an easy fix.


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
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 10:14am 29 May 2020
Copy link to clipboard 
Print this post

  Quote  Slight change of topic ... are you receiving bug reports from anyone other than the design group and me ?


No

  Quote  Or did the White Wizzard just provide me with one really really early and everyone else is too busy catching up


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 Kingdom
Posts: 3831
Posted: 10:25am 29 May 2020
Copy link to clipboard 
Print this post

  matherp said  ... but little feedback


I must have got the one with the bugs then  

  Quote  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


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
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 11:24am 29 May 2020
Copy link to clipboard 
Print this post

  Quote  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.


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 Kingdom
Posts: 3831
Posted: 11:32am 29 May 2020
Copy link to clipboard 
Print this post

  matherp said  I'm going to have to change selection such that you can't select backwards from the point at which you pressed F4 ...


Understood, it's a shame, but it's better than the current buggy behaviour.

Regards,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 11:47am 29 May 2020
Copy link to clipboard 
Print this post

  thwill said  
  matherp said  I'm going to have to change selection such that you can't select backwards from the point at which you pressed F4 ...


Understood, it's a shame, but it's better than the current buggy behaviour.


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
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
     Page 2 of 17    
Print this page
© JAQ Software 2024