It is currently Sat Apr 29, 2017 10:15 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Sun Mar 19, 2017 5:10 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5046
Location: Canada
Was going through my homebrew carts and I found this board inside Star Versus:
Attachment:
batmap-000_board.jpg
batmap-000_board.jpg [ 191.84 KiB | Viewed 439 times ]


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.

Top
 Profile  
 
PostPosted: Sun Mar 19, 2017 7:00 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 5586
Location: Seattle
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.


Top
 Profile  
 
PostPosted: Sun Mar 19, 2017 7:04 pm 
Offline
User avatar

Joined: Tue Dec 04, 2012 3:28 pm
Posts: 327
Location: Canada
Judging from the footprint and voltage regulator I'd say a XC9536XL or XC9572XL.


Top
 Profile  
 
PostPosted: Sun Mar 19, 2017 7:23 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5046
Location: Canada
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


Top
 Profile  
 
PostPosted: Sun Mar 19, 2017 7:38 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 5586
Location: Seattle
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.


Top
 Profile  
 
PostPosted: Sun Mar 19, 2017 7:56 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5046
Location: Canada
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_split.jpg [ 410.93 KiB | Viewed 402 times ]
batmap-000_bottom.jpg
batmap-000_bottom.jpg [ 328.19 KiB | Viewed 402 times ]
batmap-000_top_split.jpg
batmap-000_top_split.jpg [ 334.13 KiB | Viewed 402 times ]
batmap-000_top.jpg
batmap-000_top.jpg [ 358.46 KiB | Viewed 402 times ]
Top
 Profile  
 
PostPosted: Sun Mar 19, 2017 10:55 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 5586
Location: Seattle
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.


Top
 Profile  
 
PostPosted: Mon Mar 20, 2017 8:21 am 
Offline

Joined: Tue Jul 28, 2015 2:38 pm
Posts: 35
Location: Ontario, Canada
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: lazigamer and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group