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} {$MODE OBJFPC}
uses Crt{$ifdef printer}, Printer{$endif}; uses Crt;
const const
IO = $ffff; 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 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 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 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 data. ADDR introduces two bytes of data containing the address of a
argument, a reference to or relative to a label. reference to or relative to a label.
Memory-Mapped Devices Memory-Mapped Devices
--------------------- ---------------------
Input (when read from) and output (when written to) are mapped to 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. Arbitrary devices can be mapped to the other reserved addresses.
The emulator can be compiled in Linux with support for a dot matrix The emulator can be compiled in Linux with support for a line printer at
printer at /dev/usb/lp0 with the argument -dprinter. The printer is /dev/usb/lp0 with the argument -dprinter. The printer is mapped to
mapped to address FFFE in the emulator. address FFFE in the emulator. If you wish to use a different setup you
have to modify the code yourself.
Initial Program Loader Initial Program Loader
---------------------- ----------------------