X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/cdc4625b124f725fbc9462d5592d1d3be2aa613a..refs/tags/hexrel-6.2:/z180/init.180 diff --git a/z180/init.180 b/z180/init.180 index c3db6a1..b0b4b21 100644 --- a/z180/init.180 +++ b/z180/init.180 @@ -79,6 +79,7 @@ hwini0: db 3 ;count db rcr,CREFSH ;configure DRAM refresh db dcntl,INIWAITS ;wait states + db cbr,SYS$CBR db cbar,SYS$CBAR endif db 0 @@ -151,10 +152,10 @@ hw_reset: kstart: if CPU_Z180 - ld a,SYS$CBAR - out0 (cbar),a ld a,SYS$CBR out0 (cbr),a + ld a,SYS$CBAR + out0 (cbar),a endif ld sp,$stack ;01e1 @@ -220,7 +221,7 @@ wstart: if CPU_Z180 ; TODO: SYS$CBR -syscbr: db 1 +syscbr: db 0 endif ; @@ -249,7 +250,7 @@ buf.init: add hl,de push ix pop de -; TODO: address transation +; TODO: address translation ld (hl),e inc hl ld (hl),d @@ -360,9 +361,9 @@ buffers: db 1 dw mrx.fifo db 2 - dw co.fifo - db 3 dw ci.fifo + db 3 + dw co.fifo buftablen equ ($ - buffers)/3 inimsg: