Commit Graph

875 Commits

Author SHA1 Message Date
Anthony Pesch e9bcf2e575 moved host code to its own subdir 2017-06-10 22:00:05 -04:00
Anthony Pesch 0c1c3b6cb7 fix scaling of trigger inputs broken by recent sdl host update 2017-06-10 16:36:58 -04:00
Anthony Pesch 94a42ec0c2 removed debug_menu callback from devices 2017-06-10 15:32:30 -04:00
Anthony Pesch e16994e356 remove nuklear source 2017-06-08 01:28:02 -04:00
Anthony Pesch 0e9142fca5 remove nuklear implementation 2017-06-08 01:29:31 -04:00
Anthony Pesch 8e192390f4 replace nuklear menus with imgui 2017-06-08 01:27:48 -04:00
Anthony Pesch b1375e8807 added imgui implementation 2017-06-07 23:03:23 -04:00
Anthony Pesch d0a6283b7e added imgui source code 2017-06-07 23:03:01 -04:00
Anthony Pesch dd58ef3b5c center text for debug menu options 2017-06-07 22:25:04 -04:00
Anthony Pesch 78cf487c19 added initial cdi support
added support for SPI_REQ_ERROR
fixed SPI_REQ_SES response format
2017-06-07 18:32:32 -04:00
Anthony Pesch 5a8eea244d remove unneeded header include 2017-06-06 00:43:59 -04:00
Anthony Pesch 5cd96f7088 move hard-coded gdrom fads into gdi implementation 2017-06-05 22:41:27 -04:00
Anthony Pesch 3783cb4123 increase ir buffer size 2017-06-05 19:52:06 -04:00
Anthony Pesch 8cc9ca2d09 rename interrupt enums 2017-06-04 23:06:55 -04:00
Anthony Pesch ff0ffbc8bb move bswap24 to math.h 2017-06-04 22:19:58 -04:00
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