Search found 174 matches

by ReaperSMS
Thu Jun 10, 2010 1:52 pm
Forum: SNESdev
Topic: HVCMODE Pin???
Replies: 59
Views: 22574

The 6280 is probably using a rather skewed duty cycle for access then, or they went with overlapping phases and hoped for the best. As for the SA-1, the rom there was 90-100ns, 10.7MHz access cycle, or 2 master clocks. The 5A22 gets two cycles for one access, the SA-1 then gets two cycles for two ac...
by ReaperSMS
Thu Jun 10, 2010 12:59 pm
Forum: SNESdev
Topic: HVCMODE Pin???
Replies: 59
Views: 22574

Haven't seen timing diagrams for the 6280, but I'm betting the address bus didn't quite work like that. Clock speed isn't really the right term for these memories anyways, since they're all async. It's more likely it still had the 2x requirement, and used the off-duty half of the CPU cycle for refre...
by ReaperSMS
Thu Jun 10, 2010 12:11 pm
Forum: SNESdev
Topic: HVCMODE Pin???
Replies: 59
Views: 22574

That would be due to how the clocking works on the 6502 and 65816. The input clock is turned into two mutually exclusive clocks, phi1 and phi2. phi1 controls the address bus and data out latches, instruction register, and most of the internal control signals, including the various register loads. ph...
by ReaperSMS
Wed Jun 09, 2010 7:26 pm
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53671

If your APU isn't running on a per cycle basis, how could it possibly be doing the DMA cycle stealing correctly?
by ReaperSMS
Wed Jun 09, 2010 4:59 pm
Forum: SNESdev
Topic: HVCMODE Pin???
Replies: 59
Views: 22574

The TG16 ran at 7MHz, and packed all sorts of instructions that should have been on the 6502 to begin with, and had some block move instructions to cover for DMA. Only the PRG made it to the cart there IIRC, and it was a vram based console more like the snes, though with fewer colors, only one BG la...
by ReaperSMS
Wed Jun 09, 2010 3:15 pm
Forum: NESemdev
Topic: MMC3 RevA vs. RevB IRQ question
Replies: 26
Views: 25497

That probably just means that the games don't rely on the different behavior.
by ReaperSMS
Wed Jun 09, 2010 1:01 am
Forum: NESemdev
Topic: DMA operation in APU
Replies: 60
Views: 53671

Fascinating stuff. This suggests a shared DMA unit, running on a 2-cycle period, writes happening in the first period, reads happening in the last. There's probably a start flag that suppresses the address bus switchover for the first 1.5 cycles. Random brainfart guess as to what the sequence and pr...
by ReaperSMS
Tue Jun 08, 2010 11:07 pm
Forum: SNESdev
Topic: HVCMODE Pin???
Replies: 59
Views: 22574

$21xx hits everything on the B bus, which includes the PPU, WRAM, expansion, and cart edge. The A bus hits the cart edge and S-APU. WRAM has two sets of pins on it, one for talking to it via the A bus, and others for talking to it via the B bus at $80..$83 with the streaming reads/writes. If both ar...
by ReaperSMS
Tue Jun 08, 2010 3:20 pm
Forum: SNESdev
Topic: HVCMODE Pin???
Replies: 59
Views: 22574

A full PPU bus would have meant another 50 or so pins on the cart connector, and at least 3 more chips, since the PPU has two mostly independent memory busses.

If they were ever considering a switched rom, they would have had to toss mode-7.
by ReaperSMS
Mon Jun 07, 2010 3:13 pm
Forum: SNESdev
Topic: HVCMODE Pin???
Replies: 59
Views: 22574

There is not, and can not be.
by ReaperSMS
Fri Jun 04, 2010 7:41 pm
Forum: NESemdev
Topic: First attempt (and failure) of SMB3 on my MMC3 (videos)
Replies: 47
Views: 11493

I think you have a CPU bug to deal with. It looks like there's a JSR at E176, which pushes E178 onto the stack at 1FE and 1FD around cycle 937 This subroutine appears to have a PHsomething at E126, which pushes 02 into 1FC The IRQ fires at 1257, during an instruction at E138, which gets pushed into ...
by ReaperSMS
Fri Jun 04, 2010 6:57 pm
Forum: NESemdev
Topic: First attempt (and failure) of SMB3 on my MMC3 (videos)
Replies: 47
Views: 11493

i_cpu_do is probably data out from the CPU, so won't match the opcodes. I think.
by ReaperSMS
Fri Jun 04, 2010 2:32 pm
Forum: NESemdev
Topic: First attempt (and failure) of SMB3 on my MMC3 (videos)
Replies: 47
Views: 11493

What game is poking at the PPU nametable mirrors?
by ReaperSMS
Thu Jun 03, 2010 7:22 pm
Forum: NESemdev
Topic: First attempt (and failure) of SMB3 on my MMC3 (videos)
Replies: 47
Views: 11493

As for the CPU glitches, blargg's cpu exerciser tests can be somewhat handy, if a bit unwieldy for determining what's actually going wrong. I think there's still a link to the suite somewhere. I used them to get some sanity checks on my verilog core, which I think is mostly bug-free now (for the doc...
by ReaperSMS
Thu Jun 03, 2010 7:04 pm
Forum: NESemdev
Topic: First attempt (and failure) of SMB3 on my MMC3 (videos)
Replies: 47
Views: 11493

pinout suggests it was getting the 1.789MHz clock, however, the counter could have just been clocked directly by A12. Do your checks at 21MHz, with some sort of lowpass on the thing as mentioned. Going by the wiki claim of it ignoring edges less than 14-16 dots apart, something like this might do it...