Commit Graph

  • ca59aca4a6 Fixed a bug where writing to NR52 affected channels 1 and 2’s duty pattern in DMG mode. Fixed NR43 being written to NR44 as well. Lior Halphon 2017-08-13 20:26:35 +0300
  • 36943866e2 Better click prevention Lior Halphon 2017-08-12 23:35:18 +0300
  • d43daed6a6 Merge branch 'master' into new_apu Lior Halphon 2017-08-12 21:43:09 +0300
  • 7df4e56454 KEY1 is only writable in CGB mode; screen should be black is LCD is on while in stop mode. Lior Halphon 2017-08-12 21:42:47 +0300
  • dba7370d6d Turns out APU signal is inverted. This fixes Perfect Dark’s audio. Lior Halphon 2017-08-12 20:47:55 +0300
  • 688991f57f The volume envelopes and length controls are handled in different phases of the div-divider Lior Halphon 2017-08-12 20:17:20 +0300
  • 4b8be255ce Fixed some channel 4 delays, documented a not currently emulated timing quirk. Lior Halphon 2017-08-12 19:50:39 +0300
  • 066efab985 In DMG mode, the length registers are not affected by turning the APU on and off. Why? Why not! Lior Halphon 2017-08-11 22:23:03 +0300
  • 0e22ad8eb1 Noise channel support Lior Halphon 2017-08-11 17:57:08 +0300
  • 1a8bcd314d Accuracy improvements to sweeping (Still not complete though, more research needed) Lior Halphon 2017-08-10 19:42:23 +0300
  • ab5611119a Accuracy improvements, especially to the length control Lior Halphon 2017-08-02 21:14:23 +0300
  • d65c2247e5 Added channel 1 and 2, fixed accuracy issues with channel 3 Lior Halphon 2017-07-27 23:11:33 +0300
  • 2936f7fa57 Fixed channel 3 counter behavior, verified with new tests. The DIV register ticks the APU at 512Hz. Lior Halphon 2017-07-22 19:51:11 +0300
  • a19ee1e5e0 2MHz audio downscaling support. Implemented NR50 and NR51. Lior Halphon 2017-07-21 23:06:02 +0300
  • baccf336d7 Complete rewrite of the APU. Channel 3 is complete and passes all the relevant tests from blargg’s suite, as well as PCM34-based tests. Actual sound output is basic and limited, though. Lior Halphon 2017-07-21 18:24:28 +0300
  • c0a8a570e8 Merge pull request #11 from nattthebear/master Lior Halphon 2017-07-17 12:22:52 +0300
  • eb7492c6c6 Fix undefined behavior (sequence point modification). GCC 4.6.4 compiles the code incorrectly without this fix. nattthebear 2017-07-16 21:08:07 -0400
  • efc11783c7 Updated SameBoy’s “score” on mooneye-gb’s tests Lior Halphon 2017-06-23 18:04:51 +0300
  • c4ccbd5cce Improved serial interrupt timing, fixes boot_sclk_align. Lior Halphon 2017-06-23 17:58:04 +0300
  • 623f92378d Added --boot option to the automatic tester to specify the boot ROM, better support for automatic testing of the mooneye-GB tests Lior Halphon 2017-06-21 23:25:39 +0300
  • c59272d46d Misc minor fixes, fixes several Mooneye-GB tests Lior Halphon 2017-06-21 09:35:57 +0300
  • efbc385417 Forgot to amend the last commit, it was broken. Lior Halphon 2017-06-21 01:07:11 +0300
  • aefca34b39 Improved MBC1 emulation. Fixed incorrect error messages. Lior Halphon 2017-06-19 19:46:09 +0300
  • abf7efcc5a Fixed lcdon_write_timing. Lior Halphon 2017-06-18 21:27:07 +0300
  • 86c9f9d89d Updated SameBoy to pass Mooneye-GB’s lcdon_timing test (on a DMG), as well as refined related CBG behaviors. Lior Halphon 2017-06-17 22:17:58 +0300
  • bbd2ca8ddf Fixed Linux compilation Lior Halphon 2017-06-16 01:25:39 +0300
  • babcc0a7dc Added API to load/save states from RAM Lior Halphon 2017-06-14 00:23:34 +0300
  • 204e22657b The CGB boot ROM will now not finish if the user is still selecting palettes Lior Halphon 2017-06-09 19:52:40 +0300
  • 144d0348dd Loading a save state creating during the effect of the previous MBC RAM bug will now attempt to fix the (broken) save state. Lior Halphon 2017-06-08 23:26:04 +0300
  • c650337928 Fixed a bug where MBC RAM was no longer accessible after using the GB_reset functions Lior Halphon 2017-06-08 22:48:23 +0300
  • a9475fbdf4 Refined the behavior of the last fix on a DMG. Lior Halphon 2017-06-03 20:06:52 +0300
  • 65b0dcb2c5 Fixed a bug where SameBoy freeze for a moment after leaving turbo mode Lior Halphon 2017-06-03 17:02:12 +0300
  • d72807dd67 Implemented LCD first-frame-skip behavior, fixes a visual glitch in Pokémon Pinball Lior Halphon 2017-06-03 16:42:42 +0300
  • 48acc09e91 Fixed the first item in the backtrace command Lior Halphon 2017-06-03 16:19:39 +0300
  • 22ee6f6ca2 Fixed incorrect calculation in rendering timing. Fixes some of the issues in Prehistorik Man (and doesn’t break GBVideoPlayer) Lior Halphon 2017-05-31 23:58:14 +0300
  • 81de2c3d9b Incremented version to 0.9, updated copyright Lior Halphon 2017-05-27 19:41:09 +0300
  • 1e228e1d9b Fixed a bug where the SDL port exited on “warning” logs when loading ROMs Lior Halphon 2017-05-27 19:16:07 +0300
  • 9b89d76b3b Todo cleanup Lior Halphon 2017-05-27 17:30:12 +0300
  • f34103473e Fixed ^C not giving focus to the console window Lior Halphon 2017-05-27 17:16:20 +0300
  • a69f0a64b1 Added reverse text search to the Cocoa console Lior Halphon 2017-05-27 17:15:52 +0300
  • 6b2a302393 Terminal-style command history in the Cocoa debugger Lior Halphon 2017-05-27 14:32:32 +0300
  • 44b414d45f Fixed VRAM window not showing correctly if opened while the game is paused Lior Halphon 2017-05-27 12:52:31 +0300
  • da852119de Updated readme to SDL2 Lior Halphon 2017-05-27 12:47:25 +0300
  • 096bd8ba94 Merge branch 'sdl2' Lior Halphon 2017-05-27 12:30:25 +0300
  • 6e7ab3558a Use a smaller audio buffer size if supported. Lior Halphon 2017-05-27 12:29:36 +0300
  • a01ea29cf1 The first entry in the backtrace command is now in the same format as the rest Lior Halphon 2017-05-26 20:21:39 +0300
  • 7d88ee00cc Added side view to Cocoa debugger Lior Halphon 2017-05-26 20:16:19 +0300
  • ece1a11a23 SDL port: GUI-based error reporting, added help dialog (? on macOS, F1 on everything else) Lior Halphon 2017-05-25 23:28:48 +0300
  • 4d5dc6a30e Cleanup Lior Halphon 2017-05-24 21:44:43 +0300
  • 52e99adc32 SDL port: Resizing, resizing modes, and pause support Lior Halphon 2017-05-24 20:33:39 +0300
  • 00439f4d49 SDL port: added drag and drop support, added model switch command, fixed macOS audio Lior Halphon 2017-05-23 23:18:16 +0300
  • bef89c6604 Upgraded Sameboy-SDL to SDL2, fixed Windows build, fixed save states in SDL, added reset and mute to SDL. The SDL port now renders via OpenGL. Lior Halphon 2017-05-21 21:44:28 +0300
  • 50a21da4d5 False positive fixes Lior Halphon 2017-05-13 21:03:28 +0300
  • 6dd24e0733 Fixed hung note issue. Closes #7 Lior Halphon 2017-05-13 17:04:05 +0300
  • 86332d0311 Modifying WX and WY outside of VBlank is now more accurate, but still requires more research. Closes #6. Lior Halphon 2017-05-12 19:33:42 +0300
  • 00623d4eea - Added audio supersampling support to greatly improve audio quality. - Fixed a bug where low sampling rate or disabled sound resulted in wrong APU behavior. - Added API to get the current number of pending samples. - This change broke save state compatibility with v0.8 and older Closes #8. Lior Halphon 2017-05-12 17:11:55 +0300
  • b858f17425 Added the GB_run_frame API; closes #5. Lior Halphon 2017-04-25 00:19:10 +0300
  • 22d3510dde Added LCD command to the debugger Lior Halphon 2017-04-22 14:55:17 +0300
  • c766704267 More accurate FPS capping that tracks time correctly even when the screen is off. Should also support restarting the LCD during blank to increase FPS to 63. Lior Halphon 2017-04-21 16:00:53 +0300
  • fb55c35f87 New APIs, Document.m no longer requires GB_INTERNAL, fixed a bug where the sprite viewer showed incorrect sprites for some CGB exclusive games. Lior Halphon 2017-04-19 23:26:39 +0300
  • 3feaeb153e New turbo related APIs, Quick Look no longer requires GB_INTERNAL Lior Halphon 2017-04-19 21:55:58 +0300
  • a925ef130d Stabilizing API: New joypad, debugger and reset APIs; internal APIs and direct struct access are no longer available without defining GB_INTERNAL. The SDL port uses the new “public” APIs, as well as most of the non-debug Cocoa code. Lior Halphon 2017-04-17 20:16:17 +0300
  • 0b1e2784cd Fixed saves and save states not working correctly on Windows Lior Halphon 2017-03-24 14:39:39 +0300
  • 4bf391b1c8 SCX now effects Mode 3’s length. Fixes hblank_ly_scx_timing-GS Lior Halphon 2017-02-25 23:30:31 +0200
  • 55e54d9499 Refinements to DMG STAT write interrupt bug. Fixes stat_irq_blocking on DMG. Lior Halphon 2017-02-25 21:56:46 +0200
  • 2c1d2571d3 More false positive fixes Lior Halphon 2017-02-25 16:06:38 +0200
  • dbd04f09e8 HBlank HDMA should start instantly when starting during HBlank. Fixes 3-D Ultra Pinball. Lior Halphon 2017-02-25 15:42:26 +0200
  • 9fbcce689c False positive stack overflow detection Lior Halphon 2017-02-24 23:00:10 +0200
  • ce05b5f7f0 Added the faster but unportable native_release configuration Lior Halphon 2017-02-24 18:35:31 +0200
  • 371b575d2e Added information to stack overflow detection in the automatic tester Lior Halphon 2017-02-24 18:25:27 +0200
  • c116c70bfa Better GUI for user errors/warnings in Cocoa Lior Halphon 2017-02-24 18:15:31 +0200
  • 724153e5ef Minimal attempt to be compatible with ROMs without correct headers Lior Halphon 2017-02-24 15:14:47 +0200
  • 3d99773ddb Changed how the Cocoa port initializes GB_gameboy_t Lior Halphon 2017-02-24 15:14:00 +0200
  • 39253bec80 Yet-another-false-positive automation fix Lior Halphon 2017-02-24 01:19:44 +0200
  • 319857db89 Fixed window behavior Lior Halphon 2017-02-24 00:59:07 +0200
  • a420cfd798 HUC1’s RAM Enable only controls writing Lior Halphon 2017-02-23 00:27:08 +0200
  • c5ce14dad1 Prevent Hblank HDMAs when the LCD is off Lior Halphon 2017-02-21 22:33:09 +0200
  • f4a364c3db It seems like STAT’s LYC flag should be on while the screen is off. Lior Halphon 2017-02-21 21:31:52 +0200
  • fed3b4f9cd Symbolicate LDH instructions Lior Halphon 2017-02-21 21:31:22 +0200
  • aca7687edd Fixed a bug where LYC would be compared to the wrong value in the first cycle of a frame Lior Halphon 2017-02-20 22:52:34 +0200
  • b0dfb8c5ac Added built-in IO-Register symbols Lior Halphon 2017-02-20 14:37:15 +0200
  • 91513ced22 Minor adjustment to LCD timing after enabling it. Lior Halphon 2017-02-20 14:20:45 +0200
  • 399e88d5fe STAT timing and LCD interrupts rewritten, should be more accurate. Lior Halphon 2017-02-19 02:22:50 +0200
  • 74d00b84b7 Treat STOP as a 2-byte instruction Lior Halphon 2017-02-17 00:21:02 +0200
  • 6b1363e96e Fixed: Writing to 3XXX in MBC5 before writing to 2XXX no longer switches to the wrong bank. Lior Halphon 2017-02-16 23:13:55 +0200
  • 421d3b27f5 Correct emulation of HUC1 banks higher than 0x1F Lior Halphon 2017-02-16 21:07:35 +0200
  • 10ab2b4fe0 Fixed typo in the disassembler. Lior Halphon 2017-02-16 20:51:32 +0200
  • 86837761fa Improved compatibility with SameBoy's boot ROM by removing the RAM bank switch (The original boot ROM does that for no reason, but eventually switches back to bank 1) Lior Halphon 2017-02-15 22:37:43 +0200
  • 3fbc2c5716 DI should not be delayed. Lior Halphon 2017-02-15 19:04:53 +0200
  • 4b6fda0cb6 Simplified HDMA and fixed the reading of the HDMA5 register Lior Halphon 2017-02-08 21:58:15 +0200
  • d5c9a52337 Fixed: HDMA registers were not being updated during transfer Lior Halphon 2017-02-07 00:24:26 +0200
  • 7ee96766b6 Updated documents to refer to the new website Lior Halphon 2017-02-05 21:50:46 +0200
  • cfe0e55df8 Updated change log and incremented version to 0.8 Lior Halphon 2017-02-05 21:13:42 +0200
  • a17213d89c Fixed SDL compilation on macOS Sierra Lior Halphon 2017-02-04 19:00:48 +0200
  • eed8a06fc0 Several fixes to the help command Lior Halphon 2017-02-04 19:00:31 +0200
  • 57c73c8a51 Fixed the help command for the disassemble command Lior Halphon 2017-02-04 17:49:22 +0200
  • 6f94664428 Close Open Panels if a document is opened via other means Lior Halphon 2017-01-24 23:10:50 +0200
  • a5f72627fe Cocoa key bindings now based on key codes Lior Halphon 2017-01-24 21:00:56 +0200
  • 9779635c34 Added NSSupportsAutomaticGraphicsSwitching to Cocoa's Info.plist Lior Halphon 2017-01-22 22:25:15 +0200
  • 7a9377de34 Fixed compilation issues under more recent Xcode versions Lior Halphon 2017-01-22 21:53:52 +0200