2 ; Mark Keates, Christian Groessler
4 ; void cputcxy (unsigned char x, unsigned char y, char c);
8 .export _cputcxy, _cputc
9 .export plot, cputdirect, putchar
10 .import popa, _gotoxy, mul40
19 jsr _gotoxy ; Set cursor, drop x
31 cmp #ATEOL ; Atari-EOL?
45 cputdirect: ; accepts screen code
48 ; update cursor position pointer
80 ; turn off cursor, update screen, turn on cursor
91 adc SAVMSC ; add start of screen memory
104 ; update OLDADR (maybe ROWCRS and COLCRS were changed)
116 ataint: .byte 64,0,32,96