mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-09 06:34:04 +09:00
basic:array indexing and assigning at the index
This commit is contained in:
@@ -76,7 +76,7 @@ if (portNumber < 4) {
|
||||
}
|
||||
else {
|
||||
sys.mapRom(1);
|
||||
let response = eval("let _appStub=function(exec_args){"+sys.romReadAll()+"};_appStub;")();
|
||||
let response = eval("let basica=function(exec_args){"+sys.romReadAll()+"};basica;")();
|
||||
|
||||
if (response !== 0) println("No ROM BASIC system halted");
|
||||
}
|
||||
@@ -18,4 +18,4 @@ Object.freeze(_BIOS);
|
||||
|
||||
// load a BASIC rom
|
||||
sys.mapRom(1);
|
||||
eval("let _appStub=function(exec_args){"+sys.romReadAll()+"};_appStub;")();
|
||||
eval("let basicrom=function(exec_args){"+sys.romReadAll()+"};basicrom;")();
|
||||
Reference in New Issue
Block a user