Commit graph

1886 commits

Author SHA1 Message Date
Paul Holden
587e9c200c Dummy UI for toggling breakpoints 2012-10-07 20:26:58 +01:00
Paul Holden
84f33d1b28 Improved disassembler layout. Have a gutter now, which will later show breakpoints etc. 2012-10-04 09:01:38 +01:00
Paul Holden
7cb4b2ac28 Generate source maps 2012-10-03 21:09:06 +01:00
Paul Holden
9db42d41eb Add a dropdown for selecting from labels 2012-10-03 21:08:28 +01:00
Paul Holden
261a76e6e9 Analytics 2012-10-03 21:07:32 +01:00
Paul Holden
80a2251712 dom2 addresses shouldn't be bound to rom 2012-10-03 18:20:53 +01:00
Paul Holden
aba23cbbb7 Improved labels in disassembly 2012-10-03 18:20:25 +01:00
Paul Holden
a535110dea Oops, don't use externs.js 2012-10-03 16:40:11 +01:00
Paul Holden
6d5f98fa1b Add n64js.sublime-project 2012-10-03 13:04:42 +01:00
Paul Holden
372a6acd0d minify n64js 2012-10-03 13:00:46 +01:00
Paul Holden
45dc74d6a3 Fix some warnings from closure compiler 2012-10-03 09:42:02 +01:00
Paul Holden
d81a69d824 Option to control dumping of shader info 2012-10-03 09:23:12 +01:00
Paul Holden
4a560b01f5 Add thanks to Jan-Christoph Borchardt 2012-10-03 08:56:44 +01:00
Paul Holden
426fccd423 Merge branch 'master' of github.com:hulkholden/n64js 2012-09-29 11:38:45 +01:00
Paul Holden
bc65fe4b2e Merge pull request #5 from jancborchardt/master
map Y to same key as Z for European keyboard support
2012-09-29 03:38:28 -07:00
Paul Holden
8c7cfef05d Goldeneye seems to hit these Invalid Operation warnings heavily - probably better to halt for now, as it just ends up locking up the browser 2012-09-29 11:37:06 +01:00
Paul Holden
68e1dd4925 Fix cpu0 ops executed 2012-09-29 11:34:43 +01:00
Paul Holden
5b84844d20 Show fragment info in disassembly 2012-09-29 11:25:44 +01:00
Paul Holden
02e3978e23 Add a slider to control the execution rate when debugging. Improve debugger layout a bit to minimise wrapping with narrow windows (e.g. when chrome devtools are open) 2012-09-29 11:12:39 +01:00
Paul Holden
85e49bb013 Linting 2012-09-29 11:06:31 +01:00
Jan-Christoph Borchardt
ba054edae7 map Y to same key as Z for European keyboard support, fix #4 2012-09-28 22:37:20 +02:00
Paul Holden
c3e2cb2374 Add a clear button to the output log 2012-09-28 08:45:40 +01:00
Paul Holden
4c840cbaa8 Typo 2012-09-28 00:13:48 +01:00
Paul Holden
e13dedeadb Move debug keyboard handlers to debugger.js. PRevent default when they're used 2012-09-28 00:13:06 +01:00
Paul Holden
0f71c646f5 Faster cache invalidation. Base the mapwho on cache lines - this means an inval typically just a single entry 2012-09-27 23:42:41 +01:00
Paul Holden
2bd45eb960 Fix a horrible bug emulating Goldeneye - the dummy nop being returned on a tlb miss/refill was getting compiled into a dynarec fragment, so after enough iterations, the real op was magically compiled out of the running code. Argh. 2012-09-26 08:53:26 +01:00
Paul Holden
98abe20f64 Speed up instruction cache invalidation 2012-09-26 08:41:40 +01:00
Paul Holden
6191766ed3 Add a flag to control dynarec 2012-09-26 00:30:10 +01:00
Paul Holden
dfa0f7ebf5 Move some constants to the top of the file 2012-09-26 00:28:32 +01:00
Paul Holden
fab0120c94 linting 2012-09-26 00:26:53 +01:00
Paul Holden
c869ce6b46 Improve sync checking code. Added separate producer/consumer objects. Added separate streams for flow and input 2012-09-26 00:26:06 +01:00
Paul Holden
faba4a1d76 Stick nput is actually ranged -80..+80 - fixes cursor on goldeneye screen 2012-09-25 23:07:38 +01:00
Paul Holden
39ce737a6a Better message when hitting unmapped read 2012-09-24 22:13:03 +01:00
Paul Holden
5c7e285f91 Goldeneye uses 0xb2/0xb4 for something 2012-09-24 22:10:40 +01:00
Paul Holden
1be67d86f2 Show EPC in debugger 2012-09-24 22:10:01 +01:00
Paul Holden
b67a41adac Define memory address field in .html and add similar for debugger 2012-09-24 22:09:28 +01:00
Paul Holden
c4d6823789 Improve disassembly for LUI 2012-09-23 17:32:54 +01:00
Paul Holden
ec018543b1 Add CPU0 functions to prototype 2012-09-23 16:05:38 +01:00
Paul Holden
1e62cea76b Lint r4300.js 2012-09-23 15:44:26 +01:00
Paul Holden
8094cfeb62 Split some more of the main dispatch loop out. Cache some state from the closure in local vars 2012-09-23 15:29:24 +01:00
Paul Holden
631dff43c8 Move executeFragment out of runImpl 2012-09-23 10:38:03 +01:00
Paul Holden
a3b6b6b3a9 Move the bulk of run() to another function - v8 won't optimise with try/catch block 2012-09-23 10:26:49 +01:00
Paul Holden
c1ae639430 Lint settings 2012-09-23 10:23:29 +01:00
Paul Holden
36d8250f1f More linting 2012-09-22 10:13:59 +01:00
Paul Holden
f394cd146e Fix a couple of linting issues 2012-09-21 09:04:31 +01:00
Paul Holden
8bba9b91ad Ooops generateSRAV was performing a left shift. Fixes a Goldeneye crash 2012-09-21 09:01:10 +01:00
Paul Holden
31f781ee25 Tidy display list debugger ui 2012-09-20 20:57:37 +01:00
Paul Holden
b9b7b69907 rdpOtherMode debug 2012-09-20 20:02:41 +01:00
Paul Holden
f5bb7e7bd0 Show geometry mode in debugger 2012-09-20 09:02:30 +01:00
Paul Holden
2500c50275 Better colour values in the debugger 2012-09-20 08:51:47 +01:00