Jump to content
IGNORED

Lynx Multi Cart


SainT

Recommended Posts

Well, I can certainly say that any kind of EEPROM compatibility is not going to happen, I'm afraid. I'm designing this with expandability in mind rather than trying to simulate the very few save options already out there. It should be pretty simple to patch ROMs to use an alternative load / save method though (as you find on Gameboy flash carts etc).

 

What you will be able to do however is read and write as much data as you like on the memory card, so it does open up many more possibilities than a simple EEPROM type save. :)

Edited by SainT
Link to comment
Share on other sites

Bit of an update -- finally got some time to look at the routing tonight. Redid most of it again as I realised it wasn't going to work and I'm finally getting somewhere now. The majority of the work is done in routing all the components together and just a few control signals need adding before routing all the signals from the Lynx cart edge. That's the easy part as there is tons of space available where you cant place components. :)

 

Its been relatively tricky (for me anyway!) to route as the space is so limited on the Lynx cart for all the components needed, plus you cant put decoupling caps on the back of the board as is usually my habit. Still, fun though! :-D

  • Like 1
Link to comment
Share on other sites

Could you add a hole or something, so it could removed easily from a lynx 1?

 

Might not be so easy to get out of a Lynx II either!

 

Any recommendations as to what SD card to get?

 

Just get a cheap SDHC microSD card. 4GB versions are dirt cheap now. They are normally made by Sandisk.

  • Like 1
Link to comment
Share on other sites

Any memory card should do the job in theory, although once I've got something working I'll post up which ones I can confirm to work. Never can be 100% sure on SPI compatibility...

 

I have no idea about Lynx 1 compatibility as I just have a couple of Lynx 2's. Not sure what the space is like in the cartridge bay. Once I've got a prototype up and running I'll see if I can pick up a cheap Lynx 1 and see. As for holes in general I could probably put one above the memory card connector. It's layed out like it is with a cutout so I can fit 2 pcb's on a single 10x10 board, meaning the pcb cost is halved. We'll see how it goes.

 

Thanks, Karri. :) I've done a few boards before, but I'm very much a novice with hardware. The layout has ended up being relatively tidy thanks to the peripheral pin select on this PIC chip and the flexibility you have with SRAM pins. I think I'll tweak the routing a bit to try and tidy up the ground plane, though. I'd normally have power on the top and ground on the bottom, but this layout is really tight so power and ground are on the bottom. I'm at the limits with trace and via size with the PCB fab so I'm hoping it'll all come out alright. :)

Edited by SainT
  • Like 1
Link to comment
Share on other sites

Have you given any thought for save games?

 

In MegaPak we reserved a 32 byte memory area for EEPROM saves. The idea was to read it from the EEPROM into RAM at startup. And write if from RAM to EEPROM whenever it changed due to a new high score or something. In Handy the read/write did not work so you lost progress when you turned the game off. But as long as you were playing the EEPROM appeared to be working as the content was in a RAM buffer.

 

Perhaps you could think about some similar functions for the SD card. We could add it to cc65. You could then link your game either with EEPROM support or SD card support.

Link to comment
Share on other sites

On 8/8/2014 at 12:44 PM, karri said:

Have you given any thought for save games?

 

In MegaPak we reserved a 32 byte memory area for EEPROM saves. The idea was to read it from the EEPROM into RAM at startup. And write if from RAM to EEPROM whenever it changed due to a new high score or something. In Handy the read/write did not work so you lost progress when you turned the game off. But as long as you were playing the EEPROM appeared to be working as the content was in a RAM buffer.

 

Perhaps you could think about some similar functions for the SD card. We could add it to cc65. You could then link your game either with EEPROM support or SD card support.

Yep, I intend to have file read / write access to the memory card. So save games will be upto the game to load and save state from the card. :)

Edited by SainT
  • Like 1
Link to comment
Share on other sites

Very cool project! Glad to see people still have an interest in designing cool hardware to work with this awesome handheld. :)

 

I would agree with several others in this thread that compatibility with EEPROM saves on a handful of known cartridges (SIMIS, MegaPak, etc.) would be ideal. This would also cultivate a standard for future homebrewers to use, and would allow them to create a physical cart with a 93c86 on it, or use the multi-cart, and not have to make two versions of their game.

 

Next project for you: a ComLynx to WiFi or Bluetooth adapter, so we can get rid of all those pesky cables... :D

 

 

I'd rather some ComLynx to JagLink or MIDI adapter cables were made. Wouldn't it be a sight to have STs, A8s, Lynxes, and Jaguars linked up and playing MIDI Maze together [assuming the game was ported to the Lynx and the Jaguar]...

Link to comment
Share on other sites

On 8/22/2014 at 8:20 PM, Guitari said:

Hi SainT, I think I remember you saying that you weren't specifically trying to get the card working with homebrew ROMs, but how will it be with openly available homebrew ROMs like Gadget's progressive versions of Alien for example?

 

In theory it should actually run pretty much any homebrew, as I am also supporting bank switching using the audin pin as is used by some of the homebrew. It will either be memory card file access support (which also uses the audin pin) OR 1mb bank switching. It will be dependant on the ROM image. The one thing I am specifically not supporting is any emulation / compatibility with EEPROM save or anything like that used by other carts.

Edited by SainT
  • Like 1
Link to comment
Share on other sites

A very short update as well... I've done a bit more on the routing and I think finalised everything. I've had bugger all spare time recently, but next on the list is to write the PIC code for programming the SRAM as a way of sanity checking I've hooked everything up right. There's nothing like actually writing the code which drives all the lines to figure out if its correct. ;)

  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...