Page 1 of 4

Emulator r38 Released

Posted: Wed Aug 26, 2020 7:47 pm
by Michael Steil

r38 of the X16 emulator and ROM have been released.


 


Emulator r38 Released

Posted: Wed Aug 26, 2020 8:37 pm
by SlithyMatt

I don't see any "breaking changes" in any of the release notes. Is this true? Should we expect any r37-compatible software to run without modification?


Emulator r38 Released

Posted: Wed Aug 26, 2020 8:37 pm
by Perifractic

Fantastic work @Michael Steil!


Emulator r38 Released

Posted: Wed Aug 26, 2020 8:59 pm
by Michael Steil


21 minutes ago, SlithyMatt said:




I don't see any "breaking changes" in any of the release notes. Is this true? Should we expect any r37-compatible software to run without modification?



There should be no breaking changes... except for one thing. IIRC, I had to disable loading into banked RAM or VRAM using the LOAD KERNAL API ($FFD5).


Emulator r38 Released

Posted: Wed Aug 26, 2020 9:03 pm
by SlithyMatt

If that's the case, it's a pretty big breaking change! Is there a workaround other than loading to main RAM and then copying?

I just tested the Windows build of R38 and Cavy's Quest ran perfectly. So, LOADing to VRAM and banked RAM are still working. ?


Emulator r38 Released

Posted: Wed Aug 26, 2020 9:30 pm
by TomXP411

I'm having trouble getting the SD Card image to work... has anyone else done so successfully yet?

My bad. I had the wrong version installed. I'd somehow clicked the Linux version and so was still running r37 from my batch file. 

What I'm trying to figure out now is why this simple program isn't creating a file on SD...

image.png.45d417d00533df40b8e47a07cfcbe7ce.png

I'm probably doing something wrong... I suppose it's time to RTFM.

Ah, stupid me... "TEST.SEQ,S,W"


Emulator r38 Released

Posted: Wed Aug 26, 2020 10:05 pm
by TomXP411

Yay! SEQ files work! Now I can really start working on a couple of programs I've been putting on the back burner....


100 OPEN 8,8,8,"@:TEXT.TXT,S,W"
110 FOR T=1 TO 10
120 PRINT#8,"LINE";T
130 NEXT
140 CLOSE 8
200 PRINT "\X11FILE CONTENTS"
205 PRINT "-----------------------------"
210 OPEN 8,8,8,"TEXT.TXT,S,R"
220 IF ST<>0 THEN 250
230 INPUT#8,A$:PRINT A$
240 GOTO 220
250 PRINT "-----------------------------"
260 PRINT "END OF FILE"
270 PRINT "STATUS";ST
280 DOS
290 CLOSE 8
300 OPEN 8,8,8,"NOFILE,S,R"
310 PRINTST:DOS
320 CLOSE 8
READY.
RUN
FILE CONTENTS
-----------------------------
LINE 1
LINE 2
LINE 3
LINE 4
LINE 5
LINE 6
LINE 7
LINE 8
LINE 9
LINE 10
-----------------------------
END OF FILE
STATUS 64
00, OK,00,00
 0
62, FILE NOT FOUND,00,00
READY.




Emulator r38 Released

Posted: Wed Aug 26, 2020 11:04 pm
by TomXP411

@Michael Steil is there a way to read a directory listing into a BASIC program, yet? I was thinking of writing a file manager/launcher, but there doesn't seem to be a way to open "$" for reading. 

 


Emulator r38 Released

Posted: Wed Aug 26, 2020 11:13 pm
by mjallison42

Michael, RE: disabling load/save from banked RAM... it looks like it is disabled for using the sdcard, but it appears to work without it (e.g. using the host file system). Can you let us know how the load/save kernal calls are intended to operate on the final unit?


Emulator r38 Released

Posted: Thu Aug 27, 2020 3:21 am
by SlithyMatt

I tested Chase Vault using an SD Card image, and it hangs when trying to load data into banked RAM, which is definitely new behavior for R38. Oddly enough, the emulator had no problem loading data from the SD card image directly to VRAM, so it seems like it is only disabled for banked RAM. Also, it appears that LOAD "$" hangs as well with the SD card image.