more input reading|js console app

This commit is contained in:
minjaesong
2020-05-19 11:14:27 +09:00
parent 9321dbceb1
commit 619257ecf2
10 changed files with 240 additions and 41 deletions

View File

@@ -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();
}