Commit graph

1886 commits

Author SHA1 Message Date
Paul Holden
39a1f4625a Fix some jshint issues in hle.js 2012-09-19 21:18:52 +01:00
Paul Holden
772cb26cf2 Fix textures in neversoft games - texture state is dependent on lrs/lrt (probably all the tile size values too, but this is fine for now) 2012-09-19 09:24:54 +01:00
Paul Holden
d4d3ed077f Show cycle type alongside color combiner 2012-09-19 09:24:08 +01:00
Paul Holden
f23f2118d8 Fix undefined value appearing in debug ui 2012-09-19 09:23:51 +01:00
Paul Holden
6a7c0347bb Lots more GBI 2 work 2012-09-19 09:23:32 +01:00
Paul Holden
ec2c16d968 speedHack could be spammy, causing massive slowdown for certain roms. Ooops 2012-09-18 22:23:55 +01:00
Paul Holden
ccc1d32631 Massicve texture rewrite. Emulate texture memory accurately, which fixes lots of bugs (swapping, multiple textures, dynamically updated textures, etc). Calculating tmem crcs is a little expensive right now, might be able to improve this. 2012-09-18 22:23:01 +01:00
Paul Holden
f19adf5ed7 0xb1 is ModifyVtx for GBI1 2012-09-18 13:24:15 +01:00
Paul Holden
c0c1039594 DPS registers were set up with incorrect length and address 2012-09-18 08:30:20 +01:00
Paul Holden
d20c5a4b43 Dissassemble SetKeyR/GB and implement as no-op 2012-09-18 08:29:21 +01:00
Paul Holden
1e9b8ed49d hleHalt wasn't breaking execution, so could potentially break on the wrong display list if multiple display lists are executed per vbl 2012-09-18 08:28:36 +01:00
Paul Holden
b144c81d1a Show textures composited against black 2012-09-17 23:07:21 +01:00
Paul Holden
d83b167aff Disassemble gsDPSetPrimDepth - still not implemented 2012-09-17 08:22:47 +01:00
Paul Holden
85c5f6ba93 hleHalt for unimplemented ops. Stop execution immediately for unknown ops (stops unsupported microcodes going haywire) 2012-09-17 08:17:44 +01:00
Paul Holden
726b5e8be5 Start implementing some GBI2 commands 2012-09-17 00:24:26 +01:00
Paul Holden
f11181ac89 Paving the way for GBI2 2012-09-16 23:07:04 +01:00
Paul Holden
573284d696 Fix CVT.D.L dynarec 2012-09-16 17:40:58 +01:00
Paul Holden
5103452fda Fix DMTC1 dynarec 2012-09-16 17:40:38 +01:00
Paul Holden
8ab23d75c0 projected vertex colour is ABGR, not RGBA 2012-09-16 14:48:18 +01:00
Paul Holden
2c35488ee5 Fix G_CYC_2CYCLE shaders - all 2 cycle shaders were being mapped to the same shader 2012-09-16 14:44:52 +01:00
Paul Holden
fb7985773a Disassembly was getting out of sync with single step execution 2012-09-16 10:22:14 +01:00
Paul Holden
5aa0db310e Fix z component 2012-09-14 00:05:25 +01:00
Paul Holden
770c682cae Avoid javascript exception raised by wetrix 2012-09-14 00:03:39 +01:00
Paul Holden
b899dcdb58 Show 2012-09-14 00:02:55 +01:00
Paul Holden
c730640595 Fix wetrix rendering - was calculating memory offset wrong for verts that weren't loaded at index 0 2012-09-14 00:00:27 +01:00
Paul Holden
54fcd0cc3b Allow address to be entered for memory view 2012-09-13 23:59:31 +01:00
Paul Holden
bf98b2e363 Fix nans coming from normaliseInPlace - was breaking uv calculation for 'Goldeneye' logo 2012-09-13 23:06:03 +01:00
Paul Holden
6a8e811c16 Show vertex table in displaylist debug 2012-09-13 22:40:43 +01:00
Paul Holden
d7f8b1cb2c Improve the tile output. Try to show textures for all tiles. Not working well right now. 2012-09-13 09:30:32 +01:00
Paul Holden
735c021e0e Add a new hleHalt function to break into the displaylist debugger rather than callingn64js.halt 2012-09-13 09:12:46 +01:00
Paul Holden
9341c78bd5 Update Info 2012-09-13 00:20:50 +01:00
Paul Holden
3ab3105262 G_TX_RENDERTILE preview 2012-09-13 00:03:31 +01:00
Paul Holden
06eb832642 Tidy more texture stuff 2012-09-12 23:25:42 +01:00
Paul Holden
85660c2cb5 Move caching code to lookupTexture 2012-09-12 23:02:45 +01:00
Paul Holden
aa637a82c2 Reset the texture cache when switching roms. Tidy up some of the hle.js state 2012-09-12 22:55:55 +01:00
Paul Holden
d91fb2fc73 Construct a proper object for tiles, rather than poking random fields 2012-09-12 22:48:04 +01:00
Paul Holden
49b3ae5010 Debug display list on F9 2012-09-12 09:13:22 +01:00
Paul Holden
6c955a9bd4 Show combiner state 2012-09-12 09:05:25 +01:00
Paul Holden
62957072f8 Tidy dlist state 2012-09-12 08:54:06 +01:00
Paul Holden
2d4c613e7d Seem to get empty ucodes through sometimes. Hmmm. 2012-09-12 08:49:43 +01:00
Paul Holden
825553225d Display tiles in dlist state output. Only update state if needed 2012-09-12 08:44:24 +01:00
Paul Holden
66088b0ce3 Disable time-to-texrect output 2012-09-12 08:31:45 +01:00
Paul Holden
7fb5b42253 Start showing ucode state as scrubber changes 2012-09-12 00:06:17 +01:00
Paul Holden
4c1e73b709 Restart emulation when display debug stops 2012-09-11 23:36:20 +01:00
Paul Holden
086cb4b213 Wider dlist output. Hacky hacky 2012-09-11 23:31:35 +01:00
Paul Holden
d6ceb2f7fd Color background for display list rgba values 2012-09-11 23:09:16 +01:00
Paul Holden
bfbb185959 Impleemnt rewind/forward buttons for display list debug. Fix scrub text. Remove ucode pc field. 2012-09-11 22:41:54 +01:00
Paul Holden
9552d67098 Lots of new code to handle improved display list debugging. You can now scrub back and forth along the display list, and see the order in which things are rendered 2012-09-11 22:26:03 +01:00
Paul Holden
32c0c62623 Expose VI_ORIGIN_REG 2012-09-11 08:53:03 +01:00
Paul Holden
b446be8948 Add a padString helper 2012-09-11 08:52:38 +01:00