tag:blogger.com,1999:blog-17487316.post8976645422911508729..comments2024-01-13T09:14:12.131+00:00Comments on The life of a Games Programmer: Plus/4 LCD addon!!!Mikehttp://www.blogger.com/profile/15958965170878448339noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-17487316.post-82982995926106079662007-01-09T20:32:00.000+00:002007-01-09T20:32:00.000+00:00Yes, you're quite right... properly sized delays a...Yes, you're quite right... properly sized delays are fine. I needed it on the PIC I used before - or rather it was easier on the PIC rather than work out delays. <br /><br />It would speed things up AND allow you to read the current DRAM address... but yes...you can live without them. <br /><br />I'll post the code up soon in case anyone cares, although without the hardware...who's gonna use it! :)Mikehttps://www.blogger.com/profile/15958965170878448339noreply@blogger.comtag:blogger.com,1999:blog-17487316.post-63812276731891897622007-01-09T12:18:00.000+00:002007-01-09T12:18:00.000+00:00Very few people check busy flag anyway... The meth...Very few people check busy flag anyway... The method I've used in my embedded projects is to use busy loops during LCD init, and afterwards throw data bytes into circular buffer. Buffer is read from ~2 KHz timer interrupt which does the actual LCD writing. With 2*16 char LCD that gives >60 Hz refresh, which is a lot faster that LCD can display.<br /><br />With 1 MHz computers it might be faster to just busy wait the <50 usec needed between chars :)<br /><br />-- <br />TNTAnonymousnoreply@blogger.com