mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-12 07:44:03 +09:00
more hdk stuffs
This commit is contained in:
@@ -1022,6 +1022,8 @@ files.reservedNames = ["AUX", // unused
|
||||
|
||||
/** This function only creates a file descriptor; will not actually interact with the drives yet. */
|
||||
files.open = (fullPath) => {
|
||||
if (fullPath == undefined) throw Error("path is undefined")
|
||||
|
||||
if (files.reservedNames.includes(fullPath.toUpperCase())) {
|
||||
return new TVDOSFileDescriptor(fullPath.toUpperCase())
|
||||
}
|
||||
@@ -1263,7 +1265,7 @@ var require = (absdir) => {
|
||||
}
|
||||
|
||||
|
||||
var GL = require("A:/tvdos/include/gl.js")
|
||||
var GL = require("A:/tvdos/include/gl.mjs")
|
||||
|
||||
|
||||
// @param cmdsrc JS source code
|
||||
|
||||
Reference in New Issue
Block a user