> Forums > Sonstige Projekte
Collapse OS Web Emulators
Erstellt
Nov. '19
|
letzte Antwort | Antwort
1
|
Aufrufe
3.5T |
12
„Gefällt mir“ |
Abos
Noch keine |
Mo., 18. November, 2019 um 19:50
#1
Als Ergänzung zur News "Collapse OS: Das Betriebssystem, das auch nach dem Weltuntergang noch funktionieren soll" habe ich ein paar Collapse OS Web Emulator online gestellt. Ihr findet diese unter: https://ress.at/collapse_os/ Basierend auf schierlm.github.io Der Mensch ist ein naiver Tourist mit einem abgelaufenem Visum für den Planeten Erde .. |
||||||||||||
Mo., 18. November, 2019 um 19:50
#2
shellThe shell is a text interface giving you access to commands to control your machine. It is not built to be user friendly, but to minimize binary space and maximize code simplicity. We expect the user of this shell to work with a copy of the user guide within reach. It is its design goal, however, to give you the levers you need to control your machine fully. Commands and arguments
You invoke a command by typing its name, followed by a list of arguments. All
numerical arguments have to be typed in hexadecimal form, without prefix or
suffix. Lowercase is fine. Single digit is fine for byte (not word) arguments
smaller than
All numbers printed by the shell are in hexadecimals form.
Whenever a command is malformed, the shell will print
Applications have their own error codes as well. If you see an error code that isn't in this list, it's an application-specific error code. mptr
The shell has a global memory pointer (let's call it
peek
Read memory targeted by
poke
Puts the serial console in input mode and waits for a specific number of
characters to be typed (that number being specified by a byte argument). These
characters will be literally placed in memory, one after the other, starting at Example:
call
Calls the routine at Be aware that this results in a call, not a jump, so your routine needs to return if you don't want to break your system.
The following example works in the case where you've made yourself a jump table
in your glue code a |
||||||||||||
Du hast bereits für diesen
Post abgestimmt...
;-)
Ähnliche Themen:
© by Ress Design Group, 2001 - 2024