Emulator r38 Released
-
- Posts: 94
- Joined: Mon May 18, 2020 7:25 pm
Emulator r38 Released
r38 of the X16 emulator and ROM have been released.
-
- Posts: 913
- Joined: Tue Apr 28, 2020 2:45 am
Emulator r38 Released
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?
-
- Posts: 511
- Joined: Sat Apr 25, 2020 4:53 pm
-
- Posts: 94
- Joined: Mon May 18, 2020 7:25 pm
Emulator r38 Released
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).
-
- Posts: 913
- Joined: Tue Apr 28, 2020 2:45 am
Emulator r38 Released
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
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...
I'm probably doing something wrong... I suppose it's time to RTFM.
Ah, stupid me... "TEST.SEQ,S,W"
Emulator r38 Released
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
@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.
-
- Posts: 17
- Joined: Mon May 04, 2020 3:44 am
Emulator r38 Released
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?
-
- Posts: 913
- Joined: Tue Apr 28, 2020 2:45 am
Emulator r38 Released
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.