It is currently Sun Aug 19, 2018 4:49 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Dec 18, 2017 7:34 am 
Offline
User avatar

Joined: Mon Dec 29, 2014 1:46 pm
Posts: 799
Location: New York, NY
Can anyone shed some light on how Donkey Kong Land 2 performs its frame timing? It does not appear to depend on interrupts. Rather, it seems to work its magic by polling LY and the LCD Control Register.

The timing appears to be slightly off in my emulator. Sometimes it writes to VRAM for a full extra scanline after VBlank. Other times it starts writing to VRAM a few dots before HBlank. If I allow it to write to VRAM at arbitrary times (which is not how the hardware works), the game appears to function normally.


Last edited by zeroone on Mon Dec 25, 2017 1:18 pm, edited 2 times in total.

Top
 Profile  
 
PostPosted: Mon Dec 25, 2017 1:18 pm 
Offline
User avatar

Joined: Mon Dec 29, 2014 1:46 pm
Posts: 799
Location: New York, NY
BGB confirms inaccessible VRAM writes and the game functions normally even when these writes are blocked. It's strange, but it functions.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group