device files are mounted under the drive letter of dollarsign

This commit is contained in:
minjaesong
2022-09-24 16:46:44 +09:00
parent f9eecab830
commit 0304ded991
8 changed files with 38 additions and 26 deletions

View File

@@ -20,9 +20,9 @@
\indexentry{boot process|hyperpage}{29}
\indexentry{coreutils (DOS)|hyperpage}{30}
\indexentry{applications (DOS)|hyperpage}{31}
\indexentry{pipe (DOS)|hyperpage}{33}
\indexentry{filesystem (DOS)|hyperpage}{35}
\indexentry{file descriptor (DOS)|hyperpage}{35}
\indexentry{device file|hyperpage}{37}
\indexentry{input (DOS)|hyperpage}{39}
\indexentry{gl (DOS)|hyperpage}{40}
\indexentry{pipe (DOS)|hyperpage}{34}
\indexentry{filesystem (DOS)|hyperpage}{36}
\indexentry{file descriptor (DOS)|hyperpage}{36}
\indexentry{device file|hyperpage}{38}
\indexentry{input (DOS)|hyperpage}{40}
\indexentry{gl (DOS)|hyperpage}{41}

View File

@@ -19,22 +19,22 @@
\indexspace
\item device file, \hyperpage{37}
\item device file, \hyperpage{38}
\indexspace
\item file descriptor (DOS), \hyperpage{35}
\item filesystem (DOS), \hyperpage{35}
\item file descriptor (DOS), \hyperpage{36}
\item filesystem (DOS), \hyperpage{36}
\indexspace
\item gl (DOS), \hyperpage{40}
\item gl (DOS), \hyperpage{41}
\item graphics (library), \hyperpage{26}
\item gzip (library), \hyperpage{12}
\indexspace
\item input (DOS), \hyperpage{39}
\item input (DOS), \hyperpage{40}
\indexspace
@@ -51,7 +51,7 @@
\indexspace
\item pipe (DOS), \hyperpage{33}
\item pipe (DOS), \hyperpage{34}
\indexspace

View File

@@ -4,7 +4,7 @@
All \thedos-related features requires the DOS to be fully loaded.
On this documentation, what would be a reverse solidus (e.g. directory separators) are typesetted using a slash; while they \emph{are} interchangeable, using the reverse solidus are recommended for path input.
\chapter{Bootstrapping}
@@ -59,10 +59,14 @@ Variables can be set or changed using \textbf{SET} commands.
This chapter will only briefly list and describe the applications.
\begin{outline}
\1\dossynopsis{basica}{Invokens a BASIC interpreter stored in the ROM. If no BASIC rom is present, nothing will be done.}
\1\dossynopsis{basica}{Invokes a BASIC interpreter stored in the ROM. If no BASIC rom is present, nothing will be done.}
\1\dossynopsis{basic}{If your system is bundled with a software-based BASIC, this command will invoke the BASIC interpreter stored in the disk.}
\1\dossynopsis{color}{Changes the background and the foreground of the active session.}
\1\dossynopsis{command}{The default text-based DOS shell. Call with \code{command /fancy} for more \ae sthetically pleasing looks.}
\1\dossynopsis{decodeipf}{file}{Decodes the IPF-formatted image to the framebuffer using the graphics processor.}
\1\dossynopsis{drives}{Shows the list of the connected and mounted disk drives.}
\1\dossynopsis{edit}{path}{The interactive full-screen text editor.}
\1\dossynopsis{encodeipf}{1/2 imagefile ipffile}{Encodes the given image file (.jpg, .png, .bmp, .tga) to the IPF format using the graphics hardware.}
\1\dossynopsis{false}{Returns errorlevel 1 upon execution.}
\1\dossynopsis{hexdump}{path}{Prints out the contents of a file in hexadecimal view. Supports pipe.}
\1\dossynopsis{less}{path}{Allows user to read the long text, even if they are wider and/or taller than the screen. Supports pipe.}
@@ -168,7 +172,7 @@ Functions:
\section{The Device Files}
\index{device file}Some devices are also virtualised through the file descriptor, and they are given a special path. (their fullPath does not contain a drive letter)
\index{device file}Some devices are also virtualised through the file descriptor, and they are given a special drive letter of \code{\$}. (e.g. \code{\$:/RND})
\begin{outline}
\1\inlinesynopsis{RND}{returns random bytes upon reading}
@@ -186,7 +190,7 @@ Functions:
\2\argsynopsis{pwrite}{writes the bytes from the given pointer.}
\2\argsynopsis{bwrite}{identical to \code{print()} except the given byte array will be casted to string.}
\2\argsynopsis{swrite}{identical to \code{print()}.}
\1\inlinesynopsis{FBIPF}{decodes IPF-formatted image to the framebuffer. Use the \emph{Graphics} library for the encoding.}
\1\inlinesynopsis{FBIPF}{decodes IPF-formatted image to the framebuffer. Use the bundled \code{encodeipf.js} for the encoding.}
\2\argsynopsis{pwrite, bwrite}{decodes the given IPF binary data. Offsets and counts for \code{pwrite} are ignored.}
\end{outline}