File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -44,16 +44,21 @@ Used to transfer sound code or data to SNES Audio Processing Unit memory
44
44
1-F Not used (zero)
45
45
```
46
46
47
- The sound code/data is sent by VRAM-Transfer (4 KBytes).
47
+ The sound code/data is sent by [ VRAM transfer] ( < #VRAM Transfers > ) as a contiguous list of "packets".
48
+
48
49
All 16-bit values are little-endian.
49
50
51
+ Data transfer packet format:
52
+ ```
53
+ 0-1 Size of data below (N); if zero, this is instead a jump packet
54
+ 2-3 Destination address in S-APU RAM (typically $2B00, see below)
55
+ 4-N+3 Data to be transferred
56
+ ```
57
+
58
+ Jump packet format:
50
59
```
51
- 000-001 Size of transfer data
52
- 002-003 Destination address in S-APU RAM (typically $2B00, see below)
53
- 004-XXX Data to be transferred
54
- X+1-X+2 "End marker" (???), should be $0000
55
- X+3-X+4 S-APU jump address, should be $0400
56
- X+5-FFF Remaining bytes ignored
60
+ 0-1 Must be $0000
61
+ 2-3 S-APU jump address, use $0400 to safely restart the built-in SGB BIOS' N-SPC sound engine
57
62
```
58
63
59
64
Possible destinations in APU-RAM are:
You can’t perform that action at this time.
0 commit comments