diff --git a/recipes/rc2014/zasm/glue.asm b/recipes/rc2014/zasm/glue.asm index 1c85db7..0a899d1 100644 --- a/recipes/rc2014/zasm/glue.asm +++ b/recipes/rc2014/zasm/glue.asm @@ -21,6 +21,7 @@ jp fsOpen jp fsGetB jp printstr + jp printcrlf jp _blkGetB jp _blkPutB jp _blkSeek @@ -28,12 +29,15 @@ jp sdcGetB jp sdcPutB jp blkGetB - jp stdioPutC ; interrupt hook .fill 0x38-$ jp aciaInt +; *** cont. *** + + jp stdioPutC + .inc "err.h" .inc "ascii.h" .inc "blkdev.h" diff --git a/recipes/rc2014/zasm/user.h b/recipes/rc2014/zasm/user.h index ad53ba9..50cac04 100644 --- a/recipes/rc2014/zasm/user.h +++ b/recipes/rc2014/zasm/user.h @@ -10,6 +10,7 @@ .equ fsOpen @+3 .equ fsGetB @+3 .equ printstr @+3 +.equ printcrlf @+3 .equ _blkGetB @+3 .equ _blkPutB @+3 .equ _blkSeek @+3 @@ -17,4 +18,6 @@ .equ sdcGetB @+3 .equ sdcPutB @+3 .equ blkGetB @+3 -.equ stdioPutC @+3 + +; *** cont. *** +.equ stdioPutC 0x3b diff --git a/recipes/sms/kbd/glue.asm b/recipes/sms/kbd/glue.asm index 7f376d1..cde534f 100644 --- a/recipes/sms/kbd/glue.asm +++ b/recipes/sms/kbd/glue.asm @@ -23,10 +23,11 @@ .equ GRID_COLS VDP_COLS .equ GRID_ROWS VDP_ROWS .equ GRID_SETCELL vdpSetCell +.equ GRID_GETC kbdGetC .inc "grid.asm" .equ STDIO_RAMSTART GRID_RAMEND -.equ STDIO_GETC kbdGetC +.equ STDIO_GETC gridGetC .equ STDIO_PUTC gridPutC .inc "stdio.asm" diff --git a/recipes/sms/romasm/glue.asm b/recipes/sms/romasm/glue.asm index 2524c55..94b0a47 100644 --- a/recipes/sms/romasm/glue.asm +++ b/recipes/sms/romasm/glue.asm @@ -52,10 +52,11 @@ .equ GRID_COLS VDP_COLS .equ GRID_ROWS VDP_ROWS .equ GRID_SETCELL vdpSetCell +.equ GRID_GETC kbdGetC .inc "grid.asm" .equ STDIO_RAMSTART GRID_RAMEND -.equ STDIO_GETC kbdGetC +.equ STDIO_GETC gridGetC .equ STDIO_PUTC gridPutC .inc "stdio.asm"