2 ; Christian Groessler, November-2002
4 ; get a char from the keyboard
9 .export _cgetc,setcursor
23 sta ICAX1Z ; fix problems with direct call to KEYBDV
36 adc SAVMSC ; add start of screen memory
49 ldx cursor ; current cursor setting as requested by the user
55 cont: stx CRSINH ; update system variable
58 and #$7f ; clear high bit / inverse flag
59 finish: sta (OLDADR),y ; update on-screen display
62 turnon: ora #$80 ; set high bit / inverse flag