mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-11 15:24:05 +09:00
wippie
This commit is contained in:
@@ -1 +1,16 @@
|
||||
let p=_BIOS.FIRST_BOOTABLE_PORT;com.sendMessage(p[0],"DEVRST\x17");com.sendMessage(p[0],'OPENR"WORKBENCH",'+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("WORKBENCH not found");println("Shutting down...");println("It is now safe to turn off the power");
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user