Commit Graph

22 Commits

Author SHA1 Message Date
paulb-nl
4f937979ec Add option for extra sprites
Maximum of 6 extra sprites per line
Extra sprites are fetched during mode2 to not break mode3 timing
2025-06-21 18:32:00 +02:00
paulb-nl
d11c2bdd3b OAM: Change data bus to 16bit
-Add shared buffers for X/Y and Tile index/attributes
-X/Y buffers during mode2 are not updated when OAM dma is active
(Needed for strikethrough.gb test glitch)
2025-06-21 16:08:34 +02:00
paulb-nl
44b75407f9 Updates from main branch
Video: Background fetching changes for accurate Window glitches
GBC: WRAM bank should not read 1 when set to 0.
Fix Rom mask for non power of 2 sizes (GBVideoPlayer)
2024-06-16 17:10:50 +02:00
paulb-nl
e387e70ef2 Updates from main branch
RTC fixes
Implement KEY0 and OPRI registers
HDMA fixes
Megaduck audio fixes
Bootrom updates (GBA/Fastboot)
2024-06-16 15:59:08 +02:00
paulb-nl
e140e715d5 Updates from main branch
* GBA mode
* Megaduck
* Rumble
* Window start fixes (Ant Soldiers, Mealybug tests)
* Custom boot roms
2022-08-06 21:32:36 +02:00
paulb-nl
bc82226ff4 Add option for Super GameBoy+GBC 2021-05-28 13:07:43 +02:00
paulb-nl
5824708107 PPU: adjust Vblank interrupt (Fix Altered Space glitches on DMG) 2021-04-11 15:53:21 +02:00
paulb-nl
34cdb50911 PPU: Timing fixes to pass Mooneye/Wilbertpol PPU tests 2021-03-16 13:23:23 +01:00
RobertPeip
b5e8f6e117 fix all hwio registers and readback for cgb, some for dmg (#142)
* fix all hwio registers and readback for cgb, some for dmg

* add joypad register initial values for SGB

* add sameboy SGB Bootrom to be loaded when SGB is selected

* (from paulb-nl)
SGB: Fix for SGB bios unused commands
savestate/reset: corrected startup values for Video3 group
2021-02-02 23:12:40 +08:00
Alexey Melnikov
0c1cf87cec Merge pull request #128 from paulb-nl/stat_irq
STAT IRQ bug, fine X scroll, IRQ edge case
2021-01-07 04:29:50 +08:00
paulb-nl
0355ecb458 STAT IRQ bug and fine X scroll improvement 2021-01-06 11:54:48 +01:00
RobertPeip
31563c2ef6 improved rewind capture performance (#127)
fixed random fastforward crash
fixed fastforward Video glitches(HDMA)
added fastforward toggle (short button press)
added savestate OSD entry and multiple slots using keyboard(F1-F4)
add MBC detection and address translation to simulation
2021-01-06 15:33:24 +08:00
RobertPeip
ca8b55dfb3 added savestates and rewind feature (#123) 2020-12-29 23:38:30 +08:00
paulb-nl
c26731fcab Interrupt fixes (Pinball Fantasies)
- CPU: Acknowledge IRQ between high & low byte stack push
  (ie_push, Pinball Fantasies)

- CPU: Remove delay from INT_n signal, tweak STAT IRQs.
  (hblank_ly_scx_timing, intr_2_0)
2020-12-22 13:23:42 +08:00
Robert Peip
0cf89076ad rearranged code to meet Verilog/VHDL standards
add testbench
2020-12-15 15:23:28 +01:00
paulb-nl
45679e5068 Pass some more PPU tests
Mooneye intr_2_mode0, intr_2_mode3, intr_2_oam_ok, vblank_stat_intr
2020-12-15 00:24:46 +01:00
paulb-nl
fd0f6ce5c5 Fix Elevator Action line glitch 2020-12-13 16:19:23 +01:00
paulb-nl
7fff2e2d36 Output blank image when LCD is off
The screen stays blank until 1 frame after the LCD is turned on.
Fixes glitches during transitions in some games.
2020-12-03 01:04:25 +01:00
paulb-nl
5fd81a5ae0 Video: Window fixes for WX=A6, no sprite fetching if sprites are disabled on DMG
* Video: Window fixes for WX=A6

* Video: no sprite fetching if sprites are disabled on DMG
2020-11-27 00:59:29 +08:00
paulb-nl
4a40a8b39f PPU: fix tilemap address, SGB: Detect corrupt packet. Fix ATTR_CHR end (#91)
* PPU: fix tilemap address

* SGB: Detect corrupt packet. Fix ATTR_CHR end

Fixes Castlevania Legends and Donkey Kong score card glitch.
2020-06-27 22:09:51 +08:00
paulb-nl
3fb6405ff0 PPU timing rework 2020-06-22 11:05:08 +02:00
sorgelig
d714b89453 Update sys. Re-organizing the sources. 2020-05-10 23:22:32 +08:00