Commit graph

1886 commits

Author SHA1 Message Date
Paul Holden
e8914f7fa5 Call the top-level toggleRun/step functions, so we correctly update the ui state 2012-05-08 23:36:25 +01:00
Paul Holden
2805a05655 Disassembly support for BC1 instructions. Improve formating for proc-proc register moves 2012-05-08 23:35:36 +01:00
Paul Holden
a90078456a Fix LB/LH sign extension 2012-05-07 19:19:59 +01:00
Paul Holden
68c304074c Sync testing framework, for verifying execution against another emulator 2012-05-07 11:14:25 +01:00
Paul Holden
0606d23c04 Set RI_SELECT_REG, which avoids lots of initialisation 2012-05-07 11:07:25 +01:00
Paul Holden
7376bfd91c Leave some TODOs 2012-05-07 11:06:56 +01:00
Paul Holden
f2854d5328 HLE task emulation bare bones 2012-05-07 11:06:34 +01:00
Paul Holden
aeea9eb39c Rename PIFUpdateControl, enable all controllers and mempacks 2012-05-07 11:05:50 +01:00
Paul Holden
191407a51c Fix bug - setting flag on wrong register bank 2012-05-07 11:04:53 +01:00
Paul Holden
c471878bea Ensure that reads from VI_CURRENT_REG slowly increment 2012-05-07 11:04:06 +01:00
Paul Holden
718782e3f3 Expose checkSIStatusConsistent 2012-05-07 11:01:50 +01:00
Paul Holden
2102b6f414 Silence some spammy output 2012-05-07 11:00:11 +01:00
Paul Holden
5b82808dd3 Implement speedhack for BNE - speeds up emulation significantly 2012-05-07 10:55:28 +01:00
Paul Holden
ab2c821b6b Update the order of the main dispatch loop a little 2012-05-07 10:53:47 +01:00
Paul Holden
eebb642d40 Compare interrupt 2012-05-07 10:48:17 +01:00
Paul Holden
ac1a56811f Add support for cop1unusable exception 2012-05-07 10:30:43 +01:00
Paul Holden
ce8335f3ea Add NOR, fix BGTZ/BGTZL 2012-05-07 10:28:08 +01:00
Paul Holden
b3e097e6bb Fix MULTU, DDIVU 2012-05-07 10:26:17 +01:00
Paul Holden
e8b7dd86c6 Silence some spammy output 2012-05-07 10:17:50 +01:00
Paul Holden
687d4b1814 Ensure TLB is initialised with invalid entries, and make it a bit quieter 2012-05-07 10:16:15 +01:00
Paul Holden
45604d5aba Fix shift disassembly, and SRL/SRA were the wrong way around 2012-05-07 10:12:58 +01:00
Paul Holden
f76f09d4fc Handle SP writes - get as far as firing the first RSP task now! 2012-05-05 13:31:58 +01:00
Paul Holden
8d3dbd25d1 Trigger vertical blanks. Silence sp_reg writes 2012-05-05 13:29:41 +01:00
Paul Holden
bb9a666711 LWL/LWR 2012-05-05 12:22:52 +01:00
Paul Holden
a617a4f869 SI transfer and peripheral processing first pass 2012-05-05 12:22:39 +01:00
Paul Holden
0465233cb9 Added SWL/SWR 2012-05-05 09:35:16 +01:00
Paul Holden
5b068c8a31 Make halt() emit red text. Fix a typo. Don't display a warning when halting 2012-05-05 09:34:09 +01:00
Paul Holden
1a1df1f3e9 Added an experimental memory access history thing: show the last N memory reads/writes as you single step 2012-05-05 09:31:56 +01:00
Paul Holden
14f5bb5107 Basic support for time-based events 2012-05-02 08:12:55 +01:00
Paul Holden
e776e5578f Fix layout 2012-05-02 00:16:41 +01:00
Paul Holden
d64a55d537 Updated bootstrap 2012-05-02 00:14:13 +01:00
Paul Holden
e400eeabf4 Basic support for hand-entered labels. Would be nice to allow interective editing of these 2012-05-01 23:39:54 +01:00
Paul Holden
1701ca69d5 Lots of cop1 support 2012-05-01 23:38:53 +01:00
Paul Holden
e689cab1c1 Remove debugging for DIV/DIVU 2012-05-01 09:20:55 +01:00
Paul Holden
858c97663f cpu1 view. Overall layout needs tidying 2012-05-01 09:19:54 +01:00
Paul Holden
8d07b129af Add disassembly for lot of cop1 instructions 2012-05-01 00:17:47 +01:00
Paul Holden
76640e9f87 Implement interrupt handling 2012-04-30 23:30:11 +01:00
Paul Holden
93e02addcb Implemented TLBR/TLBP/DIV/DIVU/SD. Bumped up number of cycles executed per screen refresh 2012-04-30 21:27:03 +01:00
Paul Holden
f776792891 Added basic TLB support, fixed SLT, added SLTI/SLTIU/MTLO/MTHI 2012-04-30 09:09:25 +01:00
Paul Holden
435996dbd3 Add support for LH/SH/LBU/LB/LHU etc 2012-04-30 00:19:21 +01:00
Paul Holden
f211f49509 DDIV/DDIVU 2012-04-29 23:10:23 +01:00
Paul Holden
214c0cacf4 Implement DMULT/DMULTU/LD, fix bugs in MULT/MULTU 2012-04-29 22:28:50 +01:00
Paul Holden
a85a1dc0ce Disassembler: track ops which implicitly modify ra' 2012-04-29 22:25:39 +01:00
Paul Holden
04da9f4970 Change some toHex call to toString32 2012-04-29 22:24:09 +01:00
Paul Holden
7d3a72067d Add basic support for TLB ops 2012-04-29 22:22:57 +01:00
Paul Holden
b6834d5cc7 Expose toString32 etc 2012-04-29 22:19:33 +01:00
Paul Holden
90ccc39735 Workaround for Chrome/v8 bug relating to assigning large values to Uint8Array http://code.google.com/p/v8/issues/detail?id=2110 2012-04-29 22:18:23 +01:00
Paul Holden
cf8b478758 PI control support 2012-04-29 18:49:29 +01:00
Paul Holden
7891c0cf9a Rearrange n64.js 2012-04-29 16:30:12 +01:00
Paul Holden
50a6283063 Add cpu1, CFC1, CTC1 and some cpu0 init 2012-04-29 16:07:40 +01:00