Emulator r38 Released

Announcements by the development team or forum staff.
Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

Emulator r38 Released

Post by Michael Steil »


r38 of the X16 emulator and ROM have been released.


 

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

Emulator r38 Released

Post 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?

Perifractic
Posts: 511
Joined: Sat Apr 25, 2020 4:53 pm

Emulator r38 Released

Post by Perifractic »


Fantastic work @Michael Steil!

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

Emulator r38 Released

Post 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).

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

Emulator r38 Released

Post 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. ?

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

Emulator r38 Released

Post 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"

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

Emulator r38 Released

Post 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.



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

Emulator r38 Released

Post 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. 

 

mjallison42
Posts: 17
Joined: Mon May 04, 2020 3:44 am

Emulator r38 Released

Post 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?

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

Emulator r38 Released

Post 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.

Post Reply