renaming system.maxmem to sys.maxmem

This commit is contained in:
minjaesong
2022-09-01 18:13:13 +09:00
parent b41ff1c834
commit 079641ef1e
16 changed files with 8410 additions and 20 deletions

View File

@@ -42,12 +42,12 @@ let DATA_CURSOR = 0
let DATA_CONSTS = []
const BASIC_HOME_PATH = "/home/basic/"
if (system.maxmem() < 8192) {
if (sys.maxmem() < 8192) {
println("Out of memory. BASIC requires 8K or more User RAM")
throw Error("Out of memory")
}
let vmemsize = system.maxmem()
let vmemsize = sys.maxmem()
let cmdbuf = [] // index: line number
let gotoLabels = {}