From: Leo C Date: Wed, 29 Jun 2016 14:23:28 +0000 (+0200) Subject: BIOS debugging with ddtz: Set 3F to 81 to en fifo inits. X-Git-Tag: hexrel-6.9~21 X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp-cpm3.git/commitdiff_plain/72ba373765af20594a45142cc9bb3c5fe5bb14e6?ds=sidebyside BIOS debugging with ddtz: Set 3F to 81 to en fifo inits. --- 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