[A83] Re: lcdbusy
[Prev][Next][Index][Thread]
[A83] Re: lcdbusy
The LCD driver needs +- 41 ticks between two OUT instructions. A good delay
routine is:
delay:
neg
neg
ret
But... when u have a fast loop or something in which the OUT instruction is
used, it is stupid to use such a routine (more delay than needed). To
optimize, count the clockticks that are in the loop between 2 OUTS,
substract them from 41, divide by 4 and add that number of NOPS. e.g. u have
a loop that is 30 clockticks between 2 OUT's then u have to add 4 nops to
get 42 ticks.
-Cheiz
>From: "SUCKER from the old days" <sucker_pvn@hotmail.com>
>Reply-To: assembly-83@lists.ticalc.org
>To: assembly-83@lists.ticalc.org
>Subject: [A83] lcdbusy
>Date: Fri, 28 Dec 2001 16:41:53 +0000
>
>
>Do I have to a lcdbusy (or something similar) everytime I
>write directly to the driver, or only between two writes?
>
> SUCKER
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx