diff options
author | H. Peter Anvin <hpa@trantor.hos.anvin.org> | 2009-01-10 21:57:00 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@trantor.hos.anvin.org> | 2009-01-10 21:57:00 -0800 |
commit | d388472b7e965dd4e559f2b560cd8ed98af41d3d (patch) | |
tree | 24d6ac4e333df3cd2a21a45fc77ffe0862b31c2a | |
parent | 06ee470388d24f29afbdc31e16267668b48a236d (diff) | |
download | abc80-de1-15.tar.gz abc80-de1-15.tar.xz abc80-de1-15.zip |
Add hack to auto-initialize the printer ROM devicesabc80-de1-15
-rw-r--r-- | CHANGES | 6 | ||||
-rw-r--r-- | data/printer.asm | 3 | ||||
-rw-r--r-- | data/ufdpatch.pl | 3 |
3 files changed, 11 insertions, 1 deletions
@@ -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] |