From 72ba373765af20594a45142cc9bb3c5fe5bb14e6 Mon Sep 17 00:00:00 2001 From: Leo C Date: Wed, 29 Jun 2016 16:23:28 +0200 Subject: [PATCH] BIOS debugging with ddtz: Set 3F to 81 to en fifo inits. --- cbios/ascii.180 | 8 ++++++++ cbios/boot.180 | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/cbios/ascii.180 b/cbios/ascii.180 index 0ee942d..d329de4 100644 --- a/cbios/ascii.180 +++ b/cbios/ascii.180 @@ -105,6 +105,14 @@ IOCTL_MAX equ ($-ioctl_ftab)/2 ; asci_ioctl: + ld a,b + cp 1 + jr nz,asioc_1 + ld a,(INIDONE) + and 80h + cp INIDONEVAL + ret z +asioc_1: push hl ex (sp),ix ld (ix+o.absdev),b diff --git a/cbios/boot.180 b/cbios/boot.180 index 18a53f4..566f190 100644 --- a/cbios/boot.180 +++ b/cbios/boot.180 @@ -40,6 +40,7 @@ tpa$bank equ 0 hwinit: ld a,(INIDONE) + and 80h cp INIDONEVAL jr z,hwini_skip ld hl,hwini_tab @@ -63,7 +64,7 @@ hwini_skip: ld (@covec),hl ld hl,0000000000000000b ; assign printer to nothing: ld (@lovec),hl - ld hl,0100000000000000b ; assign AUX to ASCI0: + ld hl,0000000000000000b ; assign AUX to ASCI0: ld (@aivec),hl ld (@aovec),hl -- 2.39.2