NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode


SubjectSome MMC/hardware questions new  
Posted bykyuusaku
Posted on11/9/04 03:46 AM
From IP24.91.29.122  



Where does WRAM go on the cart connector? I mean, how does it get mapped to $6000 when it's sitting on the PRG bus? The cartridge can monitor/map stuff to $4020 onwards right? How is this done?

How do MMC's physically map different 8k banks into $8000,A,C,E? Or eight 1k banks into PPU $0000? How is this done with address lines?

Generally speaking how do M2 based IRQ counters work? Which MMCs use 8/16bit counters?

Why is it necessary for MMCs to intercept data lines?

113.75 clocks = 1 scanline?

Scanline based IRQ counters fire after how many CHR A12 toggles?

What does the PRG R/W pin do?

Whats CIRAM on the cart connector?




SubjectRe: Some MMC/hardware questions new  
Posted bykyuusaku
Posted on11/9/04 03:49 AM
From IP24.91.29.122  



"Why is it necessary for MMCs to intercept data lines?"

I meant CHR lines




SubjectRe: Some MMC/hardware questions new  
Posted byMemblers
Posted on11/9/04 04:34 AM
From IP68.58.99.218  



The stuff is all mapped using the usual kind of address decoding. I used a 74hc139 for the WRAM and register mapping on my cart. You just hook an output from the decoder to the /CE on the chip to activate. The relevant address lines go to the inputs of the decoder, with PRG /CE AND M2 as the enable.

I haven't done anything like the 8kB PRG banks, 1kB CHR banks, etc. Not sure exactly.

> Generally speaking how do M2 based IRQ counters work? Which MMCs use 8/16bit counters?

I don't know what other mappers use them, but mine does. It just takes the 16bit value you write (8-bit would be way too small), inverts it, then increments it every time M2 is clocked until it overflows and generates an IRQ.

> Why is it necessary for MMCs to intercept data lines?

If you mean CHR data lines, I can't think of why.

> 113.75 clocks = 1 scanline?

Nope, it's 113.666

> Scanline based IRQ counters fire after how many CHR A12 toggles?

8.

> What does the PRG R/W pin do?

It's high when the NES is reading, low when it's writing. On my cart I inverted it to get an active-low read signal.

> Whats CIRAM on the cart connector?

To enable or disable the NES's internal VRAM. You can also muck around with the address lines to control the mirroring.




SubjectRe: Some MMC/hardware questions new  
Posted bykyuusaku
Posted on11/9/04 06:51 AM
From IP24.91.29.122  



That helps a lot! Your wisdom is infinitely appreciated :D




SubjectRe: Some MMC/hardware questions  
Posted bytepples
Posted on11/9/04 4:56 PM
From IP68.53.188.30  



Mappers intercept CHR address lines in order to bankswitch CHR. MMC5 additionally intercepts CHR data lines to inject attribute table data from EXRAM.

____________________
My English is better than your Geberquen.


SubjectRe: Some MMC/hardware questions new  
Posted bykyuusaku
Posted on11/9/04 7:33 PM
From IP24.91.29.122  



I see, thanks




Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo