Commit Graph

979 Commits

Author SHA1 Message Date
Anthony Pesch 07a1156eb5 convert interval tree from using a randomized bst to a red-black tree 2015-09-21 23:11:11 -07:00
Anthony Pesch 0d455e710a removed sigsegv handler, after profiling the overhead in querying the interval tree on each PVR write isn't significant enough to warrant the added complication
invalidate textures on palette writes
2015-09-18 20:57:18 -07:00
Anthony Pesch 265369f864 track number of write watches with microprofile 2015-09-17 20:57:37 -07:00
Anthony Pesch 76e4a96689 fix compilation errors under -Wall -Wextra -Werror and /W3 2015-09-17 16:27:45 -07:00
Anthony Pesch 33e8fddbf8 updated microprofile version 2015-09-17 16:27:45 -07:00
Anthony Pesch 255d429cc0 add missing header for sh4_emit.cc 2015-09-17 16:27:17 -07:00
Anthony Pesch 049dbfce4b system -> sys 2015-09-17 11:14:43 -07:00
Anthony Pesch 40b81ad57c moved sigsegv / filesystem code into system 2015-09-17 11:14:43 -07:00
Anthony Pesch 3897fe557f invalidate textures through process signals 2015-09-17 11:14:39 -07:00
Anthony Pesch b540e5b80b removed core namespace 2015-09-14 14:22:22 -07:00
Anthony Pesch fcbb3cb043 don't render invalid last context on first frame 2015-09-12 00:34:11 -07:00
Anthony Pesch 3504d313e0 gcc compilation fixes 2015-09-12 00:11:00 -07:00
Anthony Pesch 0bcc30559b split up Dreamcast object into hw::Dreamcast and emu::Emulator 2015-09-11 00:07:20 -07:00
Anthony Pesch e83cad251a moved maple code out of holly/
added hw/ and jit/ folders, restructured accordingly
2015-09-10 16:45:10 -07:00
Anthony Pesch 0849868672 cache textures based on tcw / tsp parameters
disabled horrible texture invalidation code
2015-09-10 01:42:04 -07:00
Anthony Pesch 02940a9bab use poly color / offset color for sprite verts 2015-09-09 23:26:27 -07:00
Anthony Pesch 4549589d46 treat paletted textures as always being twiddled
fix palette ram index calculations
only store a textue's actual palette in each trace event, not all of the palette ram
2015-09-09 21:47:23 -07:00
Anthony Pesch c16da7c84a temporary hack to get Crazy Taxi 1 booting 2015-09-08 22:51:55 -07:00
Anthony Pesch 0cdf8abd8f adding some aica scaffolding 2015-09-08 22:23:01 -07:00
Anthony Pesch aab2d41167 shuffling around gdrom code 2015-09-08 22:23:01 -07:00
Anthony Pesch 3868cbf312 added back RuntimeBlock class
converted block cache back to an array of pointers (now 64mb vs 200mb in memory)
2015-09-08 11:36:54 -07:00
Anthony Pesch 24ce88fb00 update assembly tests to support nested test cases 2015-09-07 15:49:11 -07:00
Anthony Pesch 212a2541ab removed reverse post order block iteration 2015-09-05 22:27:31 -07:00
Anthony Pesch ed806dc781 fix for const value() getter on Value 2015-09-05 22:24:43 -07:00
Anthony Pesch 79ad6dc037 removing memory tests for now, code is soon to be refactored for mmio 2015-09-05 11:18:48 -07:00
Anthony Pesch e31831c140 run tests on both backends 2015-09-05 11:01:18 -07:00
Anthony Pesch ecc0a6c7ac massive refactoring, replaced Emulator class with Dreamcast class. instead of passing around individual components to each system, the new Dreamcast object has public getters for each (holly, pvr, video ram, etc.) 2015-09-04 22:53:36 -07:00
Anthony Pesch bb5b03919d don't pass Scheduler to SH4 2015-09-04 22:53:36 -07:00
Anthony Pesch 3ea188ddb7 support tsp uv clamp and flip parameters 2015-09-04 22:53:36 -07:00
Anthony Pesch 0a1dbf1b66 fix timestep to 60hz in emulator
don't render frames on-demand in PVR2, render in main loop
remove framebuffers from backend
2015-09-04 22:53:36 -07:00
Anthony Pesch 1eaac911d8 use uint32_t for vertex color data
remove unused index buffer
added gpu profiler group
2015-09-04 22:53:35 -07:00
Anthony Pesch 41b3afdb1a only compile tests if sh4 toolchain is available 2015-09-04 22:53:35 -07:00
Anthony Pesch cc88c48c7a renamed test binary 2015-09-04 22:53:35 -07:00
Anthony Pesch d264971537 updated README with instructions for msvc 2015-09-04 22:53:35 -07:00
Anthony Pesch a831fa482f support msvc calling convention in x64 backend 2015-09-04 22:53:35 -07:00
Anthony Pesch 20541ab018 compile with /W3 under msvc 2015-09-04 22:53:31 -07:00
Anthony Pesch 812136763e reset Surface / Vertex state when allocating
reset SH4 interrupt status on reset
2015-08-29 16:33:52 -07:00
Anthony Pesch 4b15c34eab removed useless constructor 2015-08-29 11:54:03 -07:00
Anthony Pesch f5e2b46acc gcc compilation fix 2015-08-28 15:03:09 -07:00
Anthony Pesch 4d8a1f08b8 assign source groups to help organize visual studio project 2015-08-27 11:57:39 -07:00
Anthony Pesch cd1239035d less warning relaxations under gcc / clang 2015-08-27 09:55:31 -07:00
Anthony Pesch 548e3ca4c9 msvc compilation fixes, tests and interpreter now run 2015-08-27 09:55:10 -07:00
Anthony Pesch 0bbc9981b4 added glew 2015-08-27 09:55:10 -07:00
Anthony Pesch 6da6af39fa alloc each object Emulator uses 2015-08-27 09:55:09 -07:00
Anthony Pesch 131280c051 compile with BEA_ENGINE_STATIC 2015-08-27 09:55:09 -07:00
Anthony Pesch 614e30e443 cross-platform clz 2015-08-26 21:27:53 -07:00
Anthony Pesch f98eeba82b replaced glog with custom assert / log implementation 2015-08-26 21:27:53 -07:00
Anthony Pesch bcf79646e8 remove glog source 2015-08-26 21:27:53 -07:00
Anthony Pesch c8e9b8edb3 don't declare snprintf / va_copy for VS 2015
hack to avoid OS_WINDOWS macro redefinition error for VS 2015
2015-08-26 21:27:53 -07:00
Anthony Pesch 77a9d53738 updated to gflags 2.1.2 2015-08-26 21:27:52 -07:00