Revolution for DS

Card Protocol Command

B0xxxxxx xxxxxxxx

initialization? or get jumper pins. M3jp=0x1CC, M3en=0x1D4, M3ch=0x1DC, R4en=0x1F4, R4ch=0x1FC

BIT876543210
0=short
1=open
111JP3JP2JP1100
M3---0xx---
R4---1xx---
JP---x01---
EN---x10---
CH---x11---

B2aaaaaa aaxxxxxx

aaaaaaaa: address in SAVE
preparation to read by B3. wait until reading zero.

B3aaaaaa aaxxxxxx

aaaaaaaa: address in SAVE
read from SAVE.

B4aaaaaa aaxxxxxx

aaaaaaaa: file entry address in SD/TF
select file for B7/BF. when first booting, _DS_MENU.DAT is selected automatically. bit0 of address must be 0 for ROM file entry. bit0 should be 1 for SAV file entry for EEPROM emulation?

B6aaaaaa aaxxxxxx

aaaaaaaa: address in ROM
preparation to read by B7/BF. wait until reading zero.

B7aaaaaa aaxxxxxx

aaaaaaaa: address in ROM
read from ROM card emulation. not compatible because it needs B6h cmd

B9aaaaaa aaxxxxxx

aaaaaaaa: sector address
preparation to read from SD/TF sector. wait until reading zero.
recent R4 clones check jumper pins using by a response of this cmd instead of B0h cmd.

BAaaaaaa aaxxxxxx

aaaaaaaa: sector address
read from SD/TF sector

BBaaaaaa aaxxxxxx

aaaaaaaa: sector address
write to SD/TF sector

BCaaaaaa aaxxxxxx

aaaaaaaa: sector address
completion to write SD/TF sector. wait until reading zero.

BDaaaaaa aaxxxxxx

aaaaaaaa: sector address
preparation to write to save sector. wait until reading zero.

BEaaaaaa aaxxxxxx

aaaaaaaa: sector address
completion to write save sector. wait until reading zero.

BFaaaaaa aaxxxxxx

same as B7, excepting data are decrypted. This command is used for reading _DS_MENU.DAT during boot

 
r4ds.txt · Last modified: 2010/04/05 04:40 by 203.184.28.9
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki