X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp-cpm3.git/blobdiff_plain/f1710b4798b98078e7d1c8d07691ec1aea03855f..afbcea2d821d1166ae347338ae52a64f3ee51e57:/cbios/boot.180 diff --git a/cbios/boot.180 b/cbios/boot.180 index fcf00ae..566f190 100644 --- a/cbios/boot.180 +++ b/cbios/boot.180 @@ -3,7 +3,6 @@ public hwinit,?init,?ldccp,?rlccp - public f_cpu extrn boot,?conin @@ -13,9 +12,9 @@ extrn @civec,@covec,@aivec,@aovec,@lovec extrn @cbnk,?move,?xmove - include version.inc - include config.inc - include z180reg.inc + maclib z180reg.inc + maclib config.inc + maclib version.inc ccpsize equ 0c80h @@ -41,6 +40,7 @@ tpa$bank equ 0 hwinit: ld a,(INIDONE) + and 80h cp INIDONEVAL jr z,hwini_skip ld hl,hwini_tab @@ -54,6 +54,7 @@ hwini_skip: call cpu_frq ld (f_cpu),hl ld (f_cpu+2),de + call intinit ; setup interrupts and vectors ret ?init: @@ -63,12 +64,11 @@ 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 - call intinit ; setup interrupts and vectors call prt0ini ; init timer ei ld c,2