16 Commits

Author SHA1 Message Date
b49f61292f model: enable 4-color and 16-color modes 2024-09-11 12:16:03 -05:00
0fe7105d44 examples: add ulala 2024-09-11 06:20:44 -05:00
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
95baf481d7 examples/majora: slight cleanup 2024-09-05 10:45:41 -05:00
6d464a6d9b texture build process rework 2024-09-05 10:39:56 -05:00
140f243ad3 examples: add majora 2024-09-04 22:03:27 -05:00
909e041082 examples: add icosphere 2024-09-04 01:51:23 -05:00
df31f45fd1 examples: add cube 2024-09-03 22:42:12 -05:00
fb624b986b examples: add texture example 2024-09-03 14:00:37 -05:00
8a56e6de94 examples: add triangle_rotating example 2024-09-03 02:54:56 -05:00
73428f90b1 examples: add triangle 2024-09-03 02:10:42 -05:00
c0395c9a7e Makefile: add arm9/arm7 rules 2024-09-02 23:02:38 -05:00
04cfb2ea0e rework build process 2024-09-01 23:01:00 -05:00
9e6cd43860 rotating bowser 2024-08-31 12:59:45 -05:00
9e9764ef38 bg 2024-08-31 07:13:36 -05:00
977213d712 add trivial example program 2024-08-30 05:49:23 -05:00