I need this as I have a basic loader that has some machine code in a rem statement to detect which of any of plus3dos, residos or esxdos is available and load the correct program to match what is found:
I couldn't find any existing means to create plus3dos.bin, esxdos.bin and residos.bin in z88dk, so I've added the ability to do it in a fork on github. Here's my quick & dirty code commit:
Code: Select all
10 CLEAR VAL "32767" 20 LET A = USR VAL "PEEK 23635+256* PEEK 23636+7" 30 IF A = 0 THEN PRINT "Either ESXDOS, ResiDOS v1.40+ or PLUS3DOS is required": STOP 40 IF A = 1 THEN LOAD "plus3dos.bin" CODE : GOTO 70 50 IF A > 3 THEN LOAD * "esxdos.bin" CODE : GOTO 70 60 LOAD % "residos.bin" CODE : GOTO 70 70 RANDOMIZE USR VAL "32768"
https://github.com/pjshumphreys/z88dk/c ... 70fd9033f3
I've attached my project files to this thread as well in case you'd like to see what I'm up to.