Commit Graph

407 Commits

Author SHA1 Message Date
Dan Malec
b7024c8063 Consolidated GTE header files accounting for both possible tool locations.
* Introduced GTE_IS_SYSTEM_TOOLS_INSTALL as a toggle for the two locations.
* gte.h now routes calls based on the toggle.
* LoadGTEToolSet can now handle either location based on the toggle.
* Removed main.h and main.r as tool loading is now done explicitly.
2022-07-28 22:40:06 -04:00
Lucas Scharenbroich
05d3f42abc Fix key handling and make the background switching less annoying 2022-07-27 07:46:16 -05:00
Lucas Scharenbroich
843203059c Fix comment typo 2022-07-27 00:32:13 -05:00
Lucas Scharenbroich
30db4d7004 Get C demo functional 2022-07-27 00:21:21 -05:00
Lucas Scharenbroich
5114ef569a Handle memory cleanup and interrup setup more robustly 2022-07-27 00:19:58 -05:00
Lucas Scharenbroich
5a0e0e447e Change GTESetScreenMode to use bytes for the width 2022-07-26 00:21:22 -05:00
Lucas Scharenbroich
68b8ca5856 Remove a CLC from the inner dispatch. Saves 2 cycles per block per sprite at the cost of 2 cycles per sprite 2022-07-26 00:11:47 -05:00
Lucas Scharenbroich
d332783c85 Add additional parameter to AddSprite to avoid needing to call UpdateSprite immediately 2022-07-26 00:10:53 -05:00
Lucas Scharenbroich
2e578148d9 Fix documentation for AddSprite 2022-07-24 21:21:10 -05:00
Lucas Scharenbroich
eb8f21acdd Add additional npm script targets 2022-07-24 21:20:54 -05:00
Lucas Scharenbroich
58426043fc Fix path to tool when building at the top-level 2022-07-24 21:20:33 -05:00
Lucas Scharenbroich
d7be9f1be4 Add .gitignore files to all demo folders 2022-07-23 16:37:11 -05:00
Lucas Scharenbroich
358b25447d Add generated assets to make it easier to build from scratch 2022-07-23 16:34:07 -05:00
Lucas Scharenbroich
df80889499 Merge branch 'kfest-2022' 2022-07-23 16:32:30 -05:00
Lucas Scharenbroich
4c1d8343d8 Save package lock 2022-07-23 16:32:17 -05:00
Lucas Scharenbroich
919dcf7fd3 Fix bit numbers in the GTEReadControl docs 2022-07-23 12:33:29 -05:00
Lucas Scharenbroich
0c7a6364b7 Sync documentation with current KFest demo capabilities 2022-07-23 09:57:03 -05:00
Lucas Scharenbroich
4b9d4233b3 Add in new toolbox calls 2022-07-22 16:31:49 -05:00
Lucas Scharenbroich
b35c96c0fb Set better default scale 2022-07-22 16:02:00 -05:00
Lucas Scharenbroich
f446e44a39 Fix arcs to Render 2022-07-22 16:01:19 -05:00
Lucas Scharenbroich
acf0276ff5 Get vertical rotation scaling going 2022-07-22 16:00:41 -05:00
Lucas Scharenbroich
18da2546bd Add horizontal scaling to the background rotation 2022-07-22 02:01:34 -05:00
Lucas Scharenbroich
f7eb80f2fe Final demo in place 2022-07-22 00:36:52 -05:00
Lucas Scharenbroich
6c531619f9 Merge branch 'fixup-rotations' into kfest-2022 2022-07-21 23:35:53 -05:00
Lucas Scharenbroich
8541164fe6 Fix typos 2022-07-21 23:29:13 -05:00
Lucas Scharenbroich
45a8fef47b Add packages to top-level 2022-07-21 22:57:03 -05:00
Lucas Scharenbroich
d09f8e3681 Update old demos to current APIs 2022-07-21 22:56:32 -05:00
Lucas Scharenbroich
8aa816037c Misc odds-and-ends 2022-07-21 22:54:28 -05:00
Lucas Scharenbroich
3063ab88f9 Fix sprite stamp rendering for 8x16 and 16x8 sprites 2022-07-21 22:51:25 -05:00
Lucas Scharenbroich
217b1a95f5 Demo 9 2022-07-21 20:29:55 -05:00
Lucas Scharenbroich
3b274c7a81 Demo 5 complete 2022-07-21 20:26:46 -05:00
Lucas Scharenbroich
23f3626293 Fix issues preventing BG1 per-line offsets from working 2022-07-16 16:42:41 -05:00
Lucas Scharenbroich
0ab7fa9d81 Two layer demos 2022-07-16 15:22:23 -05:00
Lucas Scharenbroich
14238166cd More demos 2022-07-13 15:07:02 -05:00
Lucas Scharenbroich
d2b91cfde6 Fix palette assignment issue 2022-07-13 09:27:56 -05:00
Lucas Scharenbroich
1b7c2c22b1 KFest Demos 2022-07-13 08:57:05 -05:00
Lucas Scharenbroich
4506f808c9 Restore BG1 rotation code 2022-07-12 21:03:30 -05:00
Lucas Scharenbroich
d7c0577167 Fix typo that caused sprite to render above a tile with priority set; only for dirty tiles 2022-07-08 12:37:06 -05:00
Lucas Scharenbroich
086f462617 Restrict _Refresh to only on-screen tiles 2022-07-08 12:36:07 -05:00
Lucas Scharenbroich
552d32d0fa Add back support for SPRITE_HIDE control bit 2022-07-08 12:35:49 -05:00
Lucas Scharenbroich
e9a2b8569b Fix drift between public macro file and internal definitions 2022-07-07 17:57:05 -05:00
Lucas Scharenbroich
530cdbd07f Merge branch 'dirty-tiles' 2022-07-07 17:44:21 -05:00
Lucas Scharenbroich
5ab9fe1c3b Fix bank register for overlapping dirty sprites 2022-07-07 17:43:57 -05:00
Lucas Scharenbroich
af7bd36906 Fix logic to prevent unecessary sprite updates 2022-07-07 17:22:44 -05:00
Lucas Scharenbroich
9856bad091 Fix dirty<->normal rendering transition 2022-07-07 14:46:37 -05:00
Lucas Scharenbroich
77b69cdc82 Fix _PopDirtyTile2 routine to sync with new TS_DIRTY conventions; fixes basic dirty sprite rendering 2022-07-07 09:12:23 -05:00
Lucas Scharenbroich
182ebfd566 Set dirty render to the correct direct page and several small cleanups 2022-07-06 14:55:27 -05:00
Lucas Scharenbroich
885feafb39 Fix up initialization 2022-07-06 12:50:52 -05:00
Lucas Scharenbroich
41539ae606 Update zelda demo to use tool interface 2022-07-06 08:53:50 -05:00
Lucas Scharenbroich
a33d7ab341 Fix initialization bug that has been there forever. Thanks Ian Brumby 2022-07-06 07:32:04 -05:00