cmd parser

This commit is contained in:
minjaesong
2020-11-01 18:41:39 +09:00
parent 5d66234c47
commit a2e74313a1
2 changed files with 18 additions and 15 deletions

View File

@@ -8,6 +8,11 @@ _TVDOS.DRIVES["A"] = _BIOS.FIRST_BOOTABLE_PORT;
//TODO
_TVDOS.defaults = {
path: [
""
]
};
Object.freeze(_TVDOS);
///////////////////////////////////////////////////////////////////////////////
@@ -71,12 +76,6 @@ var execApp = function(cmdsrc, args) {
///////////////////////////////////////////////////////////////////////////////
// Boot script
_TVDOS.defaults = {
path: [
""
]
};
filesystem.open("A", "tvdos/command.js", "R");
let cmdsrc = filesystem.readAll("A");