Paul Holden
|
41f8e9b0e0
|
Implement all the branch/jump ops. Made BNE/BEQ check the full 64-bit reg for now (optimisation is just to check low 32 bits)
|
2012-04-29 13:13:56 +01:00 |
|
Paul Holden
|
cf0b2bf6ee
|
Construct cpu0
|
2012-04-29 12:29:23 +01:00 |
|
Paul Holden
|
b3a7b62f25
|
Move cpu0 from n64.js to r4300.js. It simplifies a few things and avoids some indirection
|
2012-04-29 12:07:23 +01:00 |
|
Paul Holden
|
7681149fcf
|
Added basic support for lots more devices
|
2012-04-29 11:47:40 +01:00 |
|
Paul Holden
|
4d1a13ed99
|
Merge
|
2012-04-28 17:03:33 +01:00 |
|
Paul Holden
|
2446600285
|
Remove a lot of duplicated memory handler code
|
2012-04-28 17:01:14 +01:00 |
|
unknown
|
53c5656190
|
Don't halt when reading from rom
|
2012-04-27 08:53:06 +01:00 |
|
Paul Holden
|
55c0a056fd
|
Add variable shift and BLTZAL/BGEZAL. CRC checks passed first time. HOLY SHIT
|
2012-04-27 00:24:12 +01:00 |
|
Paul Holden
|
58ee1ef6e3
|
Handle PI reads from cart
|
2012-04-27 00:09:57 +01:00 |
|
Paul Holden
|
9e16d37350
|
Added rom memory handler, pi_reg memory handler
|
2012-04-26 23:17:28 +01:00 |
|
Paul Holden
|
03f32bb5a4
|
Halt cpu immediately
|
2012-04-26 22:58:21 +01:00 |
|
Paul Holden
|
7a910fe7af
|
Scroll the output window automatically
|
2012-04-26 22:57:42 +01:00 |
|
Paul Holden
|
e5353dd6ef
|
Implemented lots of ops - get as far as initial execution from rdram now
|
2012-04-26 22:34:42 +01:00 |
|
Paul Holden
|
6e2472fc1b
|
Added dissassembly for regImm instructions. Added an assert that memory access is in range
|
2012-04-26 22:30:00 +01:00 |
|
Paul Holden
|
299c3caba7
|
Fix a couple of signed value issues
|
2012-04-26 20:46:29 +01:00 |
|
Paul Holden
|
8416ae79a1
|
Improve the register/label view: use jquery selectors to find relevant spans. Hightlight each register that's used using the same colour (rather than different colours to mean 'read, 'written')
|
2012-04-26 20:43:07 +01:00 |
|
Paul Holden
|
7155b3435c
|
Improve the disassembly view - the disassembler now records source and destrination operands, which the display code can pick apart to highlight any registers that are used
|
2012-04-25 00:10:42 +01:00 |
|
Paul Holden
|
c1b307b41f
|
Implement more ops, handle 32-bit writes and add support for more devices
|
2012-04-24 08:40:03 +01:00 |
|
Paul Holden
|
1da3ec12b7
|
Add step 100, step 1000
|
2012-04-24 08:39:05 +01:00 |
|
Paul Holden
|
ac4babeea4
|
Refactor how memory is handled - hopefully this will be fairly maintainable...
|
2012-04-23 23:04:23 +01:00 |
|
Paul Holden
|
d97adcc20d
|
Fix exeption when disassembly branch/jump instructions
|
2012-04-23 00:09:48 +01:00 |
|
Paul Holden
|
8e8d29bdf3
|
Boilerplate execution code
|
2012-04-23 00:00:17 +01:00 |
|
Paul Holden
|
ca288a2329
|
Move 'pc' to the cpu0 state. Add a separate var to track the disassembly view location
|
2012-04-22 20:07:15 +01:00 |
|
Paul Holden
|
034af16a6b
|
Make the tabs selectable with f/d/m keys
|
2012-04-22 20:05:58 +01:00 |
|
Paul Holden
|
ff0ecc7e0c
|
Fiddle with the layout a bit
|
2012-04-22 19:07:13 +01:00 |
|
Paul Holden
|
4367153168
|
Keyboard shortcuts, scrolling, handle unmapped memory a bit better
|
2012-04-22 18:34:39 +01:00 |
|
Paul Holden
|
8d85ad3e84
|
Hash addresses to generate colours for branch/jump labels
|
2012-04-22 16:11:43 +01:00 |
|
Paul Holden
|
0b12489f83
|
More ops disassembled. Highlight jump targets
|
2012-04-22 15:33:08 +01:00 |
|
Paul Holden
|
f6a631c74e
|
Work on the disassembler
|
2012-04-22 14:33:50 +01:00 |
|
Paul Holden
|
c972c7f4a6
|
Load roms, ensure correct byteswapping, dump header
|
2012-04-21 09:31:42 +01:00 |
|
Paul Holden
|
629cdaaae9
|
Parse rom header, ensure correct byteswapping
|
2012-04-21 09:27:44 +01:00 |
|
Paul Holden
|
82b22c9b61
|
Add bootstrap, jquery
|
2012-04-17 23:32:34 +01:00 |
|
Paul Holden
|
fc99dee7a0
|
First commit
|
2012-04-17 23:31:01 +01:00 |
|