It is currently Wed Jun 26, 2019 12:57 am

All times are UTC - 7 hours



Forum rules





Post new topic Reply to topic  [ 248 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 17  Next
Author Message
 Post subject:
PostPosted: Sun Mar 21, 2010 5:31 pm 
Offline
User avatar

Joined: Tue Jul 03, 2007 1:49 pm
Posts: 982
Memblers: guess we have to get cracking on some snes homebrew huh?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 21, 2010 5:51 pm 
Offline
User avatar

Joined: Tue Jun 24, 2008 8:38 pm
Posts: 2302
Location: Fukuoka, Japan
@Memblers & Jeroen:

Yeah.. Because for now, the only use for the CIC is quite obvious. It will surely spur a lot of wannabe cart makers. But still, if we look at the bright side, maybe someone, someday, can make is own home brew cart more easily.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 21, 2010 7:30 pm 
Offline
User avatar

Joined: Wed Dec 06, 2006 8:18 pm
Posts: 2832
I doubt this will be used for bootlegs. Bootlegs still need a PCB, which generally come with a CIC anyway. I don't think anyone is going to manufacture new PCBs to produce bootlegs. Not unless they were going all out making tons of them. I doubt that would be profitable though.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 22, 2010 1:53 am 
Offline

Joined: Fri Feb 20, 2009 10:07 am
Posts: 40
Good point, MottZilla. I guess those counterfeit cart sellers are up to a quick buck without much of a production hassle. Not being one of them, I can but speculate about their motivations, though.

Anyway, the SNES CIC clone is quite possibly the best solution for homebrewn cart projects intended to run on all hardware without restrictions, such as the PowerPak, the Neo Myth cart or the multi-region hardware test cart I'm working on. ;)

So, once I get my hands on a 12F629, I'll try this out. Thanks again, ikari_01!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 22, 2010 3:28 am 
Offline
User avatar

Joined: Tue Jun 24, 2008 8:38 pm
Posts: 2302
Location: Fukuoka, Japan
For the home brew part, yep, I hope I can get one of those on a dev cart someday.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 23, 2010 1:41 pm 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3693
Location: Indianapolis
MottZilla wrote:
I doubt this will be used for bootlegs. Bootlegs still need a PCB, which generally come with a CIC anyway.


That's like what I was thinking, except that you need cart cases as well. Anyone could afford PCBs, just the setup cost alone for making cart cases requires selling an unrealistic amount of a single homebrew game to break even.

With this PIC code you could make new boards of any design you want, use this PIC, and recycle any surplus common carts for their shells. If you want to collect those games as boards, it's free. :)

It would be cool too if the Powerpak cart shell could be re-purposed for this. If it comes with a big hole for a CF card though, that might be a little odd.

I had kind of wondered about making an SNES port of the Garage Cart series, but I don't think I want to bother with the PPU emulation myself anytime soon and it requires enough reprogramming as it is. :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 24, 2010 12:48 pm 
Offline
User avatar

Joined: Tue Jul 03, 2007 1:49 pm
Posts: 982
I know bunny mills the nes powerpaks out so the cf card wil fit...and I cant imagine him not having the foresight of possible snes homebrews.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 30, 2010 8:31 am 
Offline

Joined: Tue Mar 30, 2010 8:13 am
Posts: 1
Is there also a lock mode PIC implementation available for use on an SNES mainboard? This would be perfect for a multi-region console allowing playback of games of any region (even SA1 and SDD1 games like Super Mario RPG would work, which doesn't work with most available Lockout-Mods).
How would the current key mode implementation have to be changed to turn it into a lock mode implementation? I have no knowledge about PIC programming, I'm just asking out of curiosity.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 30, 2010 10:47 pm 
Offline

Joined: Mon May 26, 2008 11:41 pm
Posts: 74
From what I can tell, the key is NOT able to tell which lock region it is running on. On the other hand, the lock IS able to tell which CIC key region is currently being used, if programmed right.

When the Lock/Key have initialized their seeds, the Lock sends the lower bits of ALL of its side to the key, and nothing in that changes between regions, so the key is not able to tell, other than by incorrect bits sent.

The Lock sends its 4 bit random value to the key. Bit 0 of that random value is going to already be known when the key sends it back. Next, Bit 0 of the next value, also sent by the key, effectively specifies the region.

Now, a modded console could have the cic clock source removed, and the lock in console sends the clock to the key cic, in effect, controlling the timing.

I plan to write some test code to try this out, which will happen once my PIC chips arrive. (one to be programmed with the key, the other to try and communicate with said key.)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 30, 2010 11:42 pm 
Offline
User avatar

Joined: Sat Jul 04, 2009 2:28 pm
Posts: 141
Location: Wunstorf, Germany
Exactly. The lock can autodetect the key region even of an original CIC. Manipulating the clock is not really necessary though, there is still plenty of time between the bit transfers to check the key region and do other things.
The only part that was a little tight is the hash calculation, though there are still 18-20 cycles left per iteration.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 10, 2010 10:42 am 
Offline
User avatar

Joined: Sat Jul 04, 2009 2:28 pm
Posts: 141
Location: Wunstorf, Germany
OK, I've updated the archive with a lock implementation.
This implementation autodetects the key region and switches behavior accordingly.
There is no status pin anymore because all 6 I/O pins of the 8-pin package are now used for actual CIC signals.

Note that it never disables the console, even if the key CIC is missing, except when the RESET button is pressed on the console. That way CIC-less cartridges can be supported while maintaining compatibility with cartridges that demand a working lock CIC, such as S-DD1 or SA-1 enabled games.
The lock code can also be reassembled to run on a 12F609 as no EEPROM is required. Maybe some register has to be renamed or removed.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 10, 2010 11:43 am 
Offline
User avatar

Joined: Wed Dec 06, 2006 8:18 pm
Posts: 2832
That's awesome. Have you been able to test the lock version with a SA-1 and SDD-1 cartridge yet?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 10, 2010 1:15 pm 
Offline
User avatar

Joined: Sat Jul 04, 2009 2:28 pm
Posts: 141
Location: Wunstorf, Germany
I don't have an SA1 cartridge but I'll test with Star Ocean shortly. It does work with plain key CICs. :)

Uhh, what was the S-DD1 failure mode for missing CIC again? :oops:
Right now it seems to run perfectly on my modded SNES without the PIC.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 10, 2010 3:49 pm 
Offline
User avatar

Joined: Tue Jul 03, 2007 1:49 pm
Posts: 982
So any chance you could maybe make a write up on the basic functions of the code? I mean we technicly have your code...but deciphering someone elses code isnt always the most efficient way to find out (imo). No biggie if you have no time/don't want to though.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 10, 2010 5:09 pm 
Offline
User avatar

Joined: Wed Dec 06, 2006 8:18 pm
Posts: 2832
ikari_01 wrote:
I don't have an SA1 cartridge but I'll test with Star Ocean shortly. It does work with plain key CICs. :)

Uhh, what was the S-DD1 failure mode for missing CIC again? :oops:
Right now it seems to run perfectly on my modded SNES without the PIC.


I'm not sure what the deal is with the SDD1. The SA-1 games are what I recall being impossible to run without the proper NTSC or PAL system with working CIC.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 248 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 17  Next

All times are UTC - 7 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 6 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