tvdos bootable disk image builder

This commit is contained in:
minjaesong
2022-12-22 01:34:10 +09:00
parent 6fb947dd67
commit 42b66fc3fb
12 changed files with 54 additions and 1 deletions

View File

@@ -0,0 +1 @@
let p=_BIOS.FIRST_BOOTABLE_PORT;com.sendMessage(p[0],"DEVRST\x17");com.sendMessage(p[0],'OPENR"tvdos/TVDOS.SYS",'+p[1]);let r=com.getStatusCode(p[0]);if(0==r)if(com.sendMessage(p[0],"READ"),r=com.getStatusCode(p[0]),0==r){let g=com.pullMessage(p[0]);eval(g)}else println("I/O Error");else println("TVDOS.SYS not found");println("Shutting down...");println("It is now safe to turn off the power");

View File

@@ -0,0 +1,8 @@
echo "Starting TVDOS..."
rem put set-xxx commands here:
rem e.g. set PATH=\home\my-cool-project;$PATH
set KEYBOARD=us_qwerty
rem this line specifies which shell to be presented after the boot precess:
command /fancy