Difference between revisions of "PXI"

From DSiBrew
Jump to navigation Jump to search
(add more file stuff)
(added FATFS command 0xF)
Line 1: Line 1:
 
PXI is the inter-processor communication interface between the ARM7 and ARM9.  Most user code runs on the ARM9 and makes requests to the ARM7 to access various hardware (SD, NAND, AES, etc).  Each module is identified by a tag.
 
PXI is the inter-processor communication interface between the ARM7 and ARM9.  Most user code runs on the ARM9 and makes requests to the ARM7 to access various hardware (SD, NAND, AES, etc).  Each module is identified by a tag.
 
  
 
* PXI 0xB: CARD
 
* PXI 0xB: CARD
Line 18: Line 17:
 
** subcommand 0xD: open
 
** subcommand 0xD: open
 
** subcommand 0xE: seek
 
** subcommand 0xE: seek
 +
** subcommand 0xF: getfilesize
 
** subcommand 0x15: createfile
 
** subcommand 0x15: createfile
 
** subcommand 0x15: deletefile
 
** subcommand 0x15: deletefile

Revision as of 23:23, 28 June 2022

PXI is the inter-processor communication interface between the ARM7 and ARM9. Most user code runs on the ARM9 and makes requests to the ARM7 to access various hardware (SD, NAND, AES, etc). Each module is identified by a tag.

  • PXI 0xB: CARD
  • PXI 0x13: AES
    • subcommand 1,0
    • subcommand 7,6
    • subcommand 0xA, 0
    • subcommand 0xA, 1
    • subcommand 0xA, 2
    • subcommand 0xA, 3
    • subcommand 0xA, 4
  • PXI 0x14: FATFS
    • subcommand 0x0: read
    • subcommand 0x1: write
    • subcommand 0x3: readdir
    • subcommand 0x8: close
    • subcommand 0xD: open
    • subcommand 0xE: seek
    • subcommand 0xF: getfilesize
    • subcommand 0x15: createfile
    • subcommand 0x15: deletefile
    • subcommand 0x16: renamefile?
    • subcommand 0x17: getpathinfo
    • subcommand 0x19: createdir
    • subcommand 0x1f: truncate
    • subcommand 0x20: createfile
  • PXI 0x13: SEA
    • subcommand 1,0