Emulator r40 Released

Announcements by the development team or forum staff.
User avatar
desertfish
Posts: 1096
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Emulator r40 Released

Post by desertfish »

Edmond D
Posts: 489
Joined: Thu Aug 19, 2021 1:42 am

Emulator r40 Released

Post by Edmond D »



On 4/30/2022 at 1:57 PM, desertfish said:




Thanks - it looks like that one has to create an account, then search out the discussion group before seeing any real content. ?

 

TomXP411
Posts: 1781
Joined: Tue May 19, 2020 8:49 pm

Emulator r40 Released

Post by TomXP411 »



On 4/30/2022 at 2:49 PM, Edmond D said:




Thanks - it looks like that one has to create an account, then search out the discussion group before seeing any real content. ?



You just need an invite code. https://discord.gg/nS2PqEC

Ed Minchau
Posts: 503
Joined: Sat Jul 11, 2020 3:30 pm

Emulator r40 Released

Post by Ed Minchau »



On 4/30/2022 at 7:16 AM, Michael Steil said:




Then the behavior of SETMSG has changed.  I tried it with

LDA #80

JSR SETMSG

and was still getting the SEARCHING FOR... LOADING AT... SAVING messages

I changed that to 

LDA #00

JSR SETMSG

and those messages stopped.  If bit 6 is zero those messages are not supposed to appear, but they do.  Bit 7 needs to be turned off to make them go away. Somehow all the control messages got grouped in with the error messages.

Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

Emulator r40 Released

Post by Michael Steil »



On 5/1/2022 at 5:07 AM, Ed Minchau said:




If bit 6 is zero those messages are not supposed to appear, but they do.  Bit 7 needs to be turned off to make them go away. Somehow all the control messages got grouped in with the error messages.



Please (have someone) file an issue on GitHub.

kelli217
Posts: 531
Joined: Sun Jul 05, 2020 11:27 pm

Emulator r40 Released

Post by kelli217 »


It seems as though something is trashing BASIC pointers. I loaded a program and ran it and then listed it, and there were new lines in the program with seemingly random content. The program doesn't try to hit hardware, and uses the BASIC routines exclusively.

I have a dump file...
dump.bin
Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

Emulator r40 Released

Post by Michael Steil »



On 5/1/2022 at 6:50 PM, kelli217 said:




It seems as though something is trashing BASIC pointers. I loaded a program and ran it and then listed it, and there were new lines in the program with seemingly random content. The program doesn't try to hit hardware, and uses the BASIC routines exclusively.



I have a dump file...



Can I see the BASIC program so I can reproduce it? (If you don't mind sharing the program publicly, could you file an issue in GitHub and attach the program?)

kelli217
Posts: 531
Joined: Sun Jul 05, 2020 11:27 pm

Emulator r40 Released

Post by kelli217 »


I've included the tokenized BASIC program. There's something odd about it.

If you load this, list it to make sure it's okay, then run it, then list it again, you should find new lines added to the program.

In fact, I've loaded the program, and just made some edits to it (like changing the color specified by D to something like D+127 or whatever) and not even run it, and listed it and gotten new lines added.

If I type it in manually, it works fine. Something about the loading process is wreaking havoc.

Here's the source:

10 SCREEN 128

40 X(1)=159:Y(1)=0

50 X(2)=0:Y(2)=199

60 X(3)=319:Y(3)=199

70 X=X(1):Y=Y(1)

80 D=RND(1)*3+1

90 X=X/2+X(D)/2

100 Y=Y/2+Y(D)/2

110 PSET X,Y,D+2

120 GOTO 80
SIERPINSKI.PRG
Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

Emulator r40 Released

Post by Michael Steil »

Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

Emulator r40 Released

Post by Michael Steil »



On 5/2/2022 at 7:06 AM, kelli217 said:




It was a bug in the emulator, which didn't report the number of bytes read from the host filesystem correctly. Fixed in the repo.

Post Reply