Terminal control/Ringing the terminal bell: Difference between revisions

Content added Content deleted
(new Asymptote beep())
Line 21: Line 21:
; reg a holds the ascii char to be output ;
; reg a holds the ascii char to be output ;
;-----------------------------------------------------;
;-----------------------------------------------------;
outeee = $e1d1 ROM: console putchar routine
outeee = $e1d1 ;ROM: console putchar routine
.or $0f00
.or $0f00
;-----------------------------------------------------;
;-----------------------------------------------------;
main ldaa #7 Load the ascii BEL char
main ldaa #7 ;Load the ascii BEL char
jsr outeee and print it
jsr outeee ; and print it
swi Return to the monitor
swi ;Return to the monitor
.en</lang>
.en</lang>