aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@trantor.hos.anvin.org>2009-01-10 21:57:00 -0800
committerH. Peter Anvin <hpa@trantor.hos.anvin.org>2009-01-10 21:57:00 -0800
commitd388472b7e965dd4e559f2b560cd8ed98af41d3d (patch)
tree24d6ac4e333df3cd2a21a45fc77ffe0862b31c2a
parent06ee470388d24f29afbdc31e16267668b48a236d (diff)
downloadabc80-d388472b7e965dd4e559f2b560cd8ed98af41d3d.tar.gz
abc80-d388472b7e965dd4e559f2b560cd8ed98af41d3d.tar.xz
abc80-d388472b7e965dd4e559f2b560cd8ed98af41d3d.zip
Add hack to auto-initialize the printer ROM devicesabc80-de1-15
-rw-r--r--CHANGES6
-rw-r--r--data/printer.asm3
-rw-r--r--data/ufdpatch.pl3
3 files changed, 11 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index c19eedf..3826af0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,9 @@
+Changes in release DE1-15:
+--------------------------
+* Add a hack to UFD-DOS so the PRA: and PRB: devices get automatically
+ initialized.
+
+
Changes in release DE1-14:
--------------------------
* File transfers via abcprintd:
diff --git a/data/printer.asm b/data/printer.asm
index 4063f96..fb45c7f 100644
--- a/data/printer.asm
+++ b/data/printer.asm
@@ -31,7 +31,8 @@ pr_jptable:
jp notthere ; RENAME
prab_jp_init:
- jp prab_init
+ call prab_init
+ jp 0x6543 ; Initialize DOS
pr_open:
call select
diff --git a/data/ufdpatch.pl b/data/ufdpatch.pl
index 7f69160..7f95aaf 100644
--- a/data/ufdpatch.pl
+++ b/data/ufdpatch.pl
@@ -9,6 +9,9 @@
use bytes;
@patches = (
+ # Hack to initalize the PRA:/PRB: devices in the printer
+ # ROM
+ [0x604b, 0xc3, 0x1b, 0x78],
# Ctrl-C fix
[0x6851, 0xcd, 0x9b, 0x6f],
[0x6f9b, 0xcd, 0x3e, 0x03, 0xe9]