R38 emulator bug? Use of FRE command after RESET and OLD creates endless loop?

Get technical support from the community & developers with specific X16 programs if you can't find the solution elsewhere
(for general non-support related chat about programs please comment directly under the program in the software library)
Post Reply
Justin Baldock
Posts: 65
Joined: Fri Jun 26, 2020 1:12 am
Location: Adelaide

R38 emulator bug? Use of FRE command after RESET and OLD creates endless loop?

Post by Justin Baldock »


Hi,

I think I may have discovered a bug. Just hoping to see if other people can replicate? I'm using a Virtual Windows 10 machine.

Create any BASIC program. 

10 PRINT"TEST"

20 GOTO 10

Then use the RESET command, use the OLD command then try PRINT FRE(0)

The emulator locked up with what appears to be an endless loop. Errors are going to the CMD console are 

WARN: Invalid register 9fbc

WARN: Invalid register 9fb6

WARN: Invalid register 9fbc

WARN: Invalid register 9fbc

If other people can replicate I will create a bug report.

Updated: Bug report added to GitHub.

User avatar
JimmyDansbo
Posts: 476
Joined: Sun Apr 26, 2020 8:10 pm
Location: Denmark
Contact:

R38 emulator bug? Use of FRE command after RESET and OLD creates endless loop?

Post by JimmyDansbo »


I get the same.

Mine also warns about 9fb7

WARN: Invalid register 9fb7

WARN: Invalid register 9fbc

WARN: Invalid register 9fb6

 

Visit my Github repo
or my personal site with CX16/C64/6502 related information.
Feel free to contact me regarding any of my projects or even about meeting up somewhere near Denmark
Ed Minchau
Posts: 503
Joined: Sat Jul 11, 2020 3:30 pm

R38 emulator bug? Use of FRE command after RESET and OLD creates endless loop?

Post by Ed Minchau »



On 1/5/2022 at 9:01 PM, Justin Baldock said:




Hi,



I think I may have discovered a bug. Just hoping to see if other people can replicate? I'm using a Virtual Windows 10 machine.



Create any BASIC program. 



10 PRINT"TEST"

20 GOTO 10



Then use the RESET command, use the OLD command then try PRINT FRE(0)



The emulator locked up with what appears to be an endless loop. Errors are going to the CMD console are 



WARN: Invalid register 9fbc

WARN: Invalid register 9fb6

WARN: Invalid register 9fbc

WARN: Invalid register 9fbc



If other people can replicate I will create a bug report.



Updated: Bug report added to GitHub.



I tried this:

PRINT TI$

works normally.  Then:

10 PRINT"HELLO WORLD"

20 GOTO 10

then I reset with a CTRL-R and typed OLD, then

PRINT TI$

And I also got Invalid register 9fb7.   So, the problem is likely not with FRE (or with TI$ or PRINT) but with OLD.

Justin Baldock
Posts: 65
Joined: Fri Jun 26, 2020 1:12 am
Location: Adelaide

R38 emulator bug? Use of FRE command after RESET and OLD creates endless loop?

Post by Justin Baldock »


Thanks Ed, I didn't think to try other commands as I had fallen on it when trying to use the FRE command. I will update the bug.

Post Reply