2 ; Ullrich von Bassewitz, 06.08.1998
4 ; void cputsxy (unsigned char x, unsigned char y, char* s);
5 ; void cputs (char* s);
8 .export _cputsxy, _cputs
13 sta ptr1 ; Save s for later
15 jsr gotoxy ; Set cursor, pop x and y
16 jmp L0 ; Same as cputs...
18 _cputs: sta ptr1 ; Save s
24 sty tmp1 ; Save offset
25 jsr _cputc ; Output char, advance cursor
28 inc ptr1+1 ; Bump high byte