X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp-cpm3.git/blobdiff_plain/d6829fd3d7227d278aa32049665897a8a1b2d0d5..830b73bf0153777e6ae76ca44d64718a53b0b1b5:/cbios/conbuf.180 diff --git a/cbios/conbuf.180 b/cbios/conbuf.180 index 3c846dd..a9e1ec6 100644 --- a/cbios/conbuf.180 +++ b/cbios/conbuf.180 @@ -4,14 +4,14 @@ ; ; FIFO channels for communication with avr ; - global ff.init,ff.in,ff.ist,ff.out,ff.ost + global ff_dev extrn ff_empty,ff_get,ff_full,ff_put extrn bufinit,fifolst include config.inc if CPU_Z180 - include z180reg.inc + maclib z180reg.inc endif dseg @@ -21,6 +21,16 @@ ici equ ci.fifo_id * 2 ico equ co.fifo_id * 2 +;-------------------------------------------------------------- + + dseg + + dw ff.out + dw ff.ost + dw ff.in + dw ff.ist + dw ff.init +ff_dev: ;-------------------------------------------------------------- @@ -49,7 +59,7 @@ ff.ist: ret ;-------------------------------------------------------------- -; Get an input character +; Get an input character ff.in: push ix @@ -83,4 +93,3 @@ ff.out: ret end -