GenDev SpritesMind Website SpritesMind.Net
Sega Megadrive/Genesis development
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Another EEPROM mapper

 
Post new topic   Reply to topic    SpritesMind.Net Forum Index -> Hardware
View previous topic :: View next topic  
Author Message
TmEE co.(TM)
Very interested


Joined: 05 Dec 2006
Posts: 1947
Location: Estonia, Mahtra village

PostPosted: Tue Jun 12, 2007 9:41 am    Post subject: Another EEPROM mapper Reply with quote

Here's the schematic:

And what it looks like:


Past few days I tried to get it working and I finally got it working (lots of software problems, and datasheet misunderstandings).
All EEPROM access is done by writing to and reading from address $A130F1.

I made this thing, so that people who want to get their game that uses batter back-up RAM into production, would use this instead, so that cartridge gets lot cheaper, as 2 logic chips and one EEPROM chip are lot more cheaper than battery and SRAM chip.

Here's the source required (TIMEPIN = $A130F1):
Code:

_________________
Mida sa loed ? Nagunii aru ei saa Wink


Last edited by TmEE co.(TM) on Sat Jun 28, 2008 5:16 pm; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
8bitwizard
Very interested


Joined: 24 Feb 2007
Posts: 155
Location: Austin, TX

PostPosted: Thu Jun 14, 2007 1:38 am    Post subject: Reply with quote

It's a frickin' work of art. Point-to-point wiring taken to the extreme.

Even the prototype of my Atari 7800 cartridge wasn't that extreme. (I was a wimp and used 30ga wrap wire and hot-glued grid boards to the side of a regular board.)
Back to top
View user's profile Send private message
TmEE co.(TM)
Very interested


Joined: 05 Dec 2006
Posts: 1947
Location: Estonia, Mahtra village

PostPosted: Fri Jun 15, 2007 12:03 pm    Post subject: Reply with quote

It is the only way for me, unless I get suitable drill, so I can make decent PCBs (one I had before, wasn't mine). I could let some company make my PCBs, but it is really expensive :/ and I have no schematic drawing software which the company could use to make the PCB.

How complicated is the I2C code of yours compared to my MicroWire code ?
_________________
Mida sa loed ? Nagunii aru ei saa Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Fonzie
Genny lover


Joined: 29 Aug 2006
Posts: 317

PostPosted: Fri Jun 15, 2007 3:23 pm    Post subject: Reply with quote

Héhé, again, impressive...
And is your code okay with overclocked system? Or the timing is really precise and any speedup/slowdown would break the read/write?


Here is my very old flash cart ^^... I used UV/sensitive board to make the PCB, it work very fine and don't require so heavy/big materials... You should buy a little UV kit (if you never tried doing that at home) Very Happy
Just need paintshoppro for the pcb design (if you want to make it funny ^^) and a printer with transparent sheets Very Happy

Of course, I still have heavy stupid wiring (even more stupid because i made the pcb LOL) but it helps a lot the logic & soldering ^^


Very Happy
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TmEE co.(TM)
Very interested


Joined: 05 Dec 2006
Posts: 1947
Location: Estonia, Mahtra village

PostPosted: Fri Jun 15, 2007 7:39 pm    Post subject: Reply with quote

That mapper works even with OC, 10MHz tested and OK, must try higher clocks, but my MD2s VDP goes crazy after 10MHz Sad

Your design is INSANE !!! Very Happy Very Happy Very Happy I really like it !!!

I've never tried UV method, little expensive... and I can't get UV anywhere, maybe from sun, it is really hot in Estonia at the moment...

BTW, my flash cart programmer(and other stuff programmer aswell) uses less chips than yours Wink
_________________
Mida sa loed ? Nagunii aru ei saa Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TmEE co.(TM)
Very interested


Joined: 05 Dec 2006
Posts: 1947
Location: Estonia, Mahtra village

PostPosted: Sat Jun 16, 2007 12:20 pm    Post subject: Reply with quote

I lied a little, this doesn't work reliably on OCd MD Crying or Very sad
10MHz works, but its unstable.
11MHz seems to work perfectly
12MHz Instant crash, no TMSS screen... :/
13MHz as much as I could read the screen, seemed to work
14MHz VDP really crazy, couldn't tell if it works

I tried to make EEPROM controlling slower, but it didn't help at all.

93Cxx can handle 2MHz clock, and needs minimum of 500ns delays. But as much I've calculated, 10MHz OC gives you minimum of 1µs delays (which are bigger as instructions are memory related), which should be enough in any case...

Flashcart being written:

Flashcart being written, close up (SRAM cart in bottom corner):

In action on real thing:

_________________
Mida sa loed ? Nagunii aru ei saa Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TmEE co.(TM)
Very interested


Joined: 05 Dec 2006
Posts: 1947
Location: Estonia, Mahtra village

PostPosted: Mon Jun 18, 2007 12:11 pm    Post subject: Reply with quote

I updated the schematic. I just needed to lower the value of the pull-up resistor, and everything started to work perfectly when overclocked !!!
_________________
Mida sa loed ? Nagunii aru ei saa Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
evildragon
Very interested


Joined: 12 Mar 2007
Posts: 326

PostPosted: Mon Jun 18, 2007 3:10 pm    Post subject: Reply with quote

wow! i could never do point to point wiring.. my old TV has that in it, and it scares the crap out of me..
Back to top
View user's profile Send private message Visit poster's website
elan
Interested


Joined: 23 Apr 2007
Posts: 42

PostPosted: Thu Sep 27, 2007 2:44 pm    Post subject: Reply with quote

BTW UV lamps are in street lamps too.
Or as "moutain-sun lamp" for medical and health...

30-60euro...

But we have old one at home 30years old but still working...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SpritesMind.Net Forum Index -> Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group