getting rid of old filesystem functions

This commit is contained in:
minjaesong
2022-09-06 20:30:46 +09:00
parent 8232053695
commit 0d1e33f7e6
14 changed files with 102 additions and 47 deletions

View File

@@ -73,8 +73,10 @@ Functions:
\1\formalsynopsis{getch}{}{Returns a key code read from the keyboard.}
\1\formalsynopsis{poll\_keys}{}[IntArray(8) of Keycodes]{Poll the keyboard, then returns the captured keycodes. If less than 8 keys were held down at the moment of the polling, 0 will be substituted for the spot on the array.}
\1\formalsynopsis{move}{y: Int, x: Int}{Moves the text cursor to the given position. Note that the cursor position starts at 1.}
\1\formalsynopsis{addch}{char: Int}{Puts a character denoted by its code point to where the text cursor is. The cursor will not advance.}
\1\formalsynopsis{addch}{char: Int}{Puts a character denoted by its code point to where the text cursor is. The cursor will not advance. NOTE: this function accesses the graphics device directly, which may not be desirable; use \code{prnch} when you really need to \code{print} the character.}
\1\formalsynopsis{mvaddch}{y: Int, x: Int, char: Int}{Combination of \code{move} and \code{addch}.}
\1\formalsynopsis{prnch}{char: Int}{Prints out a character denoted by its code point using the escape sequences. Unlike \code{addch} this function actually print out a character, which makes difference in certain situation.}
\1\formalsynopsis{getmaxyx}{}[IntArray(2)]{Returns the size of the terminal in row-column order.}
\1\formalsynopsis{getyx}{}[IntArray(2)]{Returns the current position of the text cursor in row-column order.}
\1\formalsynopsis{curs\_up}{}{Moves the text cursor up once.}

View File

@@ -2,10 +2,10 @@
\indexentry{stdio (library)|hyperpage}{9}
\indexentry{console (library)|hyperpage}{9}
\indexentry{con (library)|hyperpage}{9}
\indexentry{gzip (library)|hyperpage}{11}
\indexentry{gzip (library)|hyperpage}{11}
\indexentry{base64 (library)|hyperpage}{12}
\indexentry{base64 (library)|hyperpage}{12}
\indexentry{gzip (library)|hyperpage}{12}
\indexentry{gzip (library)|hyperpage}{12}
\indexentry{base64 (library)|hyperpage}{13}
\indexentry{base64 (library)|hyperpage}{13}
\indexentry{sys (library)|hyperpage}{13}
\indexentry{block communication|hyperpage}{16}
\indexentry{com (library)|hyperpage}{16}

View File

@@ -1,6 +1,6 @@
\begin{theindex}
\item base64 (library), \hyperpage{12}
\item base64 (library), \hyperpage{13}
\item block communication, \hyperpage{16}
\item boot process, \hyperpage{29}
@@ -27,7 +27,7 @@
\item gl (DOS), \hyperpage{39}
\item graphics (library), \hyperpage{26}
\item gzip (library), \hyperpage{11}
\item gzip (library), \hyperpage{12}
\indexspace