Could a 64-tile game use console's internal VRAM as CHRAM?

Discuss hardware-related topics, such as development cartridges, CopyNES, PowerPak, EPROMs, or whatever.

Moderators: B00daW, Moderators

Post Reply
supercat
Posts: 161
Joined: Thu Apr 18, 2019 9:13 am

Could a 64-tile game use console's internal VRAM as CHRAM?

Post by supercat »

Looking at the pinout for the NES and Famicom, it appears that the console exposes the chip-select and A10 the 2K RAM chip used for nametables, and then expects cartridges to feed those from whatever source would be appropriate. Would there be any difficulty with a cartridge strapping the chip-select low and then either wiring A10 to either PPU-A12 for games which want to split the RAM between the name table and tiles (which would allow four-way scrolling, albeit with "load seams") or exploit the RAM from unneeded screen rows for more tiles (use palette select to hide pairs of unused rows; each such pair would allow for four more tile shapes).

I would think this would have provided an easy way to minimize cartridge costs for games that didn't need too many tiles at once. The concept would seem like it would have been especially appealing in the days when SRAM was expensive, since games would be able to use CHRAM effects without any on-cartridge RAM. As a variation, a 4K ROM with an active-high chip select (used on Atari 2600 carts) could have been used to allow games to have 128 ROM sprite tiles, 128 ROM nametable tiles, *and* 64 RAM tiles for either usage at no extra cost. Have any games ever done this?
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: Could a 64-tile game use console's internal VRAM as CHRA

Post by tokumaru »

Yes, this is possible. There's at least one NES game made for this configuration: Magic Floor. The ROM+RAM combination hasn't been done though, AFAIK. There have been a couple of threads about this before, but I wasn't able to find them right now...
Last edited by tokumaru on Sun Apr 28, 2019 5:00 pm, edited 2 times in total.
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Could a 64-tile game use console's internal VRAM as CHRA

Post by tepples »

For more about the Magic Floor cart, see previous topic Single Chip Cartridge and iNES Mapper 218 on the wiki.

The ROM+RAM configuration should be possible with Namco 129/163. It'd be useful for things like drawing text in a complex or ideographic script.
Post Reply