Page 4 of 5
Emulator r40 Released
Posted: Sat Apr 30, 2022 8:57 pm
by desertfish
Emulator r40 Released
Posted: Sat Apr 30, 2022 9:49 pm
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.
?
Emulator r40 Released
Posted: Sat Apr 30, 2022 10:17 pm
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
Emulator r40 Released
Posted: Sun May 01, 2022 3:07 am
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.
Emulator r40 Released
Posted: Sun May 01, 2022 2:17 pm
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.
Emulator r40 Released
Posted: Sun May 01, 2022 4:50 pm
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
Emulator r40 Released
Posted: Sun May 01, 2022 6:16 pm
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?)
Emulator r40 Released
Posted: Mon May 02, 2022 5:06 am
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
Emulator r40 Released
Posted: Mon May 02, 2022 5:36 am
by Michael Steil
Emulator r40 Released
Posted: Mon May 02, 2022 6:08 am
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.