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
12 .import _revflag,setcursor
19 jsr _gotoxy ; Set cursor, drop x
31 cmp #ATEOL ; Atari-EOL?
45 cputdirect: ; accepts screen code
69 ; turn off cursor, update screen, turn on cursor
78 jsr mul40 ; destroys tmp4
80 adc SAVMSC ; add start of screen memory
95 ataint: .byte 64,0,32,96