; jmh 980509: redid all the arguments (added ifnb, since the only code that
;	      uses these macros already has the registers set).

@SetCurPos macro one
ifnb <one>
	mov	bh,one
endif
	mov	ah,2
	int	10h
	endm

@GetCur macro	one
ifnb <one>
	mov	bh,one
endif
	mov	ah,3
	int	10h
	endm

@SetCurSz macro one,two
ifnb <one>				; if argument one assume cx
ifnb <two>				; if both arguments assume ch,cl
	mov	ch,one			; if no arguments (or arg one is blank)
	mov	cl,two			;   assume cx is already set
else
	mov	cx,one
endif
endif
	mov	ah,1
	int	10h
	endm

@GetMode macro
	mov	ah,0Fh
	int	10h
	endm

@GetChAtr macro one
ifnb <one>
	mov	bh,one
endif
	mov	ah,8
	int	10h
	endm
