Files
tsvm/assets/disk1/!BOOTSEC
minjaesong f992713e85 wippie
2022-03-06 13:53:40 +09:00

17 lines
389 B
Plaintext

let p=_BIOS.FIRST_BOOTABLE_PORT;
com.sendMessage(p[0],"DEVRST\x17");
com.sendMessage(p[0],'OPENR"DESKTOP",'+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("DESKTOP not found");
}
println("CPU halted");