Anthony Pesch
c26e5e8c63
added some register debug logging to holly
2017-06-04 16:51:45 -04:00
Anthony Pesch
357bb660e5
persist QM bits across interrupts
2017-06-04 16:50:40 -04:00
Anthony Pesch
4946278333
fix tests when running with interpreter
2017-06-04 00:30:16 -04:00
Anthony Pesch
9957656f28
remove unneeded include
2017-06-03 20:17:51 -04:00
Anthony Pesch
17fa5f8228
add support for instructions which set the pc, but are not branch operations themselves (e.g. an invalid instruction trap)
2017-06-03 00:42:13 -04:00
Anthony Pesch
78d181c7c8
fix debug menu bar padding calculation
2017-06-02 23:51:20 -04:00
Anthony Pesch
0dcedafb1e
remove old, unnecessary asserts
2017-06-02 18:43:53 -04:00
Anthony Pesch
1f32826adc
rename boot.c
2017-06-02 18:22:14 -04:00
Anthony Pesch
4ffcb8d4ab
remove OP_FLUSH_CONTEXT
2017-06-02 18:14:45 -04:00
Anthony Pesch
df8f4df2d1
removed spi cmd response structs as there is no ideal way to express all of the responses as structs in C
2017-06-02 17:06:20 -04:00
Anthony Pesch
240f64f182
added enum labels for 0x70 and 0x71
...
added more comments around big-endian bswap
2017-05-30 17:20:01 -04:00
Anthony Pesch
e3e7975a6c
refactored gdrom state machine to have more formalized transitions
2017-05-30 17:07:27 -04:00
Anthony Pesch
525dabd4c5
remove address parameter from invalid instructions
...
make some more gdrom methods public
2017-05-29 19:08:59 -04:00
Anthony Pesch
73bad73a9d
added bswap32
2017-05-29 18:31:39 -04:00
Anthony Pesch
4c66282a1e
added gd_hw_info struct
2017-05-29 02:00:24 -04:00
Anthony Pesch
56771f6685
removed unused emit stats
2017-05-27 17:36:27 -04:00
Anthony Pesch
5fc185d4f1
moved interpeter code to its own backend
...
setup code to work without x64 backend
2017-05-27 17:20:03 -04:00
Anthony Pesch
81c8f90add
added jit_opdef to replace sh4_opdef / armv3_desc
2017-05-27 11:09:36 -04:00
Anthony Pesch
7f0a8a7436
disabled frame skipping
2017-05-26 20:47:21 -04:00
Anthony Pesch
a2cedfdd6c
remove libsoundio library
2017-05-25 22:22:21 -04:00
Anthony Pesch
245ac62938
replace libsoundio with sdl audio
2017-05-25 22:22:05 -04:00
Anthony Pesch
00534496b4
replace one-off mergesort with the one in core
2017-05-25 20:33:41 -04:00
Anthony Pesch
c699ef62aa
raise gdrom dma max
2017-05-25 19:56:39 -04:00
Anthony Pesch
e914e0df48
added retrace tool
2017-05-23 13:34:27 -04:00
Anthony Pesch
d3118a9ae8
perform a perspective-correct interpolation of each vertex's w component
...
in the ta shader
explicitly write out a logarithmic value to the depth buffer inside of
the fragment shader based on the interpolated w componet. using the
log2(1 + w) / log2(max) provides much better precision in the mantissa
compared to w / wmax when normalizing the w values to be written to the
depth buffer
2017-05-21 16:02:46 -04:00
Anthony Pesch
f10ec6c693
move texture cache out of ta and into emulator to move thread
...
synchronization safe guards into the correct location
2017-05-24 22:49:30 -04:00
Anthony Pesch
69ed32c442
added comments explaining the purpose of emulator.c
2017-05-24 16:59:49 -04:00
Anthony Pesch
a4704f4c50
rename tr_parse_context to tr_convert_context
2017-05-24 00:57:25 -04:00
Anthony Pesch
1fa8019d8b
add profile zones in tr_*
2017-05-24 00:51:17 -04:00
Anthony Pesch
f127d33485
added viewport dimensions to render_backend
2017-05-24 00:31:32 -04:00
Anthony Pesch
c7476efe7b
rename entries to textures
2017-05-23 23:16:56 -04:00
Anthony Pesch
8872d250a5
remove ta_alloc_context
2017-05-23 19:08:41 -04:00
Anthony Pesch
bfbfb521fa
hardcode max dma size
2017-05-23 19:05:40 -04:00
Anthony Pesch
02b67e56d1
rename surface and vertex structs
2017-05-23 19:03:40 -04:00
Anthony Pesch
71032563ea
rename sh4_ctx to sh4_context
2017-05-23 18:59:01 -04:00
Anthony Pesch
b62f3df83f
renamed tile_render_* to tr_*
...
rename tile_ctx to tile_context
2017-05-23 18:53:56 -04:00
Anthony Pesch
0f6e0df66b
fix recc bitrot
2017-05-23 17:28:17 -04:00
Anthony Pesch
b737e2d7bf
directly invoke MMIO handlers for constant addresses
...
ensure exceptions occur due to an MMIO access in x64_handle_exception
move memory data structures from header to source file
2017-05-21 15:05:25 -04:00
Anthony Pesch
5eb59951ba
fix cache size calculation
2017-05-21 12:34:00 -04:00
Anthony Pesch
7755f47e4c
update current page conditional to work with latest Liquid
2017-05-20 20:05:07 -04:00
Anthony Pesch
11c89443e6
fix crash on exit
2017-05-20 16:59:01 -04:00
Anthony Pesch
ece8279cc0
lazy-compile ta shaders
2017-05-20 16:50:01 -04:00
Anthony Pesch
bc8fd61aaa
lower default audio latency
2017-05-20 16:25:42 -04:00
Anthony Pesch
41dc2e1f4d
resize video framebuffer as window size changes
2017-05-20 16:25:24 -04:00
Anthony Pesch
b6fb597d7e
check for interrupts less often in the interpreter
2017-05-20 13:47:08 -04:00
Anthony Pesch
8338547c82
added some PowerVR notes
2017-05-20 13:08:31 -04:00
Anthony Pesch
ee8e47a1e5
added depth buffer debug option to tracer
2017-05-19 21:29:21 -04:00
Anthony Pesch
f6532f55d1
inline polygon parsing helpers
2017-05-19 21:17:55 -04:00
Anthony Pesch
82bf344e02
remove fixed buffers for nuklear UI
2017-05-18 19:56:30 -04:00
Anthony Pesch
37904ef25d
bind pt_alpha_ref uniform for every surface
2017-05-17 21:54:58 -04:00