-
Notifications
You must be signed in to change notification settings - Fork 1
dash.dasm16
The DASH Shell is essential to cubeOS's function. It acts as an interpreter for ASCII commands, which are passed to the package manager in order to directly execute subroutines, and also handles keyboard input.
At the prompt, the user can use an attached Generic Keyboard to input ASCII and control characters.
Restarts the DASH Shell by calling s.instance.
Prepares a new terminal session at the root directory.
Writes a prompt to the screen using v.sPrompt and enters a loop to take ASCII input from the keyboard and write it to the screen at cursorPointer. It exits when the user presses enter
.
returns the cursor location on exit
This subroutine isolates the first argument in v.stdin by scanning through, then stopping on null or 0x20. Then, it gets the crp.sum of the string. Then, it calls p.lookup, sets B
to the location of stdin, and invokes the subroutine returned by p.lookup.
Performs a C-style copy from startPointer to v.stdin, replacing un-(single)quoted spaces with zeros.
Does a C-style copy from v.stdout to outputPointer.