Commit graph

1733 commits

Author SHA1 Message Date
Paul Holden
643dfa52d3 Merge gSPObjRectangle etc into execLoadTxRenderObj. 2023-10-15 13:54:17 +01:00
Paul Holden
ca086c2191 Implement gSPObjRectangle, gSPObjRectangleR. 2023-10-15 13:54:17 +01:00
Paul Holden
afa5b1d028 Reorder 2023-10-15 13:54:17 +01:00
Paul Holden
4414d374ab Implement gSPObjLoadTxRect. 2023-10-15 13:54:17 +01:00
Paul Holden
dc44136780 s2dex implementation. 2023-10-15 13:54:17 +01:00
Paul Holden
2b5c78c7f0 Rename Textures tab to Tiles. 2023-10-15 13:54:17 +01:00
Paul Holden
1559c61e4f Helper classes for loading S2DEX structs. 2023-10-15 13:54:17 +01:00
Paul Holden
259f4e657c haltOnWarning moved to graphicsOptions. 2023-10-15 13:54:16 +01:00
Paul Holden
6df295f47c Add a texRectRot helper for S2DEX. 2023-10-15 13:54:16 +01:00
Paul Holden
051b8e1f1b Expose haltOnWarning via the debug UI. 2023-10-15 13:54:16 +01:00
Paul Holden
d30e3b4d51 Remove debugging. 2023-10-15 13:54:16 +01:00
Paul Holden
a1901a72fd Implement loadUcode. 2023-10-15 13:54:16 +01:00
Paul Holden
0b0ce178b4 Keep track of the created microcode instance. 2023-10-15 13:54:16 +01:00
Paul Holden
943db53d95 Start stubbing out S2DEX. 2023-10-15 13:54:16 +01:00
Paul Holden
9f8020c4ed Stub out the load micrcode command. 2023-10-15 13:54:16 +01:00
Paul Holden
b3eb427ac7 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-15 13:54:16 +01:00
Paul Holden
2ec7a28f91 Add debug menu button to run n64-systemtest. 2023-10-15 13:54:16 +01:00
Paul Holden
11cc496fb8 Add bi class to icons. 2023-10-15 13:54:16 +01:00
Paul Holden
afea000234 Make build-debug useful:
* --minify isn't debuggable
* --sourcemap seems to give incorrect results
2023-10-15 13:54:16 +01:00
Paul Holden
ce199eb158 LFS for .z64 files. 2023-10-15 13:54:16 +01:00
Paul Holden
5c6d9457cb #cpu0-status and #rsp-status are no longer used. 2023-10-15 13:54:16 +01:00
Paul Holden
a3aa64b254 Tidy cpu0 status table. 2023-10-15 13:54:16 +01:00
Paul Holden
a078e8181a Define the RSP status table in HTML and just update the corresponding elements. 2023-10-15 13:54:16 +01:00
Paul Holden
a6d4b0a124 Tidy 2023-10-15 13:54:16 +01:00
Paul Holden
711a68a9f7 Clean up some of the text. 2023-10-15 13:54:16 +01:00
Paul Holden
87f954623a Format 2023-10-15 13:54:16 +01:00
Paul Holden
81db125538 Move status to README. 2023-10-15 13:54:16 +01:00
Paul Holden
bab08e3bfa Styling fixes. 2023-10-15 13:54:16 +01:00
Paul Holden
1e553b1b15 Add a theme toggle button. 2023-10-15 13:54:16 +01:00
Paul Holden
ac7eb08269 Fix geometry mode style 2023-10-15 13:54:16 +01:00
Paul Holden
a4356d66e8 Fix DisplayList tabs. 2023-10-15 13:54:16 +01:00
Paul Holden
00feacd35e Migrate to bootstrap 5.3.2.
This adds dark/light theme support (still a work in progress).
2023-10-15 13:54:15 +01:00
Paul Holden
4886080148 Serve minified version. 2023-09-26 23:31:54 +01:00
Paul Holden
8675704df0 Remove rollup and sublime configs. 2023-09-26 23:31:54 +01:00
Paul Holden
90bf11beb0 Add some debug options via lil-gui. 2023-09-26 23:31:54 +01:00
Paul Holden
c4740edbf6 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-26 23:31:54 +01:00
Paul Holden
9aaa73c23d Simplify compileFragment a bit. 2023-09-26 23:31:54 +01:00
Paul Holden
4406ee7532 Pass cpu1 as an argument to the fragment so it doesn't need to come from the n64js namespace. 2023-09-26 23:31:54 +01:00
Paul Holden
e5eb273422 Clean up some uses of n64js.cpu0 and .cpu1. 2023-09-26 23:31:54 +01:00
Paul Holden
7c0ea30b48 Fix comment. 2023-09-26 23:31:54 +01:00
Paul Holden
60ae002df0 Use the exported rsp value rather than adding to n64js namespace. 2023-09-26 23:31:54 +01:00
Paul Holden
4a9f4a2a1e Explicitly init CPU and RSP from n64.js so it becomes the only entry point. 2023-09-26 23:31:54 +01:00
Paul Holden
8367fbee2b Use bun for build and test and remove all the dependencies. 2023-09-26 23:31:54 +01:00
Paul Holden
324d613ddb 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-26 23:31:54 +01:00
Paul Holden
8d01b93032 Resolve fullscreen TODO. 2023-09-26 23:31:54 +01:00
Paul Holden
3e7917784d Add fullscreen support. 2023-09-24 21:12:53 +01:00
Paul Holden
6357c054b1 Hide the cursor when over the canvas. 2023-09-24 21:12:53 +01:00
Paul Holden
1b064ec066 Fix StarFox menu. 2023-09-24 21:12:53 +01:00
Paul Holden
bc8771d489 Fix Transform4D defaults. 2023-09-24 21:12:53 +01:00
Paul Holden
3eabe764cb Show shader source and display textures in a table. 2023-09-24 21:12:53 +01:00