notes:flashcart:r4ds
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:flashcart:r4ds [2023/10/16 14:28] – asie | notes:flashcart:r4ds [2023/10/16 15:03] (current) – asie | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== R4 (NDS) programming ====== | ====== R4 (NDS) programming ====== | ||
| - | Original research provided mostly by lifehackerhansol. | + | Original research provided mostly |
| ===== Control flags ===== | ===== Control flags ===== | ||
| Line 17: | Line 17: | ||
| < | < | ||
| 31 | 31 | ||
| - | ???? ???? ???? ???? ???? ???m mmmm msss | + | ???? ???? ???? ???? ???? ???L LLml lsss |
| | |||| |||| | | |||| |||| | ||
| | |||| |+++- Initialization status: | | |||| |+++- Initialization status: | ||
| Line 25: | Line 25: | ||
| | |||| | 3 - could not find _DS_MENU.DAT | | |||| | 3 - could not find _DS_MENU.DAT | ||
| | |||| | 4 - success | | |||| | 4 - success | ||
| - | +-++++-+---- Model (maybe only top four bits?): | + | | |||+-+---- Language: |
| - | 0x3A - M3DS Simply | + | | ||| 1 - Japanese |
| - | 0x3E - R4 Revolution for DS | + | | ||| 2 - English |
| + | | ||| 3 - Chinese | ||
| + | | ||+------- Model: | ||
| + | | || 0 - M3DS Simply | ||
| + | | || 1 - R4 Revolution for DS | ||
| + | | ||
| + | | ||
| + | | ||
| + | 3:0? - Simplified Chinese | ||
| + | 3:1? - Traditional Chinese | ||
| </ | </ | ||
| Line 63: | Line 72: | ||
| SD read data, but using the " | SD read data, but using the " | ||
| - | ==== ? Get card ID ? (B8 00 00 00 00 00 00 00) ==== | + | ==== Get card ID (B8 00 00 00 00 00 00 00) ==== |
| + | |||
| + | [[https:// | ||
| + | |||
| + | > Card ID commands are not patched and use the timings from the retail game ROM header, but without L1 latency (that' | ||
| ==== SD read request (B9 sd sc sb sa 00 00 00) ==== | ==== SD read request (B9 sd sc sb sa 00 00 00) ==== | ||
| Line 69: | Line 82: | ||
| * (MSB) sd sc sb sa (LSB) - sector address, in bytes | * (MSB) sd sc sb sa (LSB) - sector address, in bytes | ||
| - | Returns | + | Returns |
| ==== SD read data (BA 00 00 00 00 00 00 00) ==== | ==== SD read data (BA 00 00 00 00 00 00 00) ==== | ||
| Line 85: | Line 98: | ||
| * (MSB) sd sc sb sa (LSB) - sector address, in bytes | * (MSB) sd sc sb sa (LSB) - sector address, in bytes | ||
| - | Returns | + | Returns |
| ==== Save write start (BD sd sc sb sa 00 00 00) ==== | ==== Save write start (BD sd sc sb sa 00 00 00) ==== | ||
notes/flashcart/r4ds.1697466539.txt.gz · Last modified: by asie
