Commit graph

1733 commits

Author SHA1 Message Date
Paul Holden
21a3390c3a Add disassembly for gSPClipRatio and remove the unimplemented warning. 2023-09-23 22:17:57 +01:00
Paul Holden
98cb955768 Highlight warnings in the logs. 2023-09-23 22:17:57 +01:00
Paul Holden
2161d506bb Consolidate warning and halting. Disable halting by default (will eventually make this toggleable). 2023-09-23 22:17:57 +01:00
Paul Holden
4dd8967927 Fix hleHalt. 2023-09-23 22:17:57 +01:00
Paul Holden
3afb956364 Log a warning if the matrix length is unusual. 2023-09-23 22:17:57 +01:00
Paul Holden
44da1c70d1 Length is unused. 2023-09-23 22:17:57 +01:00
Paul Holden
cb45f6465c Stride is unused in executeTri4GE. 2023-09-23 22:17:57 +01:00
Paul Holden
c1d84dc7e5 Improve logging for unknown and unimplemented commands. 2023-09-23 22:17:57 +01:00
Paul Holden
4012bbd856 Add missing disassembly for executeRDPHalf_Cont. 2023-09-23 22:17:57 +01:00
Paul Holden
b281c29b12 Add missing disassembly for BranchZ. 2023-09-23 22:17:57 +01:00
Paul Holden
4c56c3c80c Reorder and rename. 2023-09-23 22:17:57 +01:00
Paul Holden
145aa56ccf Pass processDList into the constructor. 2023-09-23 22:17:57 +01:00
Paul Holden
664c607a4e Wrap up postOp. 2023-09-23 22:17:57 +01:00
Paul Holden
7475bc09ac Yeet DebugController into a separate module. 2023-09-23 22:17:57 +01:00
Paul Holden
3b480a18be Reorder. 2023-09-23 22:17:57 +01:00
Paul Holden
6b234257ff Use this. 2023-09-23 22:17:57 +01:00
Paul Holden
cf8b97a0fe Move scrub UI to DebugController. 2023-09-23 22:17:57 +01:00
Paul Holden
33d3ce8b9d Move debugDisplayList to DebugController. 2023-09-23 22:17:57 +01:00
Paul Holden
bef4bc72e1 Move halt() and show/hideUI to DebugController. 2023-09-23 22:17:57 +01:00
Paul Holden
c9ff74a4b8 Move some functions to DebugController. 2023-09-23 22:17:57 +01:00
Paul Holden
c104927e29 Encapsulate running and requested state. 2023-09-23 22:17:57 +01:00
Paul Holden
9a54f07b7f Move debug state to DebugController. 2023-09-23 22:17:57 +01:00
Paul Holden
6c98ac4098 Move the microcode creation to microcodes.js. 2023-09-23 22:17:57 +01:00
Paul Holden
ddfaeb7fe7 Stub out all the microcodes and use them to set up the vertex stride. 2023-09-23 22:17:57 +01:00
Paul Holden
f4c715babc Inline getRamDataView 2023-09-23 22:17:57 +01:00
Paul Holden
1962be99d8 Move framebuffer initialisation to Renderer constructor. 2023-09-23 22:17:57 +01:00
Paul Holden
6b5f1b3c9a Move copyPixelsToFrontBuffer to Renderer. 2023-09-23 22:17:57 +01:00
Paul Holden
a31b8b6411 Format 2023-09-23 22:17:57 +01:00
Paul Holden
593bffea3f Move nativeTransform to Renderer. 2023-09-23 22:17:57 +01:00
Paul Holden
264e1ec4f6 Move lookupTexture to Renderer. 2023-09-23 22:17:57 +01:00
Paul Holden
de016e5c97 Tidy. 2023-09-23 22:17:57 +01:00
Paul Holden
dea44dc6d2 Get rid of the ramDB global. 2023-09-23 22:17:57 +01:00
Paul Holden
5e774e84c9 Move copyBackBufferToFrontBuffer to Renderer. 2023-09-23 22:17:57 +01:00
Paul Holden
63d09e82e5 Move more functions to Renderer. 2023-09-23 22:17:57 +01:00
Paul Holden
831d258a94 Move flushTris to Renderer. 2023-09-23 22:17:57 +01:00
Paul Holden
7761a24a24 Add a Renderer class with fillRect and texRect. 2023-09-23 22:17:57 +01:00
Paul Holden
139fccddea Move microcode enums and detection to a separate module. 2023-09-23 22:17:57 +01:00
Paul Holden
0fad75031a Format. 2023-09-23 22:17:57 +01:00
Paul Holden
bdfee64194 Move loadVertices to microcode. 2023-09-23 22:17:57 +01:00
Paul Holden
10afa64371 Wrap up table construction. 2023-09-23 22:17:57 +01:00
Paul Holden
085931b602 Move vertex strides to microcode base. 2023-09-23 22:17:57 +01:00
Paul Holden
0c44c33735 config.vertexStride is no longer used. 2023-09-23 22:17:57 +01:00
Paul Holden
a336c453f0 Tidy 2023-09-23 22:17:57 +01:00
Paul Holden
94b721ea2e Move final GBI1 commands to microcode. 2023-09-23 22:17:57 +01:00
Paul Holden
4d54de2302 Move some GBI1 commands to microcode. 2023-09-23 22:17:57 +01:00
Paul Holden
c09f87d74d Move some GBI1 commands to microcode. 2023-09-23 22:17:57 +01:00
Paul Holden
42668315a4 Move some GBI1 commands to microcode. 2023-09-23 22:17:57 +01:00
Paul Holden
f5ba9b807d Move remaining GBI2 commands to microcode. 2023-09-23 22:17:57 +01:00
Paul Holden
1ad23b2d1d triangleBuffer is unused now. 2023-09-23 22:17:57 +01:00
Paul Holden
ce7df1d9ef Move more GBI2 commands to microcode. 2023-09-23 22:17:57 +01:00