Likely the only Nintendo DS project on Github that does not use devkitpro
Go to file
Zack Buhman 62d6a3b2a6 arm7: copy to exclusive internal ram
Before this commit, attempting to start the rom on real NDS/DSi
hardware would result in the display of a solid white screen, with
no apparent evidence of the arm9 program running.

After much testing, I found that this issue was directly caused "main
mmeory" bus contention. Because arm7 and arm9 are both attempting to
read instructions from ewram at the same time, and arm9 bus access
stalls completely.

I also found that this could not be mitigated with giving arm9
priority in EXMEMCNT.

The solution appears to be to relocate arm7 code execution from
main/shared memory to an arm7-internal memory.

After this commit, the examples now function as intended on real
NDS/DSi hardware.
2024-09-10 12:16:19 -05:00
arm7 arm7: copy to exclusive internal ram 2024-09-10 12:16:19 -05:00
arm9 arm7: copy to exclusive internal ram 2024-09-10 12:16:19 -05:00
include examples: add majora 2024-09-04 22:03:27 -05:00
math examples: add triangle_rotating example 2024-09-03 02:54:56 -05:00
model texture build process rework 2024-09-05 10:39:56 -05:00
register examples/majora: slight cleanup 2024-09-05 10:45:41 -05:00
res texture build process rework 2024-09-05 10:39:56 -05:00
texture texture build process rework 2024-09-05 10:39:56 -05:00
.gitignore math: add sin and cos 1.12 fixed point functions. 2024-09-03 00:25:47 -05:00
cartridge.lds examples: add icosphere 2024-09-04 01:51:23 -05:00
common.mk texture build process rework 2024-09-05 10:39:56 -05:00
debug.lds add trivial example program 2024-08-30 05:49:23 -05:00
dump.py arm7: copy to exclusive internal ram 2024-09-10 12:16:19 -05:00
header.s arm7: copy to exclusive internal ram 2024-09-10 12:16:19 -05:00
icosphere.h examples: add icosphere 2024-09-04 01:51:23 -05:00
logo.s add trivial example program 2024-08-30 05:49:23 -05:00
Makefile arm7: copy to exclusive internal ram 2024-09-10 12:16:19 -05:00
patch.py examples: add icosphere 2024-09-04 01:51:23 -05:00
symbols.lds arm7: copy to exclusive internal ram 2024-09-10 12:16:19 -05:00