Search found 349 matches

by ulfalizer
Tue Sep 03, 2013 9:06 pm
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53674

Re: DMA operation in APU

There is something I don't get in end_dmc_timer , which might also be a clue to what's wrong with my code/understanding. The coarse sync part looks as follows: ; Returns in XA number of cycles elapsed since call to ; time_code_begin, MOD dmc_timer_modulo. Unreliable if ; result is dmc_timer_max or g...
by ulfalizer
Mon Sep 02, 2013 7:50 pm
Forum: NESemdev
Topic: RAMBO-1 IRQ timing
Replies: 8
Views: 8873

Re: RAMBO-1 IRQ timing

3gengames wrote:Isn't it consecutive writes the first one is the only one that takes effect? At least that's what I thought was determined from all tests, ever.
Yeah, that was what I meant - "...all writes but the first always being ignored..."
by ulfalizer
Mon Sep 02, 2013 7:31 pm
Forum: NESemdev
Topic: RAMBO-1 IRQ timing
Replies: 8
Views: 8873

Re: RAMBO-1 IRQ timing

Thanks for the investigation. Another thing I'm curious about is the precise circumstances where MMC1 ignores writes. thefox implied it's not as simple as all writes but the first always being ignored for consecutive writes (can't remember where he said that though). Emulating it like that fixes Bil...
by ulfalizer
Mon Sep 02, 2013 2:19 pm
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53674

Re: DMA operation in APU

blargg wrote:I added more comments in sync_dmc.s and dmc_timer.s: sprdma_and_dmc_dma2.zip
Thanks.

Was occupied for a while, but I'll start looking into it now.
by ulfalizer
Sat Aug 31, 2013 12:02 pm
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53674

Re: DMA operation in APU

Yup, got that much. Trying to understand how the test code itself works and what assumptions it makes though since the output is so off despite passing all the APU tests.
by ulfalizer
Sat Aug 31, 2013 10:40 am
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53674

Re: DMA operation in APU

Still a bit confused as to what this test is doing and expects to happen at different points. For example, the test_ routine which gets called 10 times to test different sample loading locations starts like test_: jsr print_a pha eor #$FF pha setb $4012,<((dmc_sample-$C000)/$40) jsr pre_test jsr tim...
by ulfalizer
Wed Aug 28, 2013 10:55 pm
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53674

Re: DMA operation in APU

blargg wrote:Full sources + rom: sprdma_and_dmc_dma.zip
Thanks!
by ulfalizer
Tue Aug 27, 2013 12:51 am
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53674

Re: DMA operation in APU

Haven't traced through the code to figure out what's going on yet, but for some reason the output ends up way off. I pass all the apu_test, apu_reset, and cpu_interrupts_v2 tests (and all the ppu_vbl_nmi tests except 07-nmi_on_timing.nes (off by 1-2 ticks - might be some analog thing going on there)...
by ulfalizer
Mon Aug 26, 2013 11:42 am
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53674

Re: DMA operation in APU

blargg wrote:Looks like it was an off-the-cuff test. I've located the source and will package it the next time I'm on my old Mac.
Would be appreciated. Could PM it too if you have it and feel like it - off-the-cuff state if better than nothing. :)
by ulfalizer
Mon Aug 26, 2013 6:46 am
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53674

Re: DMA operation in APU

Is source code available for the sprdma_and_dmc_dma test roms?
by ulfalizer
Sun Aug 25, 2013 12:05 am
Forum: NESemdev
Topic: Illegal Instructions doing (A & Immediate), ANC/ALR/ARR/..
Replies: 14
Views: 7094

Re: Illegal Instructions doing (A & Immediate), ANC/ALR/ARR/

I know very little about these sorts of analog effects, but since Visual 6502 seems to get the SAX right I expected it would get ANC/ALR/ARR right as well. For a high-level overview, it has to do with a line being driven to 0 and 1 simultaneously (i.e., having power applied to it and also being sun...
by ulfalizer
Sat Aug 24, 2013 11:58 pm
Forum: NESemdev
Topic: Illegal Instructions doing (A & Immediate), ANC/ALR/ARR/..
Replies: 14
Views: 7094

Re: Illegal Instructions doing (A & Immediate), ANC/ALR/ARR/

For what it's worth, I set the status flags based on the & result for those instructions and pass blargg's instr_test-v4. Haven't looked at how comprehensively it tests those instructions though, but it seems to be a more comprehensive test than nestest overall at least.
by ulfalizer
Wed Aug 21, 2013 10:54 pm
Forum: NESemdev
Topic: Somewhere along the way, I broke Punch-Out!
Replies: 8
Views: 3527

Re: Somewhere along the way, I broke Punch-Out!

Here's my setup, which works for Punch-Out!! at least (not sure if it's accurate in all situations when different kinds of magic tiles appear next to each other): I have two booleans low_bank_uses_0FDx_reg and high_bank_uses_1FDx_reg . I keep track of the previous value on the PPU's address bus each...
by ulfalizer
Wed Aug 21, 2013 12:27 am
Forum: NESemdev
Topic: Somewhere along the way, I broke Punch-Out!
Replies: 8
Views: 3527

Re: Somewhere along the way, I broke Punch-Out!

Do you update the mappings when $Bxxx/Cxxx/Dxxx/Exxx are written to? Remember that the magic tiles only select which registers select the low/high CHR page. Writing those registers will also update the mapping.
by ulfalizer
Mon Aug 19, 2013 8:29 pm
Forum: General Stuff
Topic: "Zelda II" - "Guardian Legend"
Replies: 20
Views: 6771

Re: "Zelda II" - "Guardian Legend"

Found something familiar in the Journey to Silius soundtrack:

http://www.youtube.com/watch?v=dNCrpIL2XlY&t=11m37s vs. http://www.youtube.com/watch?v=pFZZ3o7lXvo

Close enough that the first one immediately made me think of the second at least.