Search found 23 matches

by LilaQ
Thu Oct 03, 2019 5:52 pm
Forum: NESemdev
Topic: Sweep (?) Bug in APU
Replies: 9
Views: 5492

Re: Sweep (?) Bug in APU

It does, let me tell you! :D
by LilaQ
Thu Oct 03, 2019 4:16 am
Forum: NESemdev
Topic: Sweep (?) Bug in APU
Replies: 9
Views: 5492

Re: Sweep (?) Bug in APU

That was it!

I wasn't setting the length counters to zero, on 0x4015 writes. Now it works like a charme.
Thank you so much! :-)
by LilaQ
Tue Oct 01, 2019 6:37 pm
Forum: NESemdev
Topic: Sweep (?) Bug in APU
Replies: 9
Views: 5492

Re: Sweep (?) Bug in APU

Okay, I just tried the NTSC version, still have the same problems. Also, when I completely comment out the Sweep, the ongoing sounds still persist! Without the weird sweeping of course, but a constant sound, that does not stop. Edit: Even more information. This only happens, in subworld levels / roo...
by LilaQ
Tue Oct 01, 2019 5:57 pm
Forum: NESemdev
Topic: Sweep (?) Bug in APU
Replies: 9
Views: 5492

Re: Sweep (?) Bug in APU

I do check for timer values below 8 and above 0x7ff. Length counter isn't used in SMB, as far as I can tell (Mesen has all length counters unchecked at all times, and it appears to be never called in my code). What's wrong with the envelope? Like, where do you hear something wrong? Yes, because I'm ...
by LilaQ
Tue Oct 01, 2019 5:25 pm
Forum: NESemdev
Topic: Sweep (?) Bug in APU
Replies: 9
Views: 5492

Sweep (?) Bug in APU

Hi guys, I have to bother you one more time, since I always get perfect and immediate help from you. So, I'm about to finish my APU, or so I thought. I was playing SMB, and the first level seemed to be great audio-wise. But after Mario automatically enters the pipe to the second level, things starte...
by LilaQ
Tue Oct 01, 2019 11:16 am
Forum: NESemdev
Topic: APU bug - SMB coin box "po-ling"
Replies: 2
Views: 3792

Re: APU bug - SMB coin box "po-ling"

That was it! Very precise suggestion, awesome, thank you so much! :)

I thought this is going to take me ages, but now it finally sounds just like the original :)
by LilaQ
Tue Oct 01, 2019 10:53 am
Forum: NESemdev
Topic: APU bug - SMB coin box "po-ling"
Replies: 2
Views: 3792

APU bug - SMB coin box "po-ling"

Hi guys, I still have a bug in my APU, and don't know what the culprit is. In SMB, when hitting a coin box, it's only a single sound, decreasing in volume. Not the Po-Ling it should be. Apparently, it is supposed to have T=104 for a short amount, then T=78 for the longer phase of the 'pling'. I only...
by LilaQ
Mon Sep 30, 2019 8:24 pm
Forum: NESemdev
Topic: APU questions from the Wiki - "Side Effects"
Replies: 8
Views: 5317

Re: APU questions from the Wiki - "Side Effects"

Thanks guys. Got envelope and sweep working, APU almost complete :)
by LilaQ
Mon Sep 30, 2019 1:35 pm
Forum: NESemdev
Topic: APU questions from the Wiki - "Side Effects"
Replies: 8
Views: 5317

Re: APU questions from the Wiki - "Side Effects"

And sweep reload is controlled by writes to 0x4001? (Which sets the reload flag?)
by LilaQ
Mon Sep 30, 2019 12:10 pm
Forum: NESemdev
Topic: APU questions from the Wiki - "Side Effects"
Replies: 8
Views: 5317

Re: APU questions from the Wiki - "Side Effects"

I have the clocking implemented already. The question rather is, what triggers the reloads / resets etc. On the Frame Counter page it makes sense that writes to 0x4017 will trigger what's in "Side Effects". But what about https://wiki.nesdev.com/w/index.php/APU_Length_Counter for example? There is a...
by LilaQ
Mon Sep 30, 2019 10:07 am
Forum: NESemdev
Topic: APU questions from the Wiki - "Side Effects"
Replies: 8
Views: 5317

APU questions from the Wiki - "Side Effects"

Hi guys, I have rudimentary sound working, but still have a few glitches since my envelope and sweep apparently are not working (one or both, I can't really make out now), so in SMB for example, Marios jump sounds etc. are very off. So, right now I'm trying to get envelope and sweep working for SC1....
by LilaQ
Tue Sep 17, 2019 10:54 am
Forum: NESemdev
Topic: 3-game cartridge and MMC3 / reset vector issue
Replies: 2
Views: 5797

Re: 3-game cartridge and MMC3 / reset vector issue

Thank you so much!
by LilaQ
Mon Sep 16, 2019 1:05 pm
Forum: NESemdev
Topic: 3-game cartridge and MMC3 / reset vector issue
Replies: 2
Views: 5797

3-game cartridge and MMC3 / reset vector issue

Hi guys, I'm trying to implement MMC3 right now. And I really want to get this multi-game cartridge to run, that I had myself when I got my NES back then (SMB - Tetris - World Cup, that was packaged with the NES) So, I think I kinda grasped the concept of MMC3, but I'm actually stuck when initializi...
by LilaQ
Fri Sep 13, 2019 9:32 am
Forum: NESemdev
Topic: 6 tile offset in "Duck Tales" when using a rope
Replies: 5
Views: 5542

Re: 6 tile offset in "Duck Tales" when using a rope

I had to account for negative (relative) scrolling values, but now everything looks as it is supposed to be! Thanks you so much! :)
by LilaQ
Fri Sep 13, 2019 8:18 am
Forum: NESemdev
Topic: 6 tile offset in "Duck Tales" when using a rope
Replies: 5
Views: 5542

Re: 6 tile offset in "Duck Tales" when using a rope

That's actually exactly the same thing I was thinking about right now. So, I should set the Y-Scroll relative to the scanline it is being set on! I will try that, thanks!