Commit Graph

322 Commits

Author SHA1 Message Date
Lior Halphon 30e2a7b7e4 Add thread safety assertions in debug 2023-02-05 19:51:11 +02:00
Lior Halphon 830f2ddc38 Break save state compatibility. Windows save states should now work with non-Windows save states again. 2023-02-04 02:13:01 +02:00
Lior Halphon 4c8f364ad7 Force the rewind buffer to reset after the save state size changes 2023-02-02 00:06:22 +02:00
Lior Halphon d5ff93af3b Emulate GB printer timer, letting one emulate the mini game in Hello Kitty Pocket Camera. Closes #290 2023-01-30 22:42:03 +02:00
Lior Halphon 0549dc702c Add an API to get the model from the state file 2023-01-15 19:15:45 +02:00
Lior Halphon d9bf739f52 Remove auto-generated comments 2023-01-12 23:19:24 +02:00
Lior Halphon 88e64fadda More accurate and customizable timings 2023-01-06 19:06:22 +02:00
Lior Halphon 7a390414ff Improved accuracy of open bus behavior, merged with the HDMA open bus logic (it's the same bus) 2023-01-06 12:51:36 +02:00
Lior Halphon bd6843444f Emulate cart open bus behavior. Fixes #516 2023-01-01 22:59:16 +02:00
Lior Halphon 5d5ff1702e Add quick reset API (Closes #506) 2022-10-17 18:52:02 +03:00
Lior Halphon eef8b8448c That wasn't dead code, just another glitch. Fixes m3_wx_4_change_sprites 2022-10-16 23:57:19 +03:00
Lior Halphon ac9e36bc1a Fix assertion regression, fix window pixel insertion glitch regression, remove dead code. Closes #504 2022-10-16 18:19:43 +03:00
Lior Halphon ec6612d445 Fix DMA restart regression 2022-10-15 21:31:13 +03:00
Lior Halphon 4f78e4b109 Guide users to use the 'help' command in the debugger, fix apu command line breaks 2022-09-09 15:59:03 +03:00
Lior Halphon c368c77d28 Use names for LCDC bits 2022-08-28 20:31:50 +03:00
Lior Halphon 9fcac76a03 New memory management APIs 2022-08-20 21:45:14 +03:00
Lior Halphon 52ab200544 Accurately emulate CGB first frame behavior. Fixes #432, fixes #482 2022-08-09 00:54:31 +03:00
Lior Halphon 44618f75c4 Optimize the memory viewer, GB_INTERNAL no longer required 2022-07-31 00:32:40 +03:00
Lior Halphon 6f9da353bd Add GBP model to the core (disables bouncing) 2022-07-24 14:22:49 +03:00
Lior Halphon 4b03cc05c1 Optimization to joypad code 2022-07-24 13:16:19 +03:00
Lior Halphon a524cc3105 Emulate key bouncing 2022-07-23 23:49:11 +03:00
Lior Halphon 33ba353c3a Emulate the JOYP mode switching delay on the DMG 2022-07-23 19:29:23 +03:00
Lior Halphon dd24801507
Merge pull request #476 from CasualPokePlayer/camera_improvements
Various GB Camera improvements
2022-07-23 13:24:50 +03:00
Lior Halphon 93c611e9bc
Values must be added to the end of a GB_SECTION for save state compatibility 2022-07-23 13:12:48 +03:00
CasualPokePlayer bb8f973fb4 Implement GB Camera timing (when no webcam is connected), misc camera accuracy improvements, use GB_random instead of rand for noise_seed 2022-07-22 20:15:00 -07:00
Lior Halphon 96d127e160 Remove the SLD command, reorder debugger commands 2022-07-01 16:14:52 +03:00
Lior Halphon aaf9a76b67 The vblank callback now reports the vblank type 2022-06-25 01:59:51 +03:00
Lior Halphon 22f8ab6509 Last fix was wrong, this is correct 2022-06-17 18:17:29 +03:00
Lior Halphon 4d90504688 HuC-1 mode is not a thing, fixes Robopon Japanese prototype 2022-06-11 20:57:02 +03:00
Lior Halphon d41c188cfd More accurate Camera MBC emulation 2022-06-11 14:44:06 +03:00
Lior Halphon 4f91b19a94 Added MBC7 BESS support, documented BESS TPP1 2022-06-05 14:09:33 +03:00
Lior Halphon bb836662dd More accurate emulation of Hblank skip, emulation of Mode 2 skip 2022-05-14 01:14:41 +03:00
Lior Halphon 4521bb4767 Fixed and accurate emulation of object at x=0 timings 2022-05-11 02:15:56 +03:00
Lior Halphon 6337e3e43a Remove unused 2022-05-07 20:24:28 +03:00
Lior Halphon ac29b4391e Refactor FIFOs 2022-05-07 19:27:25 +03:00
Lior Halphon b2edcc9543 Improve serial accuracy 2022-04-17 23:41:05 +03:00
Lior Halphon 5e119548e9 GDMA during mode 3 writes to both banks, list AGB_E as a future model 2022-03-09 00:32:50 +02:00
Lior Halphon c78a003712 MMM01 support 2022-03-05 21:20:42 +02:00
Lior Halphon a621803e82 More compact memory usage for symbol maps, removes the 0x200 bank limit 2022-02-28 23:30:31 +02:00
Lior Halphon 4c6bc91ded Add missing register 2022-02-14 22:59:05 +02:00
Lior Halphon a4209b47d0 Be consistent with hex casing 2022-02-13 16:58:44 +02:00
Lior Halphon 97c758ba75 More accurate internal bus behavior 2022-02-06 13:02:15 +02:00
Lior Halphon 4e27558ac2 Mode 2 OAM open bus behavior 2022-02-05 18:50:33 +02:00
Lior Halphon 1a41957b3c LCDOff behavior, basic halt/stop behavior 2022-01-31 01:02:31 +02:00
Lior Halphon a7f7530eed Preparation for future AGB-0 and B support 2022-01-30 18:11:35 +02:00
Lior Halphon 3a2d028efa GDMA/PPU conflicts 2022-01-30 14:38:58 +02:00
Lior Halphon 26656de44f Improvements to GDMA 2022-01-28 23:56:26 +02:00
Lior Halphon ab75858c86 DMA/PPU VRAM conflicts on the CGB/AGB 2022-01-17 22:07:24 +02:00
Lior Halphon b45761146f VRAM DMA during mode 3 2022-01-16 13:50:59 +02:00
Lior Halphon eaeeb49612 Minor stylistic changes 2022-01-14 22:26:23 +02:00