64DD/PIF questions

Discussion in 'Nintendo Game Development' started by LuigiBlood, Aug 23, 2011.

  1. LuigiBlood

    LuigiBlood SNES and 64DD Savior

    Joined:
    Sep 21, 2009
    Messages:
    171
    Likes Received:
    139
    (Been a while since i'm here...)
    Well...
    I'll be honest, it's not like i plan to do something with it (i'm quite busy hacking/emulating the online functions of the Satellaview), but i'm quite interested about how the 64DD works.

    I learned about N64 PIF, and apparently there's no choice but to use it for communicating with the 64DD.

    I found this: http://www.eurasia.nu/wiki/index.php/N64ddCommands
    Except that i didn't really get it. I've seen PIF used for ROM IPL Access, Disk Access, Joypad Access, and SRAM Access by watching the N64 SDK 5.0 documentations.
    I didn't get how it should be used for each, and so here's my question:

    - How can you change the access? I mean by that, what should be done, to access the Joypad, SRAM, and 64DD (I didn't get the difference to know what's happening)?

    It's possible that i have other questions to ask after that. (Also, if i plan to do something, when i want to program on the N64, i don't plan to use C with the N64 SDK, i plan to use ASM.)
     
    Last edited: Aug 23, 2011
  2. arbingordon

    arbingordon Active Member

    Joined:
    Dec 2, 2010
    Messages:
    36
    Likes Received:
    0
    Look at libdragon to see how to use the PIF for "SRAM" (I think you mean EEPROM, as SRAM is done via SI DMA) and Joypad. Also check out LaC's hardware document:
    http://hcs64.com/files/n64-hw.dox
     
  3. LuigiBlood

    LuigiBlood SNES and 64DD Savior

    Joined:
    Sep 21, 2009
    Messages:
    171
    Likes Received:
    139
    Ok now I understand the PIF channels... If it has 6 channels...
    Then 0-3 = Controllers; 4-5 = Cartridge; 6 = EXT?

    (I really want to know how the 64DD works. I'm even disassembling roms for that.)
     
  4. arbingordon

    arbingordon Active Member

    Joined:
    Dec 2, 2010
    Messages:
    36
    Likes Received:
    0
    For 0-3, 4-5 you are correct, for EXT I am not sure.
    If you're interested in poking around in 64DD ROMs, you might check out #n64dev @ efnet, jrra has been doing the same for a couple of months and has figured some stuff out, I believe.
     
  5. LuigiBlood

    LuigiBlood SNES and 64DD Savior

    Joined:
    Sep 21, 2009
    Messages:
    171
    Likes Received:
    139
    Okay... So i was wrong the whole time. Controlling 64DD doesn't happen on PIF.
    With help from some random source code, and i have even double checked that, i found out that 64DD registers are in 0x05000000. That's cool to know.
     
  6. Barc0de

    Barc0de Mythical Member from Time Immemorial

    Joined:
    Oct 29, 2005
    Messages:
    11,205
    Likes Received:
    23
    just curious, did you dump the images off the commercial disks yourself?
     
  7. LuigiBlood

    LuigiBlood SNES and 64DD Savior

    Joined:
    Sep 21, 2009
    Messages:
    171
    Likes Received:
    139
    Not really. I'm just quite curious. (And the only things i did dump was GBA ROMs that was released before and SRAMs)
    If i did dump those 64DD commercial games, i would release them already. No matter the cost. (Also, i don't have a 64DD)
     
    Last edited: Aug 24, 2011
  8. Barc0de

    Barc0de Mythical Member from Time Immemorial

    Joined:
    Oct 29, 2005
    Messages:
    11,205
    Likes Received:
    23
    well, considering this information is now public domain I'd personally advise you against such bold statements in the face of nintendo's legal team.

    That said, the 64DD is an odd beast from a bygone era and its clever workings are still fascinating to deal with! I wish you best of luck on all those fronts and I hope you make progress on your research:)
     
  9. LuigiBlood

    LuigiBlood SNES and 64DD Savior

    Joined:
    Sep 21, 2009
    Messages:
    171
    Likes Received:
    139
    It's not like i would dump them right now. I don't have the games, and i don't have a 64DD to begin with.

    I'm still facinated on addons like those, and as I said before, I did some reverse engineering of the Satellaview, and made it download a "Message of The Day".
    (I've even made a topic about it, but it didn't get popular.)
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page