Commit b1d1984
committed
Add 3DS memory map
The "real" addresses set here are based on 3DS virtual memory addresses, with this memory map intended to map 1:1 with 3DS userland virtual memory
Unsure if this would end up being desirable in practice. This has the benefit of making points map 1:1 to RetroAchievements memory space (which is a huge win given how pointer heavy 3DS games will be and the disjointed mess that "real" memory lies in the memory map). This will, however, balloon the memory space to search in for developers. BizHawk (the current 3DS RetroAchievements capable emulator), as an implementation detail, also slightly suffers for the achievement runtime as it will allocate 1GiB here for a memory block LUT; this is an implementation detail, however, just due to being a multi-system emulator, a standalone emulator wouldn't have such, and even so 1GiB of memory is relatively free for any machine that can handle 3DS emulation anyways.
A different memory map could potentially be made which only covers the "real" memory spaces, but doing so will still have a large amount of memory mapped (definitely more than 256MiB, the size of the New 3DS's FCRAM), and will be much harder for the current achievements implementation to handle pointers (given the reported problems with even handling MEM1/MEM2 on the Wii).1 parent 40d1b63 commit b1d1984
2 files changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
762 | 785 | | |
763 | 786 | | |
764 | 787 | | |
| |||
1133 | 1156 | | |
1134 | 1157 | | |
1135 | 1158 | | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1136 | 1162 | | |
1137 | 1163 | | |
1138 | 1164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
0 commit comments