What happened with SNES CIC reverse engineering?

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Markfrizb
Posts: 519
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: What happened with SNES CIC reverse engineering?

Post by Markfrizb » Fri Jan 11, 2013 7:25 pm

Thanks! Ill check that out!
I hope that I can help you guys out if possible.

Mark

Markfrizb
Posts: 519
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: What happened with SNES CIC reverse engineering?

Post by Markfrizb » Fri Jan 11, 2013 7:30 pm

Forgive my ignorance, famicom box? Different than the nes I assume?
Is this the big one that was in stores?

I have the hotel version of the SFC if you ever need something tested on it.

User avatar
jims cool
Posts: 119
Joined: Fri May 11, 2007 12:47 pm
Location: Guelph, Ontario, Canada
Contact:

Re: What happened with SNES CIC reverse engineering?

Post by jims cool » Fri Jan 11, 2013 9:00 pm

famicom box is the japanese version of the m82 display unit
but it holds 15 black nes style carts, has a coin slot attachment and game menu
http://famicomworld.com/system/other/famicombox/

i haven't seen much info on the SFCB but the game cart's aren't the normal shape and apparently it doesn't use CIC's... not that i wouldn't enjoy figuring out how to run code on them but i can't afford one.. kind of a deal breaker :lol:

Markfrizb
Posts: 519
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: What happened with SNES CIC reverse engineering?

Post by Markfrizb » Fri Jan 11, 2013 10:14 pm

Sounds a lot like the playchoice 10. Even coin operated! Are there a lot of those units around??

I don't know if the SFCB uses a cic or not, I can check. I WISH I had a translated English version -- the menu system. The game roms are same as regular Snes roms. I've already changed my roms to English versions. It is possible to add many more games per cart. The menu system is expandable. But I don't know anything about how to do do that .

Mark

User avatar
jims cool
Posts: 119
Joined: Fri May 11, 2007 12:47 pm
Location: Guelph, Ontario, Canada
Contact:

Re: What happened with SNES CIC reverse engineering?

Post by jims cool » Sat Jan 12, 2013 10:34 pm

its something like the SFCB but it uses CIC's and has the normal carts SFCB also had a coin slot attachment

i've seen photos of the game boards they have menu rom a GAL/PAL and some logic chips..
i don't think english menu patch's exist because the menu rom doesn't run inside an emulator.. i had to patch the FBC menu to get it going when i was figuring out how the menu works :)

Markfrizb
Posts: 519
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: What happened with SNES CIC reverse engineering?

Post by Markfrizb » Sun Jan 27, 2013 8:01 am

Jim, thanks for pointing me in the right direction on the cic. Another learning moment. :)
I bought a cheap serial USB programmer off eBay and it was so easy, it's almost embarrassing. Thanks to all who made this possible. Question: does the super cic have a pal feature and how is it enabled if so?

Edit: The reason I had the confusion/problems early on was my programmer can only burn binary files.
Which brings me to my next question. Does the hex file send a read protect fuse command?
It appears it doesn't as I can rewrite a pic but I can't seem to get a binary read from a programmed pic.

Thanks again!
Mark

Don't suppose you have a mad1 replacement in the works???

User avatar
jims cool
Posts: 119
Joined: Fri May 11, 2007 12:47 pm
Location: Guelph, Ontario, Canada
Contact:

Re: What happened with SNES CIC reverse engineering?

Post by jims cool » Sun Jan 27, 2013 1:35 pm

they are configured using the hex file in the key asm file it looks like this

Code: Select all

__CONFIG _EC_OSC & _WDT_OFF & _PWRTE_OFF & _MCLRE_OFF & _CP_OFF & _CPD_OFF
you need an external clock to dump the chip
code protect doesn't stop the chip from being flashed

you hit reset to switch the region

the only homebrew on SNES i've seen is N-Warp Daisakusen so mappers aren't high on my to do list.. not saying you would but most people would only use it for modifying carts for pirate/repro junk.. the only thing worse then a smart pirate is a stupid pirate ... mad-1 isn't complicated it would make a good project for someone getting into that sort of thing

Markfrizb
Posts: 519
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: What happened with SNES CIC reverse engineering?

Post by Markfrizb » Sun Jan 27, 2013 3:48 pm

Thanks for the reply. The boards I will want to make will be for personal use only. I don't think I'm smart enough to be a stupid pirate anyways.

Last question. If I want to lock it in NTSC mode, how please.


Thank you again!
Mark

User avatar
jims cool
Posts: 119
Joined: Fri May 11, 2007 12:47 pm
Location: Guelph, Ontario, Canada
Contact:

Re: What happened with SNES CIC reverse engineering?

Post by jims cool » Sun Jan 27, 2013 4:17 pm

lol that's cool.. we would all hate to see nesdev get shutdown for encouraging video game piracy

all you need to force NTSC is change 0x6 in this line to 0x9 reassemble and your good to go

Code: Select all

movlw	0x6	; died with NTSC, fall back to PAL
as a side note if someone wanted to force PAL you would change the 0x9 to 0x6 in the following lines

Code: Select all

movlw	0x9	; died with PAL, fall back to NTSC

Code: Select all

de      0x09	; D411 (NTSC)

User avatar
getafixx
Posts: 365
Joined: Tue Dec 04, 2012 3:28 pm
Location: Canada

Re: What happened with SNES CIC reverse engineering?

Post by getafixx » Mon Feb 04, 2013 11:41 am

jims cool wrote: all you need to force NTSC is change 0x6 in this line to 0x9 reassemble and your good to go

Code: Select all

movlw	0x6	; died with NTSC, fall back to PAL
as a side note if someone wanted to force PAL you would change the 0x9 to 0x6 in the following lines

Code: Select all

movlw	0x9	; died with PAL, fall back to NTSC

Code: Select all

de      0x09	; D411 (NTSC)
I have tried reassembling the key.asm file to be forced to PAL, but I keep getting error "Illegal instruction" in my assembler (using flatassembler). It fails on the first line "#include <p12f629.inc>". Any ideas or a better assembler to recommend?

lidnariq
Posts: 9266
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: What happened with SNES CIC reverse engineering?

Post by lidnariq » Mon Feb 04, 2013 11:57 am

getafixx wrote:I have tried reassembling the key.asm file to be forced to PAL, but I keep getting error "Illegal instruction" in my assembler (using flatassembler). It fails on the first line "#include <p12f629.inc>". Any ideas or a better assembler to recommend?
Flatassembler is only for x86 code. You'll need either gpasm (if you're using linux or maybe osx) or mpasm (bundled with mplab)

User avatar
getafixx
Posts: 365
Joined: Tue Dec 04, 2012 3:28 pm
Location: Canada

Re: What happened with SNES CIC reverse engineering?

Post by getafixx » Mon Feb 04, 2013 12:21 pm

awesome thanks!

qwertymodo
Posts: 774
Joined: Mon Jul 02, 2012 7:46 am

Re: What happened with SNES CIC reverse engineering?

Post by qwertymodo » Wed May 22, 2013 12:32 pm

jims cool, your pinout a few pages back is a dead link. Could you re-post the pinout? I'm mostly curious whether or not the SNES key connects all of the ISP pins (1, 5, 6, 7, for the SOIC-8 Attiny13) to cart-edge pins or not. If they are, I'll probably rework my project here for your Attiny-based CIC and replace the PICkit header with an AVR-ISP one instead, which would be really nice...

Markfrizb
Posts: 519
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: What happened with SNES CIC reverse engineering?

Post by Markfrizb » Sat May 25, 2013 3:30 pm

Since this subject has popped up again, are there any easy replacements for the soic CIC's on the FX carts?

Side note: Jim, if you want to borrow my SFC hotel box, just let me know.

Mark

User avatar
jims cool
Posts: 119
Joined: Fri May 11, 2007 12:47 pm
Location: Guelph, Ontario, Canada
Contact:

Re: What happened with SNES CIC reverse engineering?

Post by jims cool » Sun Jun 02, 2013 12:12 pm

qwertymodo wrote:jims cool, your pinout a few pages back is a dead link. Could you re-post the pinout?
Image
qwertymodo wrote:I'm mostly curious whether or not the SNES key connects all of the ISP pins
i believe infiniteneslives is using the side edge to connect a clip on the PCB and a SOIC socket to program them for another before soldering .. the reset pin is backward so int0 gets used instead
Last edited by jims cool on Tue Jun 04, 2013 8:57 pm, edited 1 time in total.

Post Reply