mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-14 23:16:06 +09:00
more input reading|js console app
This commit is contained in:
@@ -22,16 +22,9 @@ println("Starting TVDOS...");
|
||||
|
||||
greet();
|
||||
|
||||
/*while (true) {
|
||||
while (true) {
|
||||
print(get_prompt_text());
|
||||
var s = read();
|
||||
println();
|
||||
println("String read: " + s + "@");
|
||||
}*/
|
||||
|
||||
println(vm.peek(-4093)); // expecting an odd number
|
||||
vm.poke(-4093, 6);
|
||||
for (i = 0; i < 4096; i++) {
|
||||
print(String.fromCharCode(vm.peek(-4097 - i)));
|
||||
}
|
||||
println();
|
||||
}
|
||||
Reference in New Issue
Block a user