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
12 .import _revflag,setcursor
18 jsr gotoxy ; Set cursor, drop x and y
30 cmp #ATEOL ; Atari-EOL?
44 cputdirect: ; accepts screen code
68 ; turn off cursor, update screen, turn on cursor
77 jsr mul40 ; destroys tmp4
79 adc SAVMSC ; add start of screen memory
94 ataint: .byte 64,0,32,96