Hacking Hardware Homebrew How to send datas directly to the gamecard slot ?

Glitch_Brain

New Member
Newbie
Joined
Jul 12, 2026
Messages
1
Reaction score
0
Trophies
0
Age
28
XP
7
Country
France
Hello everyone !


I'm new on this forum and this is my first post : i've already coded some Arduino projects from scratch ; i'm comfortable with very-basic coding in C and i can easily understand technical hardware language. The project i'm going to tell you about is my first "complex" project on a non-Arduino hardware and i think this is a perfect project to learn coding deeper. I'm not "english fluant", i hope you will understand this post anyway..!


Ok, so : i'm working on a MPC-based Midi sequencer for 3DS ('cause why not) and for now it works as expected. Firstly, i wanted to send the Midi datas through the audio jack output but after i've tested it (badly i think, but anyway), it doesn't worked : basically, on the hardware side there is to much background noises and on the software side, it looks like we can set the sample rate for a DSP channel (31 250 Hz, the Midi baudrate) but not for the DSP output itself.. So i changed my mind on the data sending method.

I choose to use a DS pico to send those datas from the 3DS :
  • because the DSerial project seems lost
  • we can use the USB interface AND the development pinouts for multiple Midi in/out
  • the Raspberry Pico works like an Arduino so i will be comfortable to code what i want
  • it's an open-source project.

There is the idea and the question :

The Digital Pins of the RP2040's Pico are directly connected to the gamecard slot pins. So i want to send the data to one of those pin, the Pico will convert it to Midi protocol.

On the 3DS side :

I think the functions for that are around 3ds/services/pxidev.h of devKitPro but i'm not sure and this kind of function is out of my competences for now..
  • Does someone have an example code or a good tutorial or documentation to work with the gamecard slot ?
  • Can I interact with the slot with a .3dsx homebrew or should i make the program as a .firm ?
On the DS Pico side :

As i said, i'm comfortable with coding for Arduino, i've already code Midi projects for it and the RP Pico works alike. However :
  • can i code something from scratch or should i keep some files/functions from the Dspico source firmware to make the card workable with the 3DS (card detection, card type,...) ?

Thanks for reading and don't hesitate to ask for information that i've might forgotten, and have a great day !!
 

Site & Scene News

Popular threads in this forum