Commit graph

1886 commits

Author SHA1 Message Date
Paul Holden
978a800b23 Add a helper for dumping RSPTask code. 2023-10-04 23:09:40 +01:00
Paul Holden
9dffafdbbe Fix RSP scalar/vector/task tabs. 2023-10-04 00:01:27 +01:00
Paul Holden
516d0d15d2 kRenderNoRotation seems correct. 2023-10-03 08:52:24 +01:00
Paul Holden
52fe296a0d Tidy 2023-10-03 08:44:48 +01:00
Paul Holden
9e991d9b9c Avoid constructing some dataviews. 2023-10-03 08:44:19 +01:00
Paul Holden
96cdbc5924 Merge gSPObjRectangle etc into execLoadTxRenderObj. 2023-10-03 08:41:50 +01:00
Paul Holden
49a25481f0 Implement gSPObjRectangle, gSPObjRectangleR. 2023-10-03 00:08:09 +01:00
Paul Holden
c6de1ba8f8 Reorder 2023-10-03 00:02:54 +01:00
Paul Holden
30829478fe Implement gSPObjLoadTxRect. 2023-10-03 00:00:59 +01:00
Paul Holden
6de2ab7223 s2dex implementation. 2023-10-02 23:53:30 +01:00
Paul Holden
6b1c9b2b2d Rename Textures tab to Tiles. 2023-10-02 23:32:08 +01:00
Paul Holden
5f9f392421 Helper classes for loading S2DEX structs. 2023-10-02 23:17:24 +01:00
Paul Holden
15fba9fb89 haltOnWarning moved to graphicsOptions. 2023-10-02 23:00:36 +01:00
Paul Holden
11b06e9f96 Add a texRectRot helper for S2DEX. 2023-10-02 23:00:03 +01:00
Paul Holden
a729706fbd Expose haltOnWarning via the debug UI. 2023-10-01 14:10:03 +01:00
Paul Holden
8bcf219029 Remove debugging. 2023-10-01 11:22:23 +01:00
Paul Holden
1c4e80aa66 Implement loadUcode. 2023-10-01 11:21:17 +01:00
Paul Holden
2afa348c32 Keep track of the created microcode instance. 2023-10-01 10:30:37 +01:00
Paul Holden
cad69f90dd Start stubbing out S2DEX. 2023-10-01 10:28:17 +01:00
Paul Holden
a251abd2f9 Stub out the load micrcode command. 2023-10-01 10:12:59 +01:00
Paul Holden
fc763e527f Explicitly bind all the functions when building command tables.
This will allow us to implement S2DEX which needs to inherit common sprite command with GBI1 and GBI2 flavours.
2023-10-01 09:45:40 +01:00
Paul Holden
ca494a8b1d Add debug menu button to run n64-systemtest. 2023-09-30 22:41:38 +01:00
Paul Holden
c397f34ac3 Add bi class to icons. 2023-09-30 22:33:04 +01:00
Paul Holden
f1c280ce90 Make build-debug useful:
* --minify isn't debuggable
* --sourcemap seems to give incorrect results
2023-09-30 22:28:32 +01:00
Paul Holden
c04f1c13f1 LFS for .z64 files. 2023-09-30 22:14:23 +01:00
Paul Holden
a1d21ee68a #cpu0-status and #rsp-status are no longer used. 2023-09-29 09:00:22 +01:00
Paul Holden
97a2021517 Tidy cpu0 status table. 2023-09-29 08:51:33 +01:00
Paul Holden
eb5203f812 Define the RSP status table in HTML and just update the corresponding elements. 2023-09-29 00:12:22 +01:00
Paul Holden
18af706617 Tidy 2023-09-28 23:59:54 +01:00
Paul Holden
e8404890c6 Clean up some of the text. 2023-09-28 23:46:07 +01:00
Paul Holden
72531650f6 Format 2023-09-28 09:14:43 +01:00
Paul Holden
63761c76d2 Move status to README. 2023-09-28 09:04:54 +01:00
Paul Holden
cbaa565aa0 Styling fixes. 2023-09-28 08:41:05 +01:00
Paul Holden
832c43f80c Add a theme toggle button. 2023-09-28 00:31:33 +01:00
Paul Holden
13ef89b6d3 Fix geometry mode style 2023-09-27 23:54:46 +01:00
Paul Holden
ac30b332fe Fix DisplayList tabs. 2023-09-27 23:46:32 +01:00
Paul Holden
75dd085595 Migrate to bootstrap 5.3.2.
This adds dark/light theme support (still a work in progress).
2023-09-27 23:42:58 +01:00
Paul Holden
ccd8ee6064 Serve minified version. 2023-09-26 09:10:42 +01:00
Paul Holden
d4cdf03d44 Remove rollup and sublime configs. 2023-09-26 09:09:30 +01:00
Paul Holden
ffa3011bd3 Add some debug options via lil-gui. 2023-09-25 23:50:41 +01:00
Paul Holden
720f16e281 Pass additional state into fragments via the Function() constructor.
This localises the setup to compileFragment, and benchmarks (https://www.measurethat.net/Benchmarks/ShowResult/464981) suggest it's potentially faster.
2023-09-25 22:55:35 +01:00
Paul Holden
5790976c8c Simplify compileFragment a bit. 2023-09-25 08:45:59 +01:00
Paul Holden
9acd6fab07 Pass cpu1 as an argument to the fragment so it doesn't need to come from the n64js namespace. 2023-09-25 08:36:17 +01:00
Paul Holden
486434d6dc Clean up some uses of n64js.cpu0 and .cpu1. 2023-09-25 08:30:39 +01:00
Paul Holden
2b25b79794 Fix comment. 2023-09-25 08:24:39 +01:00
Paul Holden
69fc95e8e6 Use the exported rsp value rather than adding to n64js namespace. 2023-09-25 08:24:19 +01:00
Paul Holden
131a1102f4 Explicitly init CPU and RSP from n64.js so it becomes the only entry point. 2023-09-24 23:04:24 +01:00
Paul Holden
db7dc34bdd Use bun for build and test and remove all the dependencies. 2023-09-24 21:57:54 +01:00
Paul Holden
1ffe24035c Don't commit package-lock.json and bun.lockb.
I think these are only needed for reproducible builds, but I don't think we need that yet.
2023-09-24 21:31:20 +01:00
Paul Holden
6eb92b35df Resolve fullscreen TODO. 2023-09-24 21:15:22 +01:00