TEVD disk drive now uses PartialDOM

This commit is contained in:
minjaesong
2023-02-18 19:38:50 +09:00
parent 7990bcb987
commit 461c30e3e8
5 changed files with 86 additions and 59 deletions

View File

@@ -23,7 +23,7 @@ const actions = {
graphics.setBackground(34,51,68)
sys.poke(-1299460, 20)
sys.poke(-1299460, 21)
}
},
"audio": ()=>{
for (let k = 0; k < 4; k++) {
audio.stop(k)
@@ -46,7 +46,7 @@ if (!verb) {
return 10
}
let actionfun = actions[verb][target]
let actionfun = actions[verb.toLowerCase()][target.toLowerCase()]
if (actionfun) actionfun()
else {
printerrln(`sysctl: unknown target ${target}`)