Before getting started: for those who don't know, SD2PSX is a device designed to emulate PS1 and PS2 memory cards.
It stores everything on an SDCard. The device and it's software are both fully open source! You can browse the firmware source code, or access the information to build the board...