PDA

View Full Version : Screen refresh question in old GB emulation...



LinkOfTime
February 17th, 2005, 16:32
Hi
I need help understanding when to refresh the screen in an emulator I am making of the oldest Game Boy... (my first emu)
So far I understand it like this, please correct me if I am wrong:
The screen refresh accures 59.7 times per second and lasts for 1.1mSec.
It refreshes the screen by lines and not by whole tiles, I mean, one line of a tile at a time and not an entire tile at a time. When all the 14 tiles horizonally have been refreshed, it increases the LY register by 1 and goes to the next line. When it is over, LY reaches the value 144, an interrupt accures.

Hope I don't have too much to change in my emu... :)
Thanks for the help in advance...

smcd
February 17th, 2005, 21:27
http://www.emutalk.net/showthread.php?p=258763 could be helpful?

LinkOfTime
February 18th, 2005, 00:43
Well, it helped a bit, but I still don't understand it entirely... but thanks anyway sethmcdoogle.


If anyone could explain how it works to me in a P.M or in the ICQ, I would really appreciate it...

Thanks again in advance :)