PicoMite V6.00.02 release candidates - all versions


Author Message
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 625
Posted: 06:39pm 15 Apr 2025      

  matherp said  
  Quote  Another problem I'm having is that, when I left-click my mouse, I get this:


Those are the escape sequences the mouse is generating. Did you reboot while in the editor? Enter the editor and then exit cleanly and it should then be OK

  Quote  When I run the logtable below, the processor reboots at about 9955.


Put some diagnostics in and work out which command is causing the problem and what the variables are at the time - then report. Sounds like a overflow or divide by zero or similar that isn't being trapped


I'm using a Dell wireless mouse connected to my Core i9 ASUS motherboard. The PicoMite 2W is connected via a USB 3.0 port.

When I turn TRACE ON, before the processor resets, I get the message:

Error: Invalid address - resetting

If I change line 170 to

T=INT(99*W)

the program completes. If I change it to INT(100*W), the crash occurs.

W=0.9956, x=9, y=9, z=9.9, t=99

In the statement

170 T=INT(nn*W)


Any number, nn, over 99 makes the crash occur.


Original program:
110 LET W=0
120 FOR X=1 TO 9
130 PRINT X;
140 FOR Y=0 TO 9
150 LET Z=(10*X+Y)*.1
160 IF ABS(10^W-Z)>.001 THEN 210
170 LET T=INT(10000*W)
190 PRINT TAB(6*Y+4);T;
200 GOTO 230
210 LET W=W+.0001
220 GOTO 160
230 NEXT Y
240 PRINT
250 NEXT X
260 END