BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

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

Moderator: Moderators

Post Reply
User avatar
rainwarrior
Posts: 8732
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by rainwarrior »

Was going through my homebrew carts and I found this board inside Star Versus:
batmap-000_board.jpg
Batsly posted about it here, but didn't really explain the board other than it has 1MB PRG, and 32k CHR-RAM. Probably can't learn anything interesting from the photograph I took, more I'm just showing what the board looks like.

Anyhow, if anyone has any info on how to emulate this board, I'd love to know. I haven't figured out what the registers do yet. This hasn't by any chance already been emulated/documented somewhere?

As far as I know it's only been used in Star Versus. I think it was originally planned for Super Russian Roulette but he decided to make some new ultra hyper mega mapper for that instead.
Last edited by rainwarrior on Mon Mar 20, 2017 8:49 am, edited 1 time in total.
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by lidnariq »

A first step is to see what connects to what pins. If you can't see any connection to, say, CPU A4, then you know anything the software does with A4 is irrelevant.

What model of Xilinx CPLD is on there? The etching is harder to read than the silkscreening on the flash.
User avatar
getafixx
Posts: 373
Joined: Tue Dec 04, 2012 3:28 pm
Location: Canada

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by getafixx »

Judging from the footprint and voltage regulator I'd say a XC9536XL or XC9572XL.
User avatar
rainwarrior
Posts: 8732
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by rainwarrior »

Ah, sorry about the poor picture quality. I didn't expect anyone would want to trace the lines or anything. I'll try to take some better images, though the black finish is making it difficult.

CPLD: XC9572XL
RAM: IS62C256AL
ROM: 29F200CBMI-70G
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by lidnariq »

The black resist isn't actually that much of a problem, but with the hidden traces under all the SMT parts I don't think I'd get very far. It's just that my first intuition when it comes to reverse engineering things is figuring out the size of box that the device has to fit into; i.e. in this case, what signals are available for the CPLD to work with.

Stopping before I get too involved, I'm going to stop with observing that CPLD pin 1 is CIRAM A10.
User avatar
rainwarrior
Posts: 8732
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by rainwarrior »

Well, if they're interesting to anyone, here's some pictures with better detail, with some alternate angles trying to show everything that can be seen through the lighting.
Attachments
batmap-000_bottom_split.jpg
batmap-000_bottom.jpg
batmap-000_top_split.jpg
batmap-000_top.jpg
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by lidnariq »

Ah, maaaaan, if you're going to just dangle that in front of me...

Definitely an MMC3 variant of some flavor. /IRQ; capacitor on PPU A12; mirroring control; 1 KiB granularity on CHR RAM. PRG A12, A11, and A9 definitely connect to the card edge. A14, A13, A0 are available to the CPLD. CPLD controls some kind of write protect for the flash (i.e. R/W connects to flash /WR, but flash /OE and /CE connect to CPLD).

There's an extra three traces on the underside from the flash to the CPLD beyond what "should" be necessary; no idea what they could be for.

CPLD mostly laid out as 1-11=bottom: inputs from CPU/PPU; 12-22=right: cpu data bus; 23-33=top: prg banking; 34-44=left: chr banking.
jmr
Posts: 48
Joined: Tue Jul 28, 2015 2:38 pm
Location: Ontario, Canada
Contact:

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by jmr »

rainwarrior wrote:As far as I know it's only been used in Star Versus.
It was also used in the Anamanaguchi kickstarter cart. I don't have one myself to check for sure, but in this photo you can see a section of the PCB through the transparent window in the cart shell.
Image

It's possible that it's also in the Anamanaguchi Power Supply 10th anniversary cart as well - I do own one of those, so I can check and provide photos if anyone's interested.
NewRisingSun
Posts: 1510
Joined: Thu May 19, 2005 11:30 am

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by NewRisingSun »

The following description at least runs Star Versus.

Banks
CPU $8000-$9FFF: 8 KiB PRG-ROM bank, fixed to first bank
CPU $A000-$BFFF: 8 KiB PRG-ROM bank, switchable
CPU $C000-$DFFF: 8 KiB PRG-ROM bank, switchable
CPU $E000-$FFFF: 8 KiB PRG-ROM bank, fixed to last bank
PPU $0000-$0FFF: 4 KiB CHR-RAM bank, switchable
PPU $1000-$1FFF: 4 KiB CHR-RAM bank, switchable

Registers
CHR-RAM Bank ($8000, write)

Code: Select all

Mask: probably $E001
D~7654 3210
  ---------
  B... .CCC
  |     +++- 4 KiB CHR-RAM bank number
  +--------- 0: Set 4 KiB CHR-RAM bank at PPU $0000-$0FFF
             1: Set 4 KiB CHR-RAM bank at PPU $1000-$1FFF
PRG-ROM Bank ($8001, write)

Code: Select all

Mask: probably $E001
D~7654 3210
  ---------
  BPPP PPPP
  |+++ ++++- 8 KiB PRG-ROM bank number
  +--------- 0: Set 8 KiB PRG-ROM bank at CPU $A000-$BFFF
             1: Set 8 KiB PRG-ROM bank at CPU $C000-$DFFF
Mirroring, WRAM, IRQ ($A000-$FFFF, write)
Identical to MMC3 (maybe excluding WRAM).

NES 2.0 Mapper #399 would be the next free one in my list. (I am behind adding #s 392 to 398 to the wiki.)
User avatar
dougeff
Posts: 3079
Joined: Fri May 08, 2015 7:17 pm

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by dougeff »

(maybe excluding WRAM)
I don't see a WRAM chip, or place for it, so...I agree.

But, anyway, I do really like this board, and wish I could get some.
nesdoug.com -- blog/tutorial on programming for the NES
FrankWDoom
Posts: 260
Joined: Mon Jan 23, 2012 11:27 pm

Re: BATMAP-000 board (1MB PRG, 32k CHR-RAM), Star Versus

Post by FrankWDoom »

does this one have emulator support anywhere? how about dumping support? i have one of these and would like to dump it.

neat game. seems like it kind of went under the radar.
Post Reply