It is currently Mon Feb 18, 2019 3:17 am

All times are UTC - 7 hours

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jun 21, 2016 2:00 pm 
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)

My length table array:
        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:
Fancy Fish Mod - Minecraft Mod:

PostPosted: Thu Jul 14, 2016 8:58 am 
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.
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 ***

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: Google Adsense [Bot] and 7 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:  
Powered by phpBB® Forum Software © phpBB Group