Commit Graph

4214 Commits

Author SHA1 Message Date
Jeffrey Pfau 75d9085eef GBA I/O: Clear JOYSTAT RECV flag when reading JOY_RECV registers 2016-12-27 02:11:54 -08:00
Jeffrey Pfau 463ce99739 All: Include cleanup 2016-12-26 23:27:32 -08:00
Jeffrey Pfau 03ca7515b3 GBA SIO: Add some basic JOY bus constants 2016-12-26 22:26:31 -08:00
Jeffrey Pfau f7ac90d74e Util: Add ifndef guard for UNUSED define 2016-12-26 21:02:57 -08:00
Jeffrey Pfau 2f1cb61d01 All: Add C++ header guards 2016-12-26 21:01:55 -08:00
Jeffrey Pfau daaa2fa523 GB SIO: Support faster transfer speeds 2016-12-26 17:20:51 -08:00
Jeffrey Pfau c662b59e99 GB: Allow player 2 to act as shift clock 2016-12-26 17:13:53 -08:00
Jeffrey Pfau 269b18d8aa GB SIO: Some fixes 2016-12-26 16:46:51 -08:00
Jeffrey Pfau ceea51b55e GB: First pass at lockstep multiplayer 2016-12-25 20:39:11 -08:00
Jeffrey Pfau 4ac4733cfd GBA SIO: Convert GBP to mTiming 2016-12-25 15:22:22 -08:00
Jeffrey Pfau 49c8ad1b02 All: Remove out-of-date function declarations 2016-12-25 14:55:02 -08:00
Jeffrey Pfau 8aceef8521 Res: Update patron list 2016-12-25 11:18:05 -08:00
Jeffrey Pfau b515214fbe GB Audio: Reoptimize channel 4 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 0bf0975a5d GB: Restore savestates 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 9aa6d8fe3c GBA: Restore savestates 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 81416863a5 GBA DMA: Remove `hasStarted` flag 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 1c93b75b7e GBA DMA: Move DMAs to using absolute timing 2016-12-25 10:56:49 -08:00
Jeffrey Pfau ad85acab75 Core: Implement deterministic event ordering 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 327c3e78c6 GBA DMA: Refactor DMA out of memory.c 2016-12-25 10:56:49 -08:00
Jeffrey Pfau a1689c80a7 GBA Memory: Fix DMA timing 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 82a0088e1e GBA SIO: Convert to mTiming 2016-12-25 10:56:48 -08:00
Jeffrey Pfau 86571c8496 GB: Convert EI to mTiming 2016-12-25 10:56:48 -08:00
Jeffrey Pfau e429d726dc GB Memory: Fix HDMAs 2016-12-25 10:56:48 -08:00
Jeffrey Pfau 84844232ec Core: Use an in-place linked list for timing instead of a vector 2016-12-25 10:56:48 -08:00
Jeffrey Pfau d08a0fef01 GBA Memory: Optimize DMA 2016-12-25 10:56:48 -08:00
Jeffrey Pfau fa3d263dd9 Core: Invert schedule queue direction to avoid excess memmove 2016-12-25 10:56:48 -08:00
Jeffrey Pfau ed3a3b2fab Core: A few micro-optimizations 2016-12-25 10:56:48 -08:00
Jeffrey Pfau 2c2a7ca436 Core: Remove unnecessary pointer operation in timing 2016-12-25 10:56:48 -08:00
Jeffrey Pfau 2a0c53441a GBA Audio: Convert audio sampling to mTiming 2016-12-25 10:56:48 -08:00
Jeffrey Pfau bb1c47c7e8 GB Audio: Convert audio to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 5b50c43857 GBA Video: Convert video to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau c056acb98f GBA Memory: Convert DMAs to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 74bb02065d GB, GBA: Properly handle late cycles this time 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 4680a767c6 Core: Manage next event internally to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau a506f6cd9d GBA: Convert timers to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau e423cd45e5 Core: Scheduling should be relative to current cycles 2016-12-25 10:56:47 -08:00
Jeffrey Pfau bf9be29ad5 GB Video: Convert to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 6243b7fd3b GB: Convert SIO events to mTiming 2016-12-25 10:07:54 -08:00
Jeffrey Pfau e2357f0b70 GB: Convert memory events to mTiming 2016-12-25 10:07:54 -08:00
Jeffrey Pfau d831de205f Core, GB: Start new timing interface 2016-12-25 10:07:54 -08:00
Jeffrey Pfau c662d779a6 GB Audio: Fix performance regression 2016-12-25 10:03:28 -08:00
Jeffrey Pfau 85285a68e5 GB Memory: Reset ROM bank when loading a ROM 2016-12-24 21:22:29 -08:00
Jeffrey Pfau e32c0673da GB Audio: Reset envelope timer when reseting sound channel (fixes #287) 2016-12-24 03:41:39 -08:00
Jeffrey Pfau eaec17488e GB Video: Hblank IRQs should mask LYC=LY IRQs (fixes #466) 2016-12-23 17:13:10 -08:00
Jeffrey Pfau 2bd8dd2fa2 GB Memory: Fix HDMA5 value after DMA completes 2016-12-23 16:40:50 -08:00
Jeffrey Pfau 9d54e242e3 GBA I/O: Mask off WAITCNT bits that cannot be written (fixes #457) 2016-12-23 15:41:11 -08:00
Jeffrey Pfau 6eadd35ee6 Debugger: Add functions for read- or write-only watchpoints 2016-12-23 15:40:24 -08:00
Jeffrey Pfau 55505f79a9 GB Video: Initialize LCDC in renderer 2016-12-22 18:55:46 -08:00
Jeffrey Pfau 974c41e8cf GB Audio: Initialize wave RAM to GBC values 2016-12-22 15:38:34 -08:00
Jeffrey Pfau 8ac6f83bc5 GB Audio: Refactor and improve audio emulation 2016-12-22 14:33:50 -08:00