Re: A86: _clrLCD and a


[Prev][Next][Index][Thread]

Re: A86: _clrLCD and a




>Yes, it has to clear at least one byte using A so that it can clear the rest
>of the screen.

Wow, Dux is wrong for once! That happens very rarely, if ever.


Try this code:
	ld		a,$05		;any old number
	call	_clrLCD		;call it
	add		a,$30		;add 30 for the char offset
	ld		b,a		;putc works with b
	jp		_putc		;put it to screen


It should print a 5 at the current position. Thus _clrLCD does not destroy
a. It may push/pop around the routine tho.
CHICANE
ICQ: #14727618
chicane on EFNET #ti
Homepage: Under Construction.


References: