Commit graph

1886 commits

Author SHA1 Message Date
Paul Holden
a79a12275b Ooops, calling Disassembler.finalise twice 2012-09-10 19:52:29 +01:00
Paul Holden
287860c035 Rename RSPHLEProcessTask to rspProcessTask 2012-09-10 19:33:31 +01:00
Paul Holden
7f8637dc5a Remove outdated comments 2012-09-10 19:28:44 +01:00
Paul Holden
c2627beaa7 Move implementation after initialising state 2012-09-10 19:09:54 +01:00
Paul Holden
af27629ba1 Use getTileText for gpSPTexture disassembly 2012-09-10 19:08:12 +01:00
Paul Holden
3c951f77b0 Fix vertex/matrix/movemem previews 2012-09-10 12:47:49 +01:00
Paul Holden
11b782d9d6 Massive display list disassembly overhaul. Just implement inline now. This simplifies the code a lot and will open up some interesting possibilities (e.g. single stepping, texture previews, etc) 2012-09-10 00:59:00 +01:00
Paul Holden
6450d94458 Chain ucode tables 2012-09-09 23:08:37 +01:00
Paul Holden
22b5d4bf06 Going to switch to a more table-driven approach to microcode 2012-09-09 22:44:07 +01:00
Paul Holden
c8ac648332 Fix lots of missing cop1 instructions: DMFC1/DMTC1, CVT.S.L, ROUND/TRUNC/CEIL/FLOOR.L + dynarec 2012-09-09 22:21:16 +01:00
Paul Holden
d8104b2b49 Move cycles per update to a constant, for easy tweaking 2012-09-09 21:03:14 +01:00
Paul Holden
dd98b6b821 Silence spammy DPC registers (Goldeneye) 2012-09-09 19:56:17 +01:00
Paul Holden
23b3d46ea4 Silence mapped_mem_handler.readS32. This means Goldeneye now boots, yay 2012-09-09 19:55:55 +01:00
Paul Holden
c60d0b08bc Correctly check VI_WIDTH_REG when rendering display lists 2012-09-09 19:51:35 +01:00
Paul Holden
289d300e13 Implement GBI0 Tri4. Really need to refactor ucode stuff. 2012-09-09 19:50:53 +01:00
Paul Holden
50110847cb Fix some missing semicolons 2012-09-09 19:49:41 +01:00
Paul Holden
a4f45286d4 Implement DDIV 2012-09-09 19:49:07 +01:00
Paul Holden
e922310042 Fix some closure compiler errors 2012-09-09 17:47:37 +01:00
Paul Holden
126f567b0f Wave Race US vertex format 2012-09-08 21:37:09 +01:00
Paul Holden
a94d119944 Call toggleRun() to reduce some duplication 2012-09-08 21:12:37 +01:00
Paul Holden
d2423be85b rename _keyStr 2012-09-08 21:09:45 +01:00
Paul Holden
016ff5dcf9 Add mrdoob's stats.js 2012-09-08 20:39:06 +01:00
Paul Holden
ad4a3840a7 Dynarec for cop1 branches 2012-09-08 19:06:18 +01:00
Paul Holden
6a7bffce86 Dynarec for CTC1/CFC1 2012-09-08 18:11:48 +01:00
Paul Holden
777af7de93 Shuffle some functions around in n64.js 2012-09-08 15:11:12 +01:00
Paul Holden
0441319c7b Fix more jslint errors 2012-09-08 14:46:30 +01:00
Paul Holden
6ecc933e24 Fix missing break - thanks JSLint 2012-09-08 14:40:57 +01:00
Paul Holden
f13ccece4f Avoid leading uppercase chars on functions 2012-09-08 13:58:24 +01:00
Paul Holden
b0f6e4ec3d Move debugger code to separate file 2012-09-08 13:38:24 +01:00
Paul Holden
a24a92d0ff Slightly nicer namespace init 2012-09-08 13:08:57 +01:00
Paul Holden
fc6dd5a9d8 Fix lots of style errors 2012-09-08 12:29:12 +01:00
Paul Holden
f79510473f Fix some warnings 2012-09-08 11:25:33 +01:00
Paul Holden
639ee08844 Move a ton of JS from index.html 2012-09-08 11:13:07 +01:00
Paul Holden
3c93ede431 needs_pc_test was woefully broken 2012-09-05 22:14:44 +01:00
Paul Holden
c11d9c9659 Fix CACHE disassembly 2012-09-05 22:13:39 +01:00
Paul Holden
855dacf357 Specify a minimum fragment length - avoid bailing out after just 1 or 2 ops if we hit a branch 2012-09-04 23:01:36 +01:00
Paul Holden
68a5917421 usesCop1 wasn't being set up correctly 2012-09-04 23:00:23 +01:00
Paul Holden
5549477b92 Another speedup - run for a lot more cycles. On things like the rotate demo, 100,000 cycles isn't enough to render a complete frame so we end up rendering at half framerate 2012-09-04 21:23:07 +01:00
Paul Holden
7d3fbe3f09 Oops - remove reference to highcharts.js 2012-09-04 21:21:55 +01:00
Paul Holden
b5a49df52b Big speedup for Chrome 23 - the results of eval() are no longer optimised - http://code.google.com/p/v8/issues/detail?id=2315 2012-09-04 21:19:26 +01:00
Paul Holden
046c558d43 Call convert/trunc via n64js namespace 2012-09-04 21:10:58 +01:00
Paul Holden
6bb5f7f4b1 Generate calls to execute* functions in the n64js namespace 2012-09-04 21:02:49 +01:00
Paul Holden
4f81f10d96 Add getHi32 to n64js namespace 2012-09-04 20:48:48 +01:00
Paul Holden
3de6f8a15d load_u32 should call lwu_slow, not lw_slow 2012-09-04 20:43:43 +01:00
Paul Holden
915aa2392d Missing semicolon. Fix spurious 'op' argument to generateCache 2012-09-04 20:42:35 +01:00
Paul Holden
7258b6032d Put load_u32 etc in n64js namespace object. Preparation for switching from eval() to constructing Function objects 2012-09-04 20:41:41 +01:00
Paul Holden
5bc0e4db87 Add a store_64 function and use for SD, SDC1 etc 2012-09-04 20:27:25 +01:00
Paul Holden
b0528d496f Remove highcharts - it's slower to update the chart than it is to render 2012-09-04 20:21:50 +01:00
Paul Holden
045e1938bd Use requestAnimationFrame in preference to setTimeout 2012-09-04 20:17:30 +01:00
Paul Holden
1615aad7ea Refresh debug display whenever any tab is changed 2012-09-04 20:15:28 +01:00