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,405
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
  • No one is chatting at the moment.
  • Julie_Pilgrim @ Julie_Pilgrim:
    oh man, that always goes great!
  • Julie_Pilgrim @ Julie_Pilgrim:
    im sure half the responses won't be literal racial slurs or "drop table" jokes
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
    +1
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
    +1
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
    +1
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
    +1
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
    +1
  • Veho @ Veho:
    A smaller form factor would be nice too.
    +1
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    The big leap in all things tech is when carbon based chips start hitting.
  • Psionic Roshambo @ Psionic Roshambo:
    Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)
    Psionic Roshambo @ Psionic Roshambo: Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)