From 5d92a337969fcf00e9293ab984caf385db664851 Mon Sep 17 00:00:00 2001 From: CrazyEttin <> Date: Sat, 13 Aug 2022 00:09:36 +0300 Subject: [PATCH] Remove an onnecessary library from the emulator and modify the wording in the readme --- emulator.pas | 2 +- readme.md | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/emulator.pas b/emulator.pas index 1a5e8c1..92bad38 100644 --- a/emulator.pas +++ b/emulator.pas @@ -2,7 +2,7 @@ program Emulator; {$MODE OBJFPC} -uses Crt{$ifdef printer}, Printer{$endif}; +uses Crt; const IO = $ffff; diff --git a/readme.md b/readme.md index 204190a..7bbe18a 100644 --- a/readme.md +++ b/readme.md @@ -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 ----------------------