B0xxxxxx xxxxxxxx
initialization? or get jumper pins. M3jp=0x1CC, M3en=0x1D4, M3ch=0x1DC, R4en=0x1F4, R4ch=0x1FC
BIT | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0=short 1=open | 1 | 1 | 1 | JP3 | JP2 | JP1 | 1 | 0 | 0 |
M3 | - | - | - | 0 | x | x | - | - | - |
R4 | - | - | - | 1 | x | x | - | - | - |
JP | - | - | - | x | 0 | 1 | - | - | - |
EN | - | - | - | x | 1 | 0 | - | - | - |
CH | - | - | - | x | 1 | 1 | - | - | - |
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