Commit Graph

2236 Commits

Author SHA1 Message Date
Lior Halphon b51aac4bf5 Modernize some RGBASM syntax to silence most deprecation warnings in the upcoming 0.7 RGBDS release 2023-12-09 15:04:27 +02:00
Lior Halphon 68ba89cf43 Fix unquoted realpath, fixes #572 2023-12-07 01:02:01 +02:00
Lior Halphon 8642715a6d
Merge pull request #573 from Rangi42/rgbds
Allow rgbds to build SameBoy's BootROMs for testing
2023-12-06 23:09:52 +02:00
Rangi42 6d3a65759e Allow rgbds to build SameBoy's BootROMs for testing
rgbds needs to use a local copy of its executables for testing,
passed as an `RGBDS=../../` prefix for the path to them all.

This commit enables that, so rgbds can do
    test_downstream LIJI32/SameBoy bootroms
in its run-tests.sh script.
2023-12-06 12:12:15 -05:00
Lior Halphon eba273d89c Menu items and shortcut to resize the window in the Cocoa frontend 2023-12-04 00:34:48 +02:00
Lior Halphon bce413821d
Merge pull request #569 from SnowyMouse/gbenum-fix
Fix GB_ENUM on C++
2023-11-26 19:39:23 +02:00
Lior Halphon 1c8a14ff1c Improved controller assignment in the Cocoa port, affects #532 2023-11-26 17:32:33 +02:00
Lior Halphon 5823bf9d70 Merge branch 'master' of github.com:LIJI32/SameBoy 2023-11-25 21:24:56 +02:00
Lior Halphon ecbdb9e95e Emulate several more pre-CGB-D channel 1 glitches 2023-11-25 21:24:46 +02:00
Lior Halphon 35a91768b4 iPad support was missing from the iOS plist file 2023-11-25 21:22:01 +02:00
Lior Halphon a795514bc4 Refer to SameBoy's license as the X11 License 2023-11-25 21:21:34 +02:00
Snowy 8657d3e4b6 Fix GB_ENUM on C++
The else branch results in an error from defining a type in a cast.
2023-10-28 14:20:31 +02:00
Lior Halphon aff42affc0
Merge pull request #570 from max-m/fix-cheats
Fix memory corruption on removal / update of cheats with the same address hash
2023-10-22 21:01:54 +03:00
Maximilian Mader 0ece951173
Fix memory corruption on removal of multiple cheats with the same address hash 2023-10-22 18:39:14 +02:00
Lior Halphon e59bc436bd CGB-C NR10 conflict improvements 2023-09-25 23:35:26 +03:00
Lior Halphon 340d4e0630 WIP: Fix APU regressions (CGB-D/E only so far) 2023-09-09 23:54:01 +03:00
Lior Halphon 3ab6150508 Fixed weird printer related crashes on open, seems like an Apple regression? 2023-09-03 16:46:00 +03:00
Lior Halphon 5192e3a07b Merge branch 'master' of github.com:LIJI32/SameBoy 2023-09-03 15:54:42 +03:00
Lior Halphon d662407df0 Accurate emulation of NR10 write glitches 2023-09-03 15:54:37 +03:00
Lior Halphon 4f69e4e86c
Merge pull request #561 from vailkyte/tes
Force parsing order
2023-09-02 13:38:08 +03:00
vailkyte 816cdf2c62
Force parsing order 2023-09-01 22:19:06 -05:00
Lior Halphon 7542de74e7
Merge pull request #560 from rizinorg/oob-read
Fix oob reads in debugger command parsing
2023-08-19 17:05:02 +03:00
Florian Märkl 6b6800445f Fix oob reads in debugger command parsing
The length of only one of the operand strings was checked before the
memcmp in these cases, causing out-of-bounds reads when the other was
shorter.
This could be seen by compiling with ASAN and for example executing any
command longer than 2 characters.
2023-08-19 15:03:27 +02:00
Lior Halphon 240d8d1ffa Silence warning 2023-08-12 13:40:16 +03:00
Lior Halphon 3bad68f2ab Add backstep to the Cocoa button bar 2023-08-12 13:35:32 +03:00
Lior Halphon 3168e0e1fa Fixed potential deadlocks 2023-08-12 13:34:57 +03:00
Lior Halphon 7e6f1f866e
Merge pull request #558 from arthurgiroux/bugfix/hexfiend-compilation-mac
Removed unused local variable "lineIndex" that was generating a warning.
2023-08-06 17:52:17 +03:00
Arthur Giroux 10955abe6c Removed unused local variable "lineIndex" that was generating a warning. 2023-08-06 16:47:07 +02:00
Lior Halphon 3389f50884
Merge pull request #557 from arkie/master
Add SIGUSR1 to reload to the SDL frontend
2023-08-04 23:27:53 +03:00
Jon c709ea0d98 SIGHUP -> SIGUSR1 2023-08-04 13:53:58 -04:00
Lior Halphon 12ad85355c Build the iOS frontend without the debugger 2023-08-04 20:02:42 +03:00
Lior Halphon a9ce9f538f Experimental backstepping support 2023-08-04 19:54:14 +03:00
Lior Halphon 0b54eea084 Change the internal macro to use hidden, which guarantees a standard ABI 2023-08-04 19:53:52 +03:00
Jon e40e254add Add SIGHUP to reload to the SDL frontend 2023-08-02 11:35:01 -04:00
Lior Halphon fb3db82d42 The Cocoa memory viewer new symbolicates the selection 2023-07-30 20:11:35 +03:00
Lior Halphon ac45888a37 The memory viewer's "Go to" field can now switch banks and address spaces 2023-07-30 14:25:41 +03:00
Lior Halphon aedb3e2332 Fix GB_debugger_evaluate not correctly returning the bank 2023-07-30 14:21:41 +03:00
Lior Halphon 048da6e6d1 Fixed a bug where accurate RTC emulation halted while SameBoy wasn't running 2023-07-29 22:27:50 +03:00
Lior Halphon 4ab256d896 Correct read emulation of the BANK register while still in the boot ROM 2023-07-29 16:08:26 +03:00
Lior Halphon 10d996330c Inclusive ranges 2023-07-29 16:05:28 +03:00
Lior Halphon 29becc2870 Treat local and non-local symbols differently 2023-07-29 14:51:31 +03:00
Lior Halphon d209628369 Fixed a bug where breakpoint and watchpoints would sometime stop working 2023-07-29 13:45:26 +03:00
Lior Halphon 323b6fafa8 Ranged breakpoints and watchpoints 2023-07-29 01:00:36 +03:00
Lior Halphon f2466fd770 Deprecated the IO_ symbols, rename rWAV_START and rWAV_END 2023-07-29 01:00:23 +03:00
Lior Halphon dd1330d707 Breakpoints and watchpoints are now identified by a unique id rather than an address 2023-07-28 19:07:56 +03:00
Lior Halphon 61f3c8d7f3 Fixed an edge case where jump-to breakpoints did not work as expected/took the slow path 2023-07-28 00:49:31 +03:00
Lior Halphon 54f45f2fd3 Fix a bug where jump-to breakpoint disassembled the wrong address under certain scenarios 2023-07-28 00:47:15 +03:00
Lior Halphon 636349d5f2 Not going to use Constraints, Apple. Getting toolbar items to behave is hard enough as is 2023-07-23 22:03:42 +03:00
Lior Halphon a5903ca5bc Do the same for the CRT shader 2023-07-23 14:20:09 +03:00
Lior Halphon df1b89bf61 Update constants in the LCD shader that weren't updated after shaders switched to using linear RGB 2023-07-23 14:14:30 +03:00