Commit Graph

  • e380a00b67 Fixed another timing regression with the CB opcodes Lior Halphon 2018-03-29 21:06:53 +03:00
  • b89c93a624 Merge pull request #53 from kylophone/fix_typo Lior Halphon 2018-03-29 10:56:54 +03:00
  • 7ffe132e79 fix typo Kyle Swanson 2018-03-28 21:38:48 -07:00
  • 7bfe5de9c7 chmod -x Kyle Swanson 2018-03-28 21:37:34 -07:00
  • 96063fb0da Fixed Windows build, added Unicode support in Windows. Lior Halphon 2018-03-28 21:59:27 +03:00
  • 4cf78139a8 Fixed a bug where SameBoy freezes for a while after leaving turbo mode Lior Halphon 2018-03-27 23:33:31 +03:00
  • fd2e169dc9 Seems like the audio bug introduced in SDL 2.0.5 for macOS wasn’t fixed. Lior Halphon 2018-03-27 23:05:08 +03:00
  • 0e3d2770d9 Properly handle cases where an object’s X position is modified between the OAM mode and rendering mode Lior Halphon 2018-03-27 22:13:08 +03:00
  • 0912a30bb9 Fixed a regression in dmg_sound-2 Lior Halphon 2018-03-27 21:04:55 +03:00
  • f5493e023d Fixed a timing regression in the CB opcodes Lior Halphon 2018-03-27 20:21:24 +03:00
  • 7671648fca Simplified a function Lior Halphon 2018-03-27 19:06:36 +03:00
  • 7543461c24 Increasing PC in OAM triggers the OAM bug Lior Halphon 2018-03-27 16:36:39 +03:00
  • 4cbade9a88 Function name change Lior Halphon 2018-03-27 15:55:12 +03:00
  • 4986930511 Mostly complete emulation of the OAM bug. Passes oam_bug-2. Lior Halphon 2018-03-27 15:46:00 +03:00
  • 9093f22293 More accurate emulation of the OAM bug Lior Halphon 2018-03-24 14:46:51 +03:00
  • 5cb74fb684 Bugfix: turning the PPU off during OAM mode made the OAM bug persist while the LCD is off Lior Halphon 2018-03-24 02:58:37 +03:00
  • d343152fca Basic emulation of the OAM bug Lior Halphon 2018-03-24 00:32:19 +03:00
  • f8c6b9e7a0 Fixed the lcd command Lior Halphon 2018-03-23 21:26:49 +03:00
  • 4e3928df81 Turns out the behavior differs between DMG and CGB – in DMG mode, the objects enabled bit is checked before halting the FIFOs, meaning that disabled sprites do not affect Mode 3’s length on the DMG. Lior Halphon 2018-03-23 20:01:27 +03:00
  • 48a8db233d Refinement to the last fix Lior Halphon 2018-03-23 19:54:11 +03:00
  • e9eeace995 The object enabled bit is checked only when popping from the object FIFO. Objects affect timing even when disabled. Lior Halphon 2018-03-23 19:50:19 +03:00
  • 04bfc89816 Cycle accurate OAM search mode Lior Halphon 2018-03-23 19:07:14 +03:00
  • c11af7ea26 Fix CGB timings Lior Halphon 2018-03-23 12:58:51 +03:00
  • 3e5e17d1a3 Fixed CB [hl] opcodes timings Lior Halphon 2018-03-23 12:35:37 +03:00
  • 18e32d1755 Merge branch 'master' into timing Lior Halphon 2018-03-22 22:37:35 +02:00
  • 2a5407cf70 Fix libretro build on master Lior Halphon 2018-03-22 20:22:09 +02:00
  • 577e23925b Fixed sources-dmgABCXmgbS Lior Halphon 2018-03-22 20:09:01 +02:00
  • 6176befecb Merge pull request #50 from libretro/master Lior Halphon 2018-03-22 14:47:19 +02:00
  • f050457976 fix error in savestate code radius 2018-03-22 00:20:51 -05:00
  • 337617afbb change sameboy emulated model selection to apply on restart (because otherwise it may crash due the change on savestate size with rewind enabled) radius 2018-03-22 00:00:03 -05:00
  • e9f243a913 Fix sprite priority Lior Halphon 2018-03-21 00:02:35 +02:00
  • cb33a5b25a Fix Aevilla Lior Halphon 2018-03-19 23:49:53 +02:00
  • 007765daa6 refine variables, add comments radius 2018-03-08 14:45:58 -05:00
  • b1ea7c5f06 handle saving for GB2 in single cart mode radius 2018-03-08 12:01:39 -05:00
  • 3b5b400909 implement RTC saves in dual mode, capitalization nitpicking in core opts radius 2018-03-08 10:57:57 -05:00
  • 3883b7d86a Merge branch 'master' into timing Lior Halphon 2018-03-19 23:46:33 +02:00
  • b50c97f4a7 Prevent starting HDMA in the middle of an instruction, making both the CPU and DMA access memory at the same time. Closes #47 Lior Halphon 2018-03-19 20:01:31 +02:00
  • 202eb2b5cc Fix stat_lyc_onoff Lior Halphon 2018-03-18 20:32:19 +02:00
  • 80b1275e07 Fix stat_lyc_onoff Lior Halphon 2018-03-18 20:08:45 +02:00
  • 0dc30f081a CGB halt interrupt timing Lior Halphon 2018-03-17 23:21:14 +02:00
  • 12ae5745db While fixing some rendering issues, this change was incorrect. Lior Halphon 2018-03-17 21:04:48 +02:00
  • 269bac4626 More CGB fixes Lior Halphon 2018-03-17 20:34:55 +02:00
  • 2f1e21dc2d Merge branch 'master' into timing Lior Halphon 2018-03-16 12:18:18 +02:00
  • 8b4714d8e2 Merge pull request #45 from LMLB/patch-1 Lior Halphon 2018-03-16 12:14:32 +02:00
  • c365c450a7 Fix shaders that break with specific pixel factors LMLB 2018-03-11 15:09:30 +01:00
  • 0c80ac3296 Fix shaders that sample at texel edges LMLB 2018-03-11 14:56:15 +01:00
  • 72b824cf1a Update to v106r11 release. Tim Allen 2018-03-14 14:51:35 +11:00
  • 029c685268 Merge pull request #43 from AlvaroBurnett/master Lior Halphon 2018-03-12 23:56:13 +02:00
  • 05ba352f2f Makefile: Find SDL2.dll Alvaro Burnett 2018-03-12 22:38:05 +01:00
  • 21b75494a2 More CGB fixes (currently on DMG-mode CGB is verified). Halt interrupt timing isn’t correct yet. Lior Halphon 2018-03-11 00:17:57 +02:00
  • 15b6c48d7c Fixed vblank_stat_intr-C Lior Halphon 2018-03-10 15:52:22 +02:00
  • c267ad00b5 Goodbye Lior Halphon 2018-03-09 23:34:23 +02:00
  • e8b107efdb In double speed mode, there are no quirks where IF and STAT don’t update together Lior Halphon 2018-03-09 23:31:49 +02:00
  • cb6bb0590e Starting to fix CGB timing quirks Lior Halphon 2018-03-09 21:11:35 +02:00
  • 9083e883fe CGB BG rendering Lior Halphon 2018-03-09 18:52:36 +02:00
  • a32f232bb1 Fixed OAM-window priority glitch, fixed OAM glitch in Prehistoric Man Lior Halphon 2018-03-09 17:10:19 +02:00
  • 1149c266cf More regression fixes, actually fix Pinball Deluxe this time Lior Halphon 2018-03-08 22:11:10 +02:00
  • 2dd35f984d Update to v106r10 release. Tim Allen 2018-03-06 09:42:10 +11:00
  • 544ca2be4c Changing the timings of memory writes so they’re not effectively one T-cycle late. This screws up APU’s cycle accuracy for now. Lior Halphon 2018-03-05 21:17:37 +02:00
  • e216912ca3 Update to v106r09 release. Tim Allen 2018-03-05 15:34:07 +11:00
  • 88a11b891f Object rendering Lior Halphon 2018-03-04 23:27:31 +02:00
  • 3d1c8b50c4 OAM search and OAM timing in mode 3 Lior Halphon 2018-03-04 22:21:56 +02:00
  • 476133abd0 The scrolled y value is cached and not recalculated Lior Halphon 2018-03-03 20:51:38 +02:00
  • 518746f664 fixed rendering off by one Lior Halphon 2018-03-03 19:52:48 +02:00
  • 496c5589e6 Added window support Lior Halphon 2018-03-03 19:36:21 +02:00
  • 5ea33cc931 Cleanup Lior Halphon 2018-03-03 17:22:23 +02:00
  • b08f02c4f3 Rewriting the PPU rendering: T-cycle accurate background rendering. DMG only, CGB completely broken Lior Halphon 2018-03-03 15:47:36 +02:00
  • 487c063d48 Merge branch 'master' into timing Lior Halphon 2018-03-02 19:45:15 +02:00
  • 6e8567eadc Silence some annoying Cocoa warnings, hopefully it won’t affect performance Lior Halphon 2018-03-02 19:42:02 +02:00
  • 3c8f3ad3fc Stop annoying beeps and exceptions Lior Halphon 2018-03-02 19:37:40 +02:00
  • a67db0595b Fixed window behavior Lior Halphon 2018-03-01 22:03:56 +02:00
  • b702d56547 Merge branch 'master' into timing Lior Halphon 2018-03-01 21:22:33 +02:00
  • 94c6dbd281 Fixed ‘call’ instruction not being properly symbolicated. Closes #37 Lior Halphon 2018-03-01 21:12:37 +02:00
  • 7248403be7 Fixed several DMG regressions, fixes Pinball Deluxe again Lior Halphon 2018-03-01 00:12:04 +02:00
  • fb03479a1f Added 16-bit dereferencing operator ({address}) to the debugger. Closes #38 Lior Halphon 2018-02-28 19:39:22 +02:00
  • 58d287da7a Merge pull request #36 from ISSOtm/patch-1 Lior Halphon 2018-02-28 19:24:50 +02:00
  • 980acc3fb8 Make the last option's purpose more explicit Panda Habert 2018-02-26 02:27:50 +01:00
  • b02e40d5a2 Refinement to that last fix Lior Halphon 2018-02-25 23:23:55 +02:00
  • 90a943d05a Emulate an HDMA quirk required to properly emulate Aevilia Lior Halphon 2018-02-25 22:32:41 +02:00
  • ef670986c6 Rewrote PPU (currently only emulates DMG correctly) to use the new timing mechanism. Removed “future interrupts” (No longer required because SameBoy is now T-cycle based) Lior Halphon 2018-02-25 00:48:45 +02:00
  • 42ab746a66 Starting to remove the delayed interrupts hack – done for timer interrupt, broken for display interrupts Lior Halphon 2018-02-23 15:33:44 +02:00
  • c48097a484 Convert div counter to the SM mechanism Lior Halphon 2018-02-23 13:16:05 +02:00
  • a4a3d611a6 The SGB2 timing change is fixed! Tim Allen 2018-02-21 20:58:39 +11:00
  • 5c55cc2c94 Update to v106r08 release. Tim Allen 2018-02-21 20:53:49 +11:00
  • c49d3b2006 Update to v106r07 release. Tim Allen 2018-02-21 11:12:09 +11:00
  • 5974092c94 Bugfix Lior Halphon 2018-02-20 23:04:35 +02:00
  • 56eac9f875 Removed some dead code from display.c Lior Halphon 2018-02-20 21:23:27 +02:00
  • 9802ca41dd Components not affected by CGB’s double speed mode now operate in 8MHz mode to theoretically make advance_cycles(gb, 1) safe. Lior Halphon 2018-02-20 21:17:12 +02:00
  • 058913f8a2 Fixed libretro-Android build Lior Halphon 2018-02-20 19:57:33 +02:00
  • d0202a3f9a Added LCD graphics filter; emulates low-resolution LCD artifacts Lior Halphon 2018-02-17 20:43:48 +02:00
  • f79af39ea2 More accurate emulation of the APU’s analog characteristics Lior Halphon 2018-02-16 18:01:50 +02:00
  • 61091167b8 Disable Windows builds of genius. Tim Allen 2018-02-16 12:53:19 +11:00
  • 610d42d573 Update the docs to describe the new v106r06 firmware import system. Tim Allen 2018-02-16 12:33:32 +11:00
  • f8a6cc2cbd Include icarus firmware with nightly builds. Tim Allen 2018-02-16 12:09:23 +11:00
  • 3a175ad2b0 Update to v106r06 release. Tim Allen 2018-02-16 12:07:49 +11:00
  • fc35111ae7 Corrected the emulated DAC’s range Lior Halphon 2018-02-16 01:26:37 +02:00
  • 0c231db9e7 This is probably not correct (and makes no sense from an hardware design perspective), but this correctly emulates my analog test cases and fixes the pops introduced by the last commit. Lior Halphon 2018-02-13 23:13:15 +02:00
  • bfb37884e1 Inactive channels are not equivalent to channels with 0 volume. Lior Halphon 2018-02-11 22:50:15 +02:00
  • 5e330da4e8 Update to v106r05 release. Tim Allen 2018-02-11 08:45:44 +11:00
  • afcc66fb3c Added CPU under/over-clocking support in Core, add under-clocking hotkey in the Cocoa port, allow modifier keys to be configured as input keys in Cocoa. Lior Halphon 2018-02-10 23:30:30 +02:00