Documentation of kernel API

This commit is contained in:
Kyle J Cardoza 2024-07-08 23:31:39 -04:00
parent 09cfba0263
commit 0049bf4830
1 changed files with 8 additions and 8 deletions

View File

@ -49,11 +49,11 @@ continues waiting for another character to be ready.
## 0x02: Console Output ## 0x02: Console Output
Arguments: Arguments:
C: 0x02 - C: 0x02
X: Character to output - X: Character to output
Return Values: Return Values:
None - None
This call sends a single chracter to the standard output, which is usually This call sends a single chracter to the standard output, which is usually
the terminal emulator. The character will be parsed by the terminal emulator the terminal emulator. The character will be parsed by the terminal emulator
@ -62,10 +62,10 @@ to handle control characters and escape sequences.
## 0x03: Direct Console Input ## 0x03: Direct Console Input
Arguments: Arguments:
C: 0x03 - C: 0x03
Return Values: Return Values:
C: Character value or NULL - C: Character value or NULL
This call does direct (raw) console input; if there is a character ready, it This call does direct (raw) console input; if there is a character ready, it
will be read, and if not, NULL will be returned. will be read, and if not, NULL will be returned.
@ -73,11 +73,11 @@ will be read, and if not, NULL will be returned.
## 0x04: Direct Console Output ## 0x04: Direct Console Output
Arguments: Arguments:
C: 0x04 - C: 0x04
X: Character value - X: Character value
Return Values: Return Values:
None - None
This call does direct (raw) console output; the value supplied will be treated This call does direct (raw) console output; the value supplied will be treated
as the value to write to screen memory, and will not be interpreted for terminal as the value to write to screen memory, and will not be interpreted for terminal