Page 12 of 17

Posted: Sat Aug 27, 2011 7:42 pm
by tepples
RickB-OR wrote:I decided that the SNES PowerPak might be a good option for what I am looking at and has the whole setup already done. Only thing might be the potential option for IDE connection
In a way, that's already there. CF is just parallel ATA with a different connector.

Posted: Sat Aug 27, 2011 10:28 pm
by RickB-OR
tepples wrote:
RickB-OR wrote:I decided that the SNES PowerPak might be a good option for what I am looking at and has the whole setup already done. Only thing might be the potential option for IDE connection
In a way, that's already there. CF is just parallel ATA with a different connector.
I just want to make sure I can have access to necessary registers to write or store files to the memory card like a little hard drive when I want to. I like to use it for both as a device to run many game roms but also like a hard drive where if I throw in some sort of PDF file and was lucky to make a PDF reader program (speaking hypothetically) for the SNES and load it from the memory card and view it accordingly.

I also see the Super Everdrive which I am also interested in. I may get both, (might not be both at once) but still.

I would want some level of support for that and not be absolutely locked to specific file extensions (of course certain spots like the menus will look for .smc files or .spc files or such but if i place my own FAT file manager/explorer to open & close files within an "OS" like Contiki - that there is no hw barrier in the way of doing that.

I would like to be able to see read, write, erase, modify files and directories on the memory card within whatever OS/app. Of course with the obvious of - if you erase a file, you may lose it or for example, I have Contiki and a web browser running on the SNES and dl game ROMs from the internet from websites through an ethernet module connected via the Expansion connector. From the technical specs that I have read including the SNES Developer's Manual, it would be nice to get that worked out. It does look nice. Would be nice is that one could download the game roms and store it. Including creating directories and dl them to the spot on the CF or SD.

This does not all have to be built into the menu system of the PowerPak or Super Everdrive but the hw features (such as HW registers) necessary to control the CF or SD/MMC microcontroller - when needed or wanted.

Posted: Sat Aug 27, 2011 10:35 pm
by RickB-OR
Yes, it would be expanding the SNES beyond just a Game Console. But then the Japanese SNES called Super Famicom (shorten for Family Computer) was its intent.

Factor in keyboard and Mouse and voila and lightpen.... :wink:

Through the networking side, features such as IRC and other stuff would be possible and Contiki already provides that and also FTP support which in turn is giving SNES users the ability to access files from other computers and devices over the network.

Contiki is lightweight enough so it seems to be doable for an SNES. It is for a C64. Just tweak out the GUI front-end with SNES quality gfx.

Emulation in my perspective is for cross-platform prototyping and emulating these carts and an RR-NET ethernet module via the expansion port (which is virtually identical to an Amiga clock port.). The rest is "dumb" circuitry and providing second power and some some sort of means to stand up the SNES about 2"-3" (stable of course) so the module can be plugged in and not interfere with anything from a "mechanical" standpoint. Nothing super crazy.

I'll probably start with Super Everdrive with the Contiki project and then tackle the solution with the Super PowerPak. I see both as great tools.

Posted: Wed Nov 16, 2011 8:05 am
by Awatef31
Dear Friends! Sorry for my bad english cauz i'm french!

I want to make my Snes PAL switchless mode!
I try to find information but its hard about what to put inside the 16F630.

Please could someone be clear about this and just give me the file to put inside??
Thanks again

Posted: Wed Apr 18, 2012 1:31 am
by ramfactory
jims cool wrote:
Here's a PIC implementation for the SNES CIC. Key mode only, auto region fallback (requires user reset)

Doing a combined NES/SNES CIC clone is a cool idea, especially since there is no open source NES CIC clone yet.
nice job! guess i'm starting with the nes cic.. then i'll make it universal
i only have 3193/6113 and D411A/F411B so i cant test everything
3197 apparently burns five extra cycles before initialization and first seed transmission is fifteen bits..

heres the seeds if you want to add them to your chip

3193 - USA/Canada
LOCK: $3952F20F9109997
KEY: $x952129F910DF97

3195 - Europe
LOCK: $17BEF0AF5706617
KEY: $x7BD309F6EF2F97

3196 - Asia
LOCK: $06AD70AF6EF666C
KEY: $x6ADCF606EF2F97

3197 - UK/Italy/Australia
LOCK: $558937A00E0D66D
KEY: $x79AA1E0D019D99
Hey, jims cool, i'm looking here(3195a-dis.txt) and see SEED for 3195A is:
3195A
LOCK: $f7bef827d78ee15
KEY: $x7bd1217e67a715
but you wrote:
3195 - Europe
LOCK: $17BEF0AF5706617
KEY: $x7BD309F6EF2F97

nescic-dis.txt and here seed is:
NESCIC
LOCK: $1952f8271981115
KEY: $x95212171985715
and:
3193 - USA/Canada
LOCK: $3952F20F9109997
KEY: $x952129F910DF97

and I'm confused, who is wrong?

Posted: Sun May 06, 2012 2:24 am
by jims cool
for some reason I didn't get any email notification sorry

Posted: Tue May 08, 2012 4:39 am
by jims cool
I've been talking with infiniteneslives sent him the pinout so figured I'd post a small info update

this is the pinout I'm using :)
Image
attiny13 is key only (S/NES)
attiny20/24/44/84 diagram is showing the pinout for "NES mode"
the _FCB and SEL0-3 pins change when the _NES pin is pulled high
I'll post the SNES side of things in the next couple days

uploading some dev photos later.. anyone interested should check back. it's been developed on the atmega8/88 AVR

test carts and/or chips will be sent out to consolingmyself and infiniteneslives. someone who owns a FCB is still needed for testing on the real thing

EDIT: strange I got a "Topic Reply Notification" email but when I clicked the link it said "The topic or post you requested does not exist" never had that happen.. came from this thread :?

Re: What happened with SNES CIC reverse engineering?

Posted: Wed Aug 29, 2012 5:13 pm
by jims cool
hey what format are these bitstreams in?
http://segher.ircgeeks.net/cic-roms/bitstreams/
my guess is it's just the output from the key but thought i should ask just encase i end up needing them :lol:

anyway i'm just finishing up now hoping to have the next video of it running uploaded tonight or in the morning.. it will be publicly available early next month :D

a video of my chip syncing and the random stream getting picked up is in the post above.. didn't want to bump the thread :wink:

Re: What happened with SNES CIC reverse engineering?

Posted: Thu Aug 30, 2012 11:21 am
by qwertymodo
Awesome news :) I got really excited when you first mentioned an AVR solution, then you dropped off the map for several months. I have several attiny13's sitting around that I have no use for currently (accidentally ordered 13's for a project that needed 85's), so this should be interesting. Can't wait to see the final results!

Re: What happened with SNES CIC reverse engineering?

Posted: Fri Aug 31, 2012 11:29 pm
by jims cool
qwertymodo wrote:Awesome news :) I got really excited when you first mentioned an AVR solution, then you dropped off the map for several months. I have several attiny13's sitting around that I have no use for currently (accidentally ordered 13's for a project that needed 85's), so this should be interesting. Can't wait to see the final results!
well i'm back for good now :D
i didn't think many people cared .. thought maybe two or three :lol:
anyway should have another video up today i'm not the best camera man but i'll do my best .. and i'll edit this message so i don't bump the thread or double post :wink:

Re: What happened with SNES CIC reverse engineering?

Posted: Sat Sep 01, 2012 3:22 am
by consolingmyself
Welcome back, looking forward to seeing this thing in action :)

Re: What happened with SNES CIC reverse engineering?

Posted: Sat Sep 01, 2012 7:50 am
by jims cool
consolingmyself wrote:Welcome back, looking forward to seeing this thing in action :)
hey thanks for the warm welcome :) i was going to email you soon as that video was up!
hope no one thought I gave up.. or worse that the AVR couldn't handle the job.. they are wild animals that need to be domesticated! :lol:

I rediscovered something interesting about the SNES CIC
the seed pin (3) is also an output that tells you the direction of the data stream I/O's (pins 1&2)
it could of been a debug out.. maybe for checking the I/O bias of the seed or a friendly programmer hinting at us.. i donno thought i found a problem in my code for second :lol:

had a funny/strange setback lastnight someone might get a kick out of... my cat got out and i found then lost him again so i got a flashlight (it's 2:30am) i'm shining it all over the place going up and down the street and the canine unit (police with a dog) show up!. i don't know why someone called them but it was funny.. he's like code 302 just a guy looking for a cat!.. my cat is home now though :lol:

anyway as long as i keep injecting caffeine directly into my system and don't blink to often should have that video up sometime today just like i said :wink:

EDIT: found my problem.. "X=A" nope I was right the first time

Re: What happened with SNES CIC reverse engineering?

Posted: Sat Sep 01, 2012 11:27 pm
by SkinnyV
While many users whine about programmers not sharing enough update and information about the development of their anticipated project, you my friend, might be the first one guilty of over-sharing :lol: In any case, I'm eager to see the result of your project and be careful or you might end up having your own reality show :)

Re: What happened with SNES CIC reverse engineering?

Posted: Sun Sep 02, 2012 12:59 am
by jims cool
i don't like saying i'm going to put a video up and then having some crazy random stuff slow me down.. i feel like i've entered the twilit just waiting for dr. who to show up now! :lol:

at the moment i'm tweaking the bottom part of the main loop then i'm going to put it in free run mode and log the output to iram in the emulator if i like what i see i'll flash the avr and generate 6xkey and 6xlock stream files to dump so i can verify the algorithm.. after that i'll reflash and do the "is everything good" test with a cic again :)

if all goes well i can put the hooks in for the extra modes, send out the binary and upload the video :wink:

EDIT: alright i found the real problem! :lol: used inc to add one then checked the H flag.. problem? inc obviously doesn't effect the H or C flags because it's for looping :oops: on the bright side the code is looking better then ever :D

Re: What happened with SNES CIC reverse engineering?

Posted: Mon Sep 03, 2012 2:42 pm
by qwertymodo
Yeah, it's nice to hear you're still working on this. I've been working on again/off again on a from-scratch repro board, and this will save me the trouble of having to buy a PICKit (I already have an AVR ISP).