Commit Graph

32 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
d001d4350b GBC bootrom is also disabled with bit 0 only 2025-06-21 15:45:56 +02:00
paulb-nl
beacf008b3 Add option to remove audio pops
Some audio can be inaccurate with this option enabled.
2024-09-16 15:59:30 +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
4bfe4583cd Fixes for separate WRAM bus on GBC (Aladdin) 2021-11-21 19:20:18 +01:00
paulb-nl
4ce2e405a1 Rework cartridge bus & add open bus behavior
Fix freezes in Tokyo Disneyland - Fantasy Tour (Minnie's house) &
Daiku no Gen-san - Kachikachi no Tonkachi ga Kachi (Stage 1-4)
2021-11-07 18:41:52 +01:00
paulb-nl
731c4759dc 2p Sachen & Rocket mappers (#180)
* Add Rocket mapper

* Bootrom: Adjust Logo write to VRAM

Sachen verifies part of the logo in VRAM

* Add Sachen mapper
2021-10-07 13:08:29 +08:00
paulb-nl
bc82226ff4 Add option for Super GameBoy+GBC 2021-05-28 13:07:43 +02:00
Robert Peip
cc8e809cfd new multislot savestate handling with gamepad support 2021-04-16 08:45:26 +02:00
paulb-nl
611a58dcd2 CPU: Write on cycle T2&T3. (Fix Conker Pocket Tales glitches) 2021-04-11 15:50:47 +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
Robert Peip
f702d5486b fix MBC bank select and ram write disable, fix fastforward with OAM DMA 2021-01-28 16:12:34 +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
RobertPeip
65d6e59cc2 redone fastforward and pause handling to fix sdram access and refresh bugs and increase fastforward speed, some fixes to simulation 2020-12-19 19:28:19 +08:00
Robert Peip
2d965da323 add fastforward and OSD-Pause feature 2020-12-15 15:24:33 +01:00
Robert Peip
0cf89076ad rearranged code to meet Verilog/VHDL standards
add testbench
2020-12-15 15:23:28 +01:00
paulb-nl
f89cc5c0bb Fix Serial Link
There was a typo in link.v preventing internal clock from working
properly
2020-12-15 00:34:10 +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
Bruno Gouveia
a9aea62f1e SOUND: widened s1_addr to handle PCM12/PCM34 2020-07-24 15:14:00 +01:00
Bruno Gouveia
0b796adc3e GENERAL: sync start with ~4MHz clock 2020-07-24 15:13:47 +01:00
Bruno Duarte Gouveia
bef6804c21 SOUND: multiple Wave channel fixes and GB/GBC behavior
* SOUND: channel 3 read dependent on current wave index

* SOUND: maintain wave_trigger high for longer, passes blargg sound test 9 for gbc, added is_gbc input to gbc_snd

* SOUND: added wave table access timewindow in DMG mode, outside of it the read returns 0xFF when the sound is playing

* gbc_snd.vhd whitespaces cleanup

* SOUND: refactored write process to handle reset and specific DMG behaviour (length counter writable when APU is off)
SOUND: initialized wavetable with known values, fixes aladdin and R-type now behaves the same as real hardware

* SOUND: refactored sound processing vhdl process
SOUND: sq1 and sq2 duty cycles are not accessible when the APU is off in DMG mode(only the length counters)
2020-07-06 03:53:30 +08:00
paulb-nl
c95d2f5836 Super Game Boy multiplayer support 2020-06-24 07:22:46 +08:00
sorgelig
a974e957d2 Merge branch 'master' of https://github.com/MiSTer-devel/Gameboy_MiSTer 2020-06-22 17:34:40 +08:00
paulb-nl
3fb6405ff0 PPU timing rework 2020-06-22 11:05:08 +02:00
paulb-nl
7b44195b09 RAM and HDMA fixes
-Writing to $FE00-FEFF would overwrite IRAM (Megaman Xtreme)
-HDMA should remember last source and target (Harry potter)
-Stopping a HDMA transfer with CPU at single speed would stop and
 then start a new transfer (Pokemon Crystal)
-Give IRAM time to provide valid data at the start and end of HDMA
 transfer (Donkey Kong Country fishing, Pokemon Crystal)
2020-06-21 21:46:08 +02:00
sorgelig
a441996b81 Option to disable link. Super gameboy mode disable by default. 2020-05-14 01:14:16 +08:00
sorgelig
d714b89453 Update sys. Re-organizing the sources. 2020-05-10 23:22:32 +08:00