[A83] Re: lcdbusy


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

[A83] Re: lcdbusy




> Van: Gijs Leegwater <g_leegwater@hotmail.com>
> 
> The LCD driver needs +- 41 ticks between two OUT instructions. A good
delay 
> routine is:
> 
> delay:
>       neg
>       neg
>       ret
> 

Another one is:

	ex	hl,(sp)
	ex	hl,(sp)

No calling, no sizewaste, but is too slow on the Ti83+SE when in 15MHz mode
(and maybe also for the Ti83 ROM1.10001). Just counting how much clocks you
have between the OUTs (for calculating the new value) can also help to
improve the speed/size.

	Henk Poley <><