Commit graph

  • df1b31f2a2 Remove unused import and arg. Paul Holden 2023-10-27 08:53:48 +01:00
  • 3c47ef5002 Remove unused constants. Paul Holden 2023-10-27 08:52:54 +01:00
  • 84f9fcd0d1 Remove unused arg. Paul Holden 2023-10-27 08:51:15 +01:00
  • f3d32cc5e2 Fix some lexical scoping issues in switch statements. Paul Holden 2023-10-27 08:49:21 +01:00
  • e3edda323e Remove some unused constants/imports. Paul Holden 2023-10-27 08:47:27 +01:00
  • 2ea87351e5 Tidy rsp task offsets. Paul Holden 2023-10-27 08:44:14 +01:00
  • e9d66d0f88 Automated build Paul Holden 2023-10-26 22:10:26 +00:00
  • de15e2593d Rewrite base64 helpers using atob/btoa. Paul Holden 2023-10-26 23:10:04 +01:00
  • 18aac0dfe3 Fix for zero width/height tiles. Paul Holden 2023-10-26 09:05:21 +01:00
  • a5bc2540de Automated build Paul Holden 2023-10-25 22:16:10 +00:00
  • e9e13c66a1 Remove code to resize textures to powers of 2. WebGL support non-power-of-2 textures. Paul Holden 2023-10-25 23:15:47 +01:00
  • 5e83540f54 Automated build Paul Holden 2023-10-25 22:07:50 +00:00
  • fd40f033f4 Tidy attribute names. Paul Holden 2023-10-25 23:07:27 +01:00
  • e1ff155dfe Automated build Paul Holden 2023-10-25 22:02:37 +00:00
  • 8c6aa98129 Migrate the main shader to use VertexArray. Paul Holden 2023-10-25 23:02:12 +01:00
  • 2373479b57 bind/unbind as needed during construction. Paul Holden 2023-10-25 22:38:25 +01:00
  • d5503ea037 Automated build Paul Holden 2023-10-25 08:14:50 +00:00
  • 8355180ea1 Update fillRect to use VertexArray. Paul Holden 2023-10-25 09:14:16 +01:00
  • 4b6e0cd22c Add a VertexArray helper. Paul Holden 2023-10-25 08:53:03 +01:00
  • 8e4892ffbf Use a VertexArray for debugClear. Paul Holden 2023-10-25 08:37:54 +01:00
  • 6b4d5b55c4 Use a VertexArray for copyTextureToFrontBuffer. Paul Holden 2023-10-25 08:32:38 +01:00
  • 5383fe8068 Automated build Paul Holden 2023-10-24 08:09:16 +00:00
  • cf676dd557 Add a couple of TODOs for WebGL 2 improvements. Paul Holden 2023-10-24 09:08:57 +01:00
  • b8efdd2de6 Migrate to WebGL 2. Paul Holden 2023-10-24 09:08:02 +01:00
  • 248ef361aa Automated build Paul Holden 2023-10-23 07:50:11 +00:00
  • 61c0a439c6 Turn gamepad constants into enums. Paul Holden 2023-10-23 08:49:48 +01:00
  • 1884e6d7ee Automated build Paul Holden 2023-10-23 07:28:07 +00:00
  • b3debbec26 Always set alpha to 1 when blitting the backbuffer to the canvas. Paul Holden 2023-10-23 08:27:42 +01:00
  • 6d10f003b2 Move makeEnum to its own module so it can be reused elsewhere. Paul Holden 2023-10-23 08:26:44 +01:00
  • 33ebe8bbf1 Automated build Paul Holden 2023-10-22 20:07:58 +00:00
  • adfd94979c Add ControllerMapping Paul Holden 2023-10-22 21:07:36 +01:00
  • 7acb6d0bb5 Automated build Paul Holden 2023-10-19 22:23:19 +00:00
  • 1697c372cb Add an input element for each control. Paul Holden 2023-10-19 23:22:55 +01:00
  • 8cdbd38ce8 Automated build Paul Holden 2023-10-19 21:54:02 +00:00
  • 5747fb676b Fix controller modal structure. Paul Holden 2023-10-19 22:53:41 +01:00
  • 10eb4f6a13 Move ui.js to ui subdir. Paul Holden 2023-10-19 09:18:07 +01:00
  • 6fca19ef1b Automated build Paul Holden 2023-10-19 08:16:56 +00:00
  • 5c0eb86534 Add ControllerConfig class. Paul Holden 2023-10-19 09:16:31 +01:00
  • 1bad2a3b6e Automated build Paul Holden 2023-10-18 07:49:56 +00:00
  • cd7ea3a995 Add a controller modal. Paul Holden 2023-10-18 08:49:27 +01:00
  • ac11df1542 Format Paul Holden 2023-10-18 08:48:51 +01:00
  • 94d15cf5b0 Format Paul Holden 2023-10-18 08:35:34 +01:00
  • 7bdaf56bea Automated build Paul Holden 2023-10-17 21:45:15 +00:00
  • e3f20c4c0f Add a controller button. Paul Holden 2023-10-17 22:44:51 +01:00
  • 77edd4afe3 Automated build Paul Holden 2023-10-16 08:15:22 +00:00
  • 4d04fe98ea Initial gamepad support. Paul Holden 2023-10-16 09:14:43 +01:00
  • 9c786d4882 Register keyup/keydown event listeners in Controllers constructor. Paul Holden 2023-10-16 08:10:48 +01:00
  • 271aa1e68d Automated build Paul Holden 2023-10-15 21:21:06 +00:00
  • 518f8b4707 Tidy Paul Holden 2023-10-15 22:20:43 +01:00
  • 0ccbb9becb Ignore empty commits. Paul Holden 2023-10-15 22:19:19 +01:00
  • fd1bc76f18 Commit build output,. Paul Holden 2023-10-15 22:15:29 +01:00
  • f525940e9d Install before building. Paul Holden 2023-10-15 21:39:00 +01:00
  • cf1b4fcc57 Add lil-gui. Paul Holden 2023-10-15 21:33:33 +01:00
  • 5bc02441ff Add build workflow. Paul Holden 2023-10-15 21:27:37 +01:00
  • 7eed48f783 Fix typo. Paul Holden 2023-10-15 14:07:54 +01:00
  • 3d71a6e100 Rebuild. gh-pages Paul Holden 2023-10-15 13:53:12 +01:00
  • 1f56e8fde8 Format. Paul Holden 2023-10-15 13:53:04 +01:00
  • 8b31c6580e Tidy how the debug UI is toggled, and link lil-gui visibility. Paul Holden 2023-10-15 13:52:56 +01:00
  • 08dbb08ee3 New build. Paul Holden 2023-10-15 11:01:15 +01:00
  • 03f80b9a92 Improve rendering with CVG_X_ALPHA. Paul Holden 2023-10-15 11:01:10 +01:00
  • 5ffed6fba9 Clear the background with magenta when debugging. Paul Holden 2023-10-15 10:29:00 +01:00
  • f75103da41 Timeline improvements: Paul Holden 2023-10-14 15:52:38 +01:00
  • 52c370a1ff Flesh out timeline UI. Paul Holden 2023-10-14 13:30:17 +01:00
  • 4a76423ad7 n64js is no longer used. Paul Holden 2023-10-14 13:26:45 +01:00
  • 2a411f67f7 Add the beginnings of a Timeline class. Paul Holden 2023-10-12 08:43:41 +01:00
  • 98a61e9fed Untangle cpu initialisation a bit. Paul Holden 2023-10-12 08:34:17 +01:00
  • 32df710017 Hoist out hardware as a local variable. Paul Holden 2023-10-11 22:35:09 +01:00
  • 8422b67336 Update TODO. Paul Holden 2023-10-11 22:33:29 +01:00
  • 0f71dd42e4 Skip unprintable characters. Paul Holden 2023-10-11 22:30:01 +01:00
  • 462dda09b6 Call this.verticalBlank directly. Paul Holden 2023-10-11 21:36:07 +01:00
  • d30931422d Remove n64js.verticalBlank and just call hardware.verticalBlank directly. Paul Holden 2023-10-11 21:32:47 +01:00
  • 2f93806592 Implement texrect for S2DEX 1.0. Paul Holden 2023-10-10 22:07:02 +01:00
  • 41aaf9adc5 Fix s2dex filename. Paul Holden 2023-10-10 08:18:16 +01:00
  • 85a8d47302 Simplify ObjTexture and loadTexture. Paul Holden 2023-10-09 23:30:50 +01:00
  • 952c4b81e0 Implement loadTLUT using TextureImage. Paul Holden 2023-10-09 23:20:48 +01:00
  • b197638de8 Format. Paul Holden 2023-10-09 23:18:22 +01:00
  • d32f7ccbfc Implement loadBlock using TextureImage. Paul Holden 2023-10-09 23:04:37 +01:00
  • 5618b63a47 Rebuild n64.min.js. Paul Holden 2023-10-09 22:47:21 +01:00
  • 39cfb9186b Add debugging tip back to loadTile. Paul Holden 2023-10-09 22:45:51 +01:00
  • a8b5d49c30 Provide a way to halt on display lists other than the first of each frame. Paul Holden 2023-10-09 22:45:22 +01:00
  • 7a2e635e04 Implement loadTile in terms of uls, ult, lrs, lrt. Paul Holden 2023-10-09 21:27:03 +01:00
  • 9a44c0ba02 Move rowBytes calculation to loadTile. Paul Holden 2023-10-09 20:55:26 +01:00
  • 5d89306292 Move tmemStride to loadTile. Paul Holden 2023-10-09 20:46:25 +01:00
  • d9bffe8721 Start moving logic involving TextureImage to loadTile. Paul Holden 2023-10-09 20:40:20 +01:00
  • 656d1bfc70 Fix S2DEX loadTile. Paul Holden 2023-10-09 20:15:42 +01:00
  • 981dfa5e03 Consider uls (which is normally zero but doesn't have to be) in loadBlock. Paul Holden 2023-10-09 08:57:29 +01:00
  • a650e8fdee Add a note about memrect. Paul Holden 2023-10-09 08:56:49 +01:00
  • a1e751b550 Fix SetTextureImage size. Paul Holden 2023-10-08 22:14:14 +01:00
  • 8217c740e7 Fix debug output. Paul Holden 2023-10-08 22:13:40 +01:00
  • f2dbc36ea3 Add debug option to dump microcode. Paul Holden 2023-10-08 19:05:39 +01:00
  • acae29a649 Improve accuracy of S2DEX texture loading. Paul Holden 2023-10-08 19:00:38 +01:00
  • c5210cff42 Show texture image state. Paul Holden 2023-10-08 18:40:29 +01:00
  • 4c600ee037 Refresh tabs when they are selected. Paul Holden 2023-10-08 18:38:53 +01:00
  • 736a397461 Fix args to disassembleRange. Paul Holden 2023-10-08 18:38:28 +01:00
  • 742657d031 RSP disassembly fixes. Paul Holden 2023-10-07 22:05:06 +01:00
  • d918b5d2d6 Unused var. Paul Holden 2023-10-07 22:00:09 +01:00
  • dbd9553177 Show elements for SBV, SSV etc. Paul Holden 2023-10-06 09:27:09 +01:00
  • 9575e18ff1 Fix RSP disassembly - baseAddr and offset were swapped. Paul Holden 2023-10-05 08:46:40 +01:00
  • a9e6d5efde Fix RSP disassembler scrolling and page up. Paul Holden 2023-10-05 08:34:03 +01:00
  • dae6f3bdbf Disassemble RSP imem relative to 0x1000. Paul Holden 2023-10-05 08:12:27 +01:00