Remove an onnecessary library from the emulator and modify the wording in the readme

This commit is contained in:
CrazyEttin 2022-08-13 00:09:36 +03:00
parent 69005574f3
commit 5d92a33796
2 changed files with 9 additions and 7 deletions

View File

@ -2,7 +2,7 @@ program Emulator;
{$MODE OBJFPC}
uses Crt{$ifdef printer}, Printer{$endif};
uses Crt;
const
IO = $ffff;

View File

@ -79,20 +79,22 @@ In addition to the true instructions there are three
pseudo-instructions. ORG defines the starting address of the program: it
can only occur as the first instruction and cannot have a label, and is
not required if the starting address is 0. DATA introduces a byte of
data. ADDR introduces two bytes of data containing the address of its
argument, a reference to or relative to a label.
data. ADDR introduces two bytes of data containing the address of a
reference to or relative to a label.
Memory-Mapped Devices
---------------------
Input (when read from) and output (when written to) are mapped to
address FFFF. The emulator emulates a dumb terminal for this.
address FFFF. The emulator emulates a dumb terminal with local echo for
this.
Arbitrary devices can be mapped to the other reserved addresses.
The emulator can be compiled in Linux with support for a dot matrix
printer at /dev/usb/lp0 with the argument -dprinter. The printer is
mapped to address FFFE in the emulator.
The emulator can be compiled in Linux with support for a line printer at
/dev/usb/lp0 with the argument -dprinter. The printer is mapped to
address FFFE in the emulator. If you wish to use a different setup you
have to modify the code yourself.
Initial Program Loader
----------------------