Hardware Homebrew Others Homebrew app DS Slot 2 GPIO timings?

SynthGal

New Member
OP
Newbie
Joined
Jan 25, 2022
Messages
2
Trophies
0
Age
30
XP
38
Country
Canada
Hi folks, I have an odd question. I have an idea for a DS/DS Lite homebrew project that would have a nice progression of (relatively) easy to more difficult programming goals. I am not very proficient at coding at the moment and haven't really found the right thing to sink my teeth into to get better. The absolute last thing to implement in this idea would be controlling addressable LEDs (preferably neopixels, but I'm not picky) via the Slot 2 GBA connector.

My question is, would this be even remotely possible? I've done some research and from the documentation I found I think the GBA slot can be addressed in such a way directly without an intermediary device such as an arduino (I've seen some stuff where the GBA port is connected to a microcontroller dev board and then the board does the controlling of the LEDS but I would like if it did not require any hardware other than a flash cart, a DS/Lite, a simple cartridge connector, and the LEDs themselves), but I am very clearly not knowledgeable enough (not yet, hopefully) to know if it can be done with strict enough clock timing*, if it would require learning assembly instead of sticking to a higher level language, and/or if it would require bit bashing to accomplish.

Is this a really dumb idea? Yeah. Am I thinking way too far ahead? Definitely. Is this just another flash-in-the-pan ADHD special interest that I will furiously fantasize about and then burn out on within a week? Probably. But I'm just curious if the end goal is physically possible, even if it only goes as far as a disorganized notes file in my google docs like most of my other great/terrible ideas.

If you end up reading docs and have the time, knowledge and patience to answer, I really appreciate it!

*while typing this post out I found an article about neopixel timings being a little less strict that documented although I cannot post it due to newbie restrictions. If you google "NeoPixels Revealed: How to (not need to) generate precisely timed signals" you'll probably find it.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,373
Country
United Kingdom
Everything I have seen even vaguely in this world was an ASIC or some kind of intermediate chip (micro, CPLD, FPGA... it matters not), or maybe speaking GPIO. There are some serious low pin count pic chips these days (we see them often enough in drive chips for older devices) if you did want to do something there.

Still general overview
http://problemkaputt.de/gbatek.htm#gbacartridges
and
http://problemkaputt.de/gbatek.htm#gbacartioportgpio

Something that might be of interest
https://www.darkfader.net/gba/ , particularly https://www.darkfader.net/gba/psxmem.html though you might need https://web.archive.org/web/20110527074511/http://darkfader.net/gba/psxmem.html for the pictures.
 

SynthGal

New Member
OP
Newbie
Joined
Jan 25, 2022
Messages
2
Trophies
0
Age
30
XP
38
Country
Canada
Everything I have seen even vaguely in this world was an ASIC or some kind of intermediate chip (micro, CPLD, FPGA... it matters not), or maybe speaking GPIO. There are some serious low pin count pic chips these days (we see them often enough in drive chips for older devices) if you did want to do something there.

Still general overview
(link removed because newbie)
and
(link removed because newbie)

Something that might be of interest
(link removed because newbie) , particularly (link removed because newbie) though you might need(link removed because newbie) for the pictures.
Looks like that darkfader stuff is through the GBA link cable port (unless my reading comprehension has failed me, as it often does) but I do appreciate the gbatek links! I think I found some other leads on the darkfader website for DS stuff as well, so that helps too.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I don't have them on mine Ken lol
  • K3Nv2 @ K3Nv2:
    Waste of the 128kb they take
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Tiger handhelds are good for one thing.... Occupying space in a landfill
  • K3Nv2 @ K3Nv2:
    They make good burning plastic
  • BigOnYa @ BigOnYa:
    Makes me wonder if the Pi5 can play PS2? If there's even a core for it yet.
  • K3Nv2 @ K3Nv2:
    Pi5 should be able to do ps2
  • Psionic Roshambo @ Psionic Roshambo:
    Try Dragon Quest VIII it ran perfectly on a core 2 Duo I had
  • Psionic Roshambo @ Psionic Roshambo:
    Easiest game to run I found
  • K3Nv2 @ K3Nv2:
    Ps2 emulation is cake compared to 3 years ago
  • Psionic Roshambo @ Psionic Roshambo:
    Hardest is probably Gran Turismo 4
  • Psionic Roshambo @ Psionic Roshambo:
    It's much better now yes but Gran Turismo 4 is still the hardest one to emulate that I have in my collection
  • Psionic Roshambo @ Psionic Roshambo:
    Runs perfectly fine but it's as if I can feel it always on the boarder line of dropping a frame lol
  • BigOnYa @ BigOnYa:
    I ordered a spin ball couple days ago to add to my arcade cabinet, will be nice for games like golden tee, or bowling
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted a controller for like Ikari Warriors, Time Soldiers, Heavy Barrel, Forgotten Worlds games like those
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not even sure what to call that controller
  • Xdqwerty @ Xdqwerty:
    an online friend I've known since 2021 left me :( bc my attitude is "cutty"
  • Psionic Roshambo @ Psionic Roshambo:
    Sylvester Stallone should have played Kyle Reese lol Arnold still as the Terminator
  • BakerMan @ BakerMan:
    TF DOES "CUTTY" EVEN MEAN?
  • Xdqwerty @ Xdqwerty:
    @BakerMan, he is peruvian so it's probably an idiom
  • BigOnYa @ BigOnYa:
    I thought Cutty was a west coast rapper
  • K3Nv2 @ K3Nv2:
    Cutter
  • Psionic Roshambo @ Psionic Roshambo:
    Dr Cutty
  • Psionic Roshambo @ Psionic Roshambo:
    It's from House MD lol
  • K3Nv2 @ K3Nv2:
    I took too much viagra Dr cutty oh wait
    K3Nv2 @ K3Nv2: I took too much viagra Dr cutty oh wait