27c256 as CHR on SKROM question

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
User avatar
jpx72
Posts: 178
Joined: Tue Sep 28, 2010 3:27 am
Location: Slovakia
Contact:

27c256 as CHR on SKROM question

Post by jpx72 »

I was wondering, when using a 32kB eprom on an SKROM board, where there are inputs on MMC1 for chrA15 and chrA16, the eprom has only A0-A14, so how to handle those two pins on MMC1? Should they be grounded or logical 1? Or just left floating?
User avatar
infiniteneslives
Posts: 2102
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Re: 27c256 as CHR on SKROM question

Post by infiniteneslives »

jpx72 wrote:I was wondering, when using a 32kB eprom on an SKROM board, where there are inputs on MMC1 for chrA15 and chrA16
I think you mean outputs. And the rule your thinking about only applies to inputs.

The MMC1 is driving those pins low or high depending on what the NES is writing the to MMC1. You don't really know what those values are. So shorting them to gnd/vcc would create high current in that pin (bad).

If you're not using an output just leave it floating, which is what you should do in this case.
User avatar
jpx72
Posts: 178
Joined: Tue Sep 28, 2010 3:27 am
Location: Slovakia
Contact:

Post by jpx72 »

Oh .. OH!
I understand now those are outputs (pin 10 an 11 on MMC1).
Thank you so much for the answer, I'll leave them floating!!!!
User avatar
infiniteneslives
Posts: 2102
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Post by infiniteneslives »

jpx72 wrote:Oh .. OH!
I understand now those are outputs (pin 10 an 11 on MMC1).
Thank you so much for the answer, I'll leave them floating!!!!
No problem, hopefully that explanation will aid in remembering what to do in the future.

It's a little more difficult to explain why you tie unused inputs to ground/Vcc. The reason is basically that all of the IC's inputs are 'somewhat' coupled together. While that may sound wrong, it's because they are all connected to ground and Vcc in some way. Leaving the pin floating can cause it's circuit to go unstable. You would think, "who cares I'm not using that part of the chip?!" However this effect gets coupled to the other portions of the circuit that you're trying to use. This results in crazy behavior and erratic problems with your circuit/cart.
80sFREAK
Posts: 275
Joined: Sat Sep 03, 2011 11:40 pm

Post by 80sFREAK »

Outputs floating - ok
Inputs MUST be defined - +5(via resistor) or GND
Post Reply