Can you Dump gba rom onto slot 2

Discussion in 'NDS - Flashcarts and Accessories' started by villa_bryan, Oct 15, 2007.

  1. villa_bryan
    OP

    villa_bryan Advanced Member

    Newcomer
    88
    0
    Jun 24, 2007
    United States
    I bought my girlfriend a fire linker card.

    i want to dump the gba rom on my cyclo onto the fire linker on my ds. can it be done?

    if not where can i get sp link?
     
  2. ryuku32

    ryuku32 Member

    Newcomer
    10
    0
    Oct 2, 2007
    United States
    maryland
    I wrote a program for NDS that'll write a single ROM to the Fire Linker. If you ever got SPLINK to write a multi-boot menu then I'd love to get a full 16MB dump of it to be able to find out the routines used to bankswitch to allow multiple ROMs within my writing software...

    I'm at work right now, and the program is rather unpolished right now, but I can post a build of gbaldr that'll work tonight after I remove the SRAM things it does (no bankswitching = no SRAM for gbaldr to use for itself...)
     
  3. villa_bryan
    OP

    villa_bryan Advanced Member

    Newcomer
    88
    0
    Jun 24, 2007
    United States
    i have 12 mb, 3 games, on it not 16.

    could i dump it just like a regular gba cart?
     
  4. ryuku32

    ryuku32 Member

    Newcomer
    10
    0
    Oct 2, 2007
    United States
    maryland
    patched gbaldr

    Only does 1 game / 1 save. Saves are written using the game id + serial found on the flash cart.

    START button: Launch SLOT-2 or Write SRAM into .SAV
     
  5. ryuku32

    ryuku32 Member

    Newcomer
    10
    0
    Oct 2, 2007
    United States
    maryland
    Yeah you'd dump it like a normal cart. Any number of games will do fine as long as it has start-up menu ... I'd appreciate it.

    edit: hold 'R' when starting that gbaldr, it should write out a file.
    edit2: i got a test dump done already now. thks though.
     
  6. ryuku32

    ryuku32 Member

    Newcomer
    10
    0
    Oct 2, 2007
    United States
    maryland
    version 3

    fixed a delay when writing SRAM to file. autosave is set to false, can use gbaldr.ini to turn it back on.

    Code:
    [settings]
    autosaves  = true; whether when flashing a new game the previous save will be backed up - default is false
     
  7. chuckstudios

    chuckstudios Putting the pro in procrastination

    Member
    896
    0
    Jul 19, 2006
    United States
    North Carolina, USA
    I declare GPLv2. I'd like to add this to NDStation.
     
  8. ryuku32

    ryuku32 Member

    Newcomer
    10
    0
    Oct 2, 2007
    United States
    maryland
    That's fine. The main and informative thread is on gbadev.
    I'm a noob programmer so it's nothing like what I'd like. There MAY be 4MB of RAM onboard but haven't found a way to access it so it's all NOR writing...

    gbaldr-szcard v3 source

    Can't do much from scratch for GBA, I also got gbamenu from tftpds for loading up to 4 roms using the 256K of SRAM in 4 64K blocks. That was simply from changing the Visoly access stuff to those on the gbadev thread, removing it's sram routines and just using an sram_bank(itemcnt), blah blah... if ya want it too i'll try separating it from tftpds and getting it rar'd up and online.

    i actually thought of NDStation... it never did work on my 3in1... maybe it's b/c my slot1 is DS-X?

    edit: if ya just need the read/write stuff you can try the quick test code. but maybe i haven't messed with it in a few days so the gbaldr source would be better? [​IMG] they're actually still in the 3in1.c file. i didn't bother leaving 3in1 support in, prolly should've but it was all quick hacks. maybe one-day a fully polished multi-card program will be produced... is there any demand tho?
    edit2: just though about the eraseSector in the test, it doesn't erase the last 4k right because it should be address == 0 or address == FF0000
     
  9. chuckstudios

    chuckstudios Putting the pro in procrastination

    Member
    896
    0
    Jul 19, 2006
    United States
    North Carolina, USA
    Thanks! I've ripped the relevant code out of your GBAldr hack and I'll integrate it into NDStation tomorrow.
     
  10. ryuku32

    ryuku32 Member

    Newcomer
    10
    0
    Oct 2, 2007
    United States
    maryland
    You have one of these I assume... Is this only the 2nd card supported? When can we expect a release?
     
  11. chuckstudios

    chuckstudios Putting the pro in procrastination

    Member
    896
    0
    Jul 19, 2006
    United States
    North Carolina, USA
    I don't have one. This is only the second card supported, though.

    As for a release... when it's done. [​IMG]
     
  12. ryuku32

    ryuku32 Member

    Newcomer
    10
    0
    Oct 2, 2007
    United States
    maryland
    hah. well you know where to send the test builds though, right? hook it up! [​IMG] i have both cards.

    edit:
    i'm done with this for now. it does everything i need. added multi-rom stuff. rar'd it up with binaries and source.

    version 4
     
  13. Izotov

    Izotov Member

    Newcomer
    27
    4
    Jul 20, 2014
    Pls reupload ver4
     
  14. migles

    migles i'm a dude, i just enjoy pretty girls and money...

    Member
    GBAtemp Patron
    migles is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    6,042
    3,983
    Sep 19, 2013
    Saint Kitts and Nevis
    my dad works for nintendo.
    sadly the member @ryuku32 is no longer active since 2015....
    however i will tag @chuckstudios maybe he still has a backup of the file...

    i searched and all i could find was: http://gamebrew.org/wiki/GBALdr
    probably not what you are looking for hope i could help you somehow
     
  15. enarky

    enarky owls?

    Member
    1,030
    232
    Jul 31, 2003
    Afghanistan
    migles likes this.
  16. Izotov

    Izotov Member

    Newcomer
    27
    4
    Jul 20, 2014
    I found facebook of author, and he reupload archive
    This is pathed version of GBAldr special only for Fire Linker (SZcard), not for 3in1 ez
    http://scottn.us/2007/10/gbaldrszcard-patch-version-4/
     
  17. migles

    migles i'm a dude, i just enjoy pretty girls and money...

    Member
    GBAtemp Patron
    migles is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    6,042
    3,983
    Sep 19, 2013
    Saint Kitts and Nevis
    my dad works for nintendo.
    ok, anyway, as above member linked the archive.org had the file backuped so... it's still alive!