Commit Graph

20 Commits

Author SHA1 Message Date
Zack Buhman
6eda2bba0a examples/cube: unrot 2025-05-15 20:04:34 -05:00
Zack Buhman
ed46a806b7 examples: add happy_mask_salesman 2024-09-11 13:27:28 -05:00
Zack Buhman
b49f61292f model: enable 4-color and 16-color modes 2024-09-11 12:16:03 -05:00
Zack Buhman
3aea58f4a9 arm9: use instruction TCM 2024-09-11 08:58:05 -05:00
Zack Buhman
b7720547c7 ulala: use VTX_16 2024-09-11 06:26:23 -05:00
Zack Buhman
0fe7105d44 examples: add ulala 2024-09-11 06:20:44 -05:00
Zack Buhman
e13e4ba987 main: rename to "2d_engine" 2024-09-10 12:43:37 -05:00
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
Zack Buhman
95baf481d7 examples/majora: slight cleanup 2024-09-05 10:45:41 -05:00
Zack Buhman
6d464a6d9b texture build process rework 2024-09-05 10:39:56 -05:00
Zack Buhman
140f243ad3 examples: add majora 2024-09-04 22:03:27 -05:00
Zack Buhman
909e041082 examples: add icosphere 2024-09-04 01:51:23 -05:00
Zack Buhman
ba8201acee cube: enable backface culling 2024-09-03 23:26:29 -05:00
Zack Buhman
a6a18162bf cube: add perspective matrix 2024-09-03 23:26:20 -05:00
Zack Buhman
df31f45fd1 examples: add cube 2024-09-03 22:42:12 -05:00
Zack Buhman
fb624b986b examples: add texture example 2024-09-03 14:00:37 -05:00
Zack Buhman
751d15a31c triangle_rotating: add display squareness correction 2024-09-03 03:08:54 -05:00
Zack Buhman
8a56e6de94 examples: add triangle_rotating example 2024-09-03 02:54:56 -05:00
Zack Buhman
73428f90b1 examples: add triangle 2024-09-03 02:10:42 -05:00
Zack Buhman
04cfb2ea0e rework build process 2024-09-01 23:01:00 -05:00