It is currently Sat Dec 16, 2017 1:52 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jun 21, 2016 2:00 pm 
Offline
User avatar

Joined: Sun Jun 05, 2016 1:41 pm
Posts: 74
Dear all,

I was wondering if anyone had issues with the length table tests within Blargg's apu_test NES rom. My actual length table seems to be correct but perhaps the problem is a secondary one. Anyone care to share their experiences please? What should I look for?

Screenshot from my emulator (EmuNes)
Image

My length table array:
Code:
        protected static readonly byte[] lengthTable = {
            10, 254, 20, 2, 40, 4, 80, 6, 160, 8, 60, 10, 14, 12, 26, 14,
            12, 16, 24, 18, 48, 20, 96, 22, 192, 24, 72, 26, 16, 28, 32, 30
        };

_________________
Tile IDE and tile engine for XNA: http://tide.codeplex.com/
Fancy Fish Mod - Minecraft Mod: http://fancyfishmod.weebly.com/


Top
 Profile  
 
PostPosted: Thu Jul 14, 2016 8:58 am 
Offline
User avatar

Joined: Thu May 29, 2014 2:48 pm
Posts: 20
Location: Mexico
Yeah i remember failing that test.
Basically you need to copy the values from the wiki. if those values doesn't make your emulator pass the test test, then something is wrong with your implementation. Log how the length counter is decremented and maybe you will find some hints there.
Myself I had A really difficult time with the APU documentation on the wiki, specially the frame counter info, i was about to make a suggestion to improve the documentation but then Disch did something even better.
viewtopic.php?f=3&t=13767&hilit=apu+pseudo
Whenever i have trouble implementing something APU related i check it. At least for me it's way clearer than the wiki.

Happy coding!

_________________
*** O-Nes-Sama emulator team ***


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 8 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Group