SNK Memcard AES/MVS <-> PC Bridge

Detect

n00b
Joined
Aug 15, 2019
Posts
5
I’ve been working on various things/ideas for a while now and a couple of months ago I finished this little bad boy.

This here is a AES/MVS <-> PC Memcard bridge, which I originally wanted to create for a MAME Arcade build I’m in the middle of, but it’s also great for general backups/restores.

So, this has a companion app that can read/write Memcard data, restore, format (not really formatting, it just replaces the entire card with freshly formatted card data, rather than me building in an SNK formatter) and decodes human-readable data such as from the header and then the game title data as you can see from the pics.

Dead straightforward.

But then took it one step further and created a custom implementation into MAME to basically use the device as a true pass-through, so this detects card presence, exactly like real hardware does, soon as it’s detected, MAMEs NEO GEO BIOS sees it, uses it and read/writes to it.

Needless to say it was frustrating to get working haha, reading and writing independently was straightforward, the MAME integration took a few weeks as I had to test, reverse engineer, keep recompiling MAME, test and more testing.

Technically only had to do one work around, because as I came to find out, all games do random card nudges to make sure it’s valid and still there, which I thought might be minimal….. errrr…. Not so much, games like Sam Sho Zero basically hammers the F out of the Memcard during gameplay. So worked around that and also it caches the save data and writes it in one go rather than doing it byte by byte, which is a good work around.

But that’s the MAME side of things.

The good part is you can play on AES/MVS take your card out, put it in this device and carry on with your PC (Or I could massively streamline this device to about a third of the size now its out of prototyping, and could potentially be used on retro gaming handhelds). Or if you want to create infinite amount of backups on your PC, remove your current data and start again fresh with the same card, to later restore old data, you can do that too. And it’s got a nice flashy light to boot.

Frustrating at times, but was mega happy once it worked!

Note: if you’re wondering about the other bits, my custom MAME also subscribes to various RAM regions (not through lua, this is direct to platform) so I can watch specific addresses, inject for cheats and I can watch scores and the credit counter (not coin counter - credit counter will give live updates when credits are added and lost - I never liked the coin counter method).

Anyhoooo, onto the next Neo Geo project!

Thanks for looking.
 

Attachments

  • IMG_4637.jpg
    IMG_4637.jpg
    479.3 KB · Views: 19
  • IMG_5093.JPG
    IMG_5093.JPG
    495.2 KB · Views: 19
  • NeoGeo_MemcardSaveManager01.jpg
    NeoGeo_MemcardSaveManager01.jpg
    577.4 KB · Views: 20
  • IMG_5094.JPG
    IMG_5094.JPG
    547.2 KB · Views: 17
  • IMG_5095.JPG
    IMG_5095.JPG
    573 KB · Views: 15
  • IMG_5096.JPG
    IMG_5096.JPG
    582.3 KB · Views: 16
  • IMG_5097.JPG
    IMG_5097.JPG
    499.1 KB · Views: 17
Last edited:

Neo Alec

Legendary Member?
25 Year Member
Joined
Dec 7, 2000
Posts
14,935
Thank you. I have been waiting a long time for a solution like this.


If you find a way, I will be first to sign up for one. I'll install my own PCMCIA slot if I have to.
 

Detect

n00b
Joined
Aug 15, 2019
Posts
5
Thank you. I have been waiting a long time for a solution like this.


If you find a way, I will be first to sign up for one. I'll install my own PCMCIA slot if I have to.

Thanks @Neo Alec , it'll definitely be something I'd be interesting in producing if there's enough interest for it. Currently in a prototype state for my own purpose, but would fully redesign it to be a third of the size, smaller microcontroller, 3D printed case and a far better looking app. I wouldn't dream of having people supply their own parts ha, but thanks for the interest!
 

kernow

Superior Being
20 Year Member
Joined
Sep 1, 2001
Posts
37,831
Wondering if a pi could actually as the usb bridge or something.. card reader wired to the gpio ports

I dunno
 

Detect

n00b
Joined
Aug 15, 2019
Posts
5
Wondering if a pi could actually as the usb bridge or something.. card reader wired to the gpio ports

I dunno

My device is already USB, you just plug it in.

The device in the pics is a prototype, I created a breakout PCB for the PCMCIA and then wired it up to a Arduino Mega. So it communicates over COM5 (USB) - If I'd go full production, I'd probably use the MEGA Pro, considering its a tiny footprint (Plus I have a few lying around to test with).

Not enough pins on a RPi, plus, you wouldn't want to anyways, with the current implementation, as soon as its on, its on and working straight away.

If you plugged it into a RPi running my custom MAME, it should work. Same with on MacOS. My custom MAME is a libretro core so anything that runs libretro will work fine.
 

Dr. Jigglin

Seasoned Expert
20 Year Member
10 Year Member
15 Year Member
1 Year Member
Joined
Feb 13, 2005
Posts
24,747
Every now and then someone truly contributes and its often not those part of the woodwork :keke:
 

Detect

n00b
Joined
Aug 15, 2019
Posts
5
Every now and then someone truly contributes and its often not those part of the woodwork :keke:

Ha, thank you @Dr. Jigglin , looks can be deceiving though, I've actually been here since the late 90s, I just lerk in the shadows, being massively anti-social. But yeah, I'd love to do more like this given the time.
 
Top