mirror of https://github.com/wwarthen/RomWBW.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
896 B
34 lines
896 B
; terminal.lib 2/17/2012 dwg - review for release 1.5.1.0
|
|
; terminal.lib 2/11/2012 dwg - review for release 1.5
|
|
; terminal.lib 2/07/2012 dwg - review for release 1.5
|
|
; terminal.lib 12/25/2011 dwg -
|
|
;
|
|
;--------------------------
|
|
extrn xcrtinit
|
|
extrn xcrtlc
|
|
extrn xcrtclr
|
|
|
|
crtinit macro
|
|
enter
|
|
call xcrtinit
|
|
leave
|
|
endm
|
|
|
|
;--------------------------
|
|
; Clear the CRT Screen using the appropriate escape sequence by termtype
|
|
crtclr macro
|
|
enter
|
|
call xcrtclr ; call actual routine in terminal.asm
|
|
leave
|
|
endm
|
|
;--------------------------
|
|
crtlc macro line,column
|
|
enter
|
|
mvi h,line ; load 1st positional parameter into reg
|
|
mvi l,column ; load 2nd positional parameter into reg
|
|
call xcrtlc ; call actual routine in terminal.asm
|
|
leave
|
|
endm
|
|
;--------------------------
|
|
; eof - terminal.lib
|
|
|