Commit Graph

43 Commits

Author SHA1 Message Date
feos
0c45a8a8ab
use UNLIKELY() macro (#554) 2024-04-20 20:16:54 +02:00
ekeeke
6972a5b0d6 [Core/VDP] improved FIFO emulation (fixes lockup in Shin Souseiki Ragnacenty (Japan) and other potential lockup when switching between H32 & H40 mode during active display) 2024-03-06 09:18:43 +01:00
ekeeke
8c72ba0d45 [Core/VDP] improved DMA fill timing accuracy (again) 2024-03-02 08:42:03 +01:00
ekeeke
5af254cd23 [Core/VDP] reverted stupid DMA fill timing modification introduced in 9a0a1c2922 (fixes DMA fill regression) 2024-03-02 08:12:00 +01:00
ekeeke
ed7988f8ca [Core/MD] added emulation of Z80 halt when accessing 68k bus during DMA from 68k bus 2024-02-23 15:40:42 +01:00
ekeeke
9a0a1c2922 [Core/VDP] improved accuracy of DMA to CRAM/VSRAM (verified on real hardware by Mask of Destiny) and DMA Fill timings 2024-02-23 14:48:00 +01:00
ekeeke
5f2f0ce89f [Core/VDP] improved VINT timing accuracy in H32 mode (verified on real hardware by Nemesis) 2024-02-23 14:08:57 +01:00
ekeeke
0ca78b897e |Core/VDP] fixed inverted H32 & H40 modes HBLANK flag timings 2024-02-23 13:48:19 +01:00
ekeeke
c04a9426b7 [Core/VDP] reverted FIFO access timings hack when using invalid write code value 2024-02-23 11:19:43 +01:00
ekeeke
a2380d84e0 [Core/VDP] fixed address/code potential corruption by one-instruction execution delay after HV interrupts activation (fixes #477) 2023-01-13 14:00:27 +01:00
ekeeke
1925efe4d7 [Core/VDP] improved HBLANK flag timing accuracy (fixes #470) 2022-11-26 16:48:22 +01:00
ekeeke
6ec9ac2729 [Core/SG] added SG-1000 II hardware with 8KB RAM extension adapter in selectable hardware models (fixes #437) 2022-10-29 13:51:34 +02:00
ekeeke
dded47d5e7 [Core/VDP] added support for background color changes during HBLANK when display is disabled (fixes #462) 2022-09-19 14:11:16 +02:00
Kiri
e5f77f14b9
Enchanced per-tile vertical scroll (#453)
* Enchanced per-tile vertical scroll implementation

* Comment cleanup
2022-08-13 08:11:41 +02:00
vadosnaprimer
d1e7cd6bea add CPU hooking functionality
can be used by a frontend to implement breakpoints or tracelogging
currently hooked: M68K executing/reading/writing, VDP reading/writing (only for MegaDrive)
2019-04-21 20:35:38 +03:00
EkeEke
94103569ff [Core/VDP] allow active screen width to be modified during first two lines (Bugs Bunny in Double Trouble) 2017-09-20 16:45:50 +02:00
EkeEke
527fd6ecd8 [Core/VDP] improved VDP status read timing accuracy (fixes 'Marvel Land' demo mode) 2017-09-20 10:53:08 +02:00
EkeEke
147ad71a3c [Core/VDP] fixed FIFO timings when switching H32/H40 mode while display is active 2017-07-15 13:03:58 +02:00
EkeEke
4017d379e6 [Core/VDP] improved DMA timing accuracy during blanking (verified on real hardware by Mask of Destiny) 2017-06-24 15:59:44 +02:00
EkeEke
38ffc317cb [Core/VDP] improved FIFO emulation accuracy 2017-06-05 23:52:03 +02:00
ekeeke
7c7332b7b7 Fixed comments alignment 2017-03-21 14:01:14 +01:00
Alberto Fustinoni
fb7a085994 VS compatibility edits 2017-03-21 10:52:23 +09:00
Sérgio Benjamim
641fb280bc Revert "Adding ToadKing copyrights on changed files"
This reverts commit b0ee59c26f, this was not in Twinaphex fork.
2017-02-12 16:41:12 -02:00
twinaphex
b0ee59c26f Adding ToadKing copyrights on changed files 2016-10-15 13:33:10 +02:00
Toad King
64ee605076 emscripten does not guarantee byte arrays to be aligned on word boundaries, specify alignment for them 2016-09-11 15:55:39 -05:00
EkeEke
9365ac2b55 [Core/VDP] improved VDP status timing accuracy 2016-05-01 20:21:45 +02:00
EkeEke
381a9d114f [Core/VDP] fixed issues caused by screen width change during active display (Golden Axe 3 intro, Ultraverse Prime) 2016-05-01 20:10:37 +02:00
EkeEke
f49980abed [Core/VDP] fixed spurious 8K-16K VRAM switching when reloading SG-1000 context + minor optimizations 2016-02-28 22:42:19 +01:00
EkeEke
e8b72612b4 [Core/VDP] confirmed register $0A default state on reset 2015-08-26 23:29:43 +02:00
EkeEke
51b4472d91 [Core/VDP] fixed FIFO emulation for 32-bit (longwords) access to VDP (Sonic Spinball) 2015-03-15 22:47:45 +01:00
EkeEke
ec554b4b70 [Core/General] rewrote frame emulation timing, now starts with vertical blanking to reduce input lag by one more frame (warning: this breaks compatibility with previous savestates) 2014-12-14 17:10:15 +01:00
EkeEke
10e5a924df [Core/MS] improved Z80 address decoding on Japanese Master System I/O chip (315-5297)
[Core/GG] modified VDP register 10 state on reset (fixes Terminator 2: Judgment Day)
[Core/SG] added support for SG-1000 II clone hardware (2KB RAM + integrated VDP/PSG chip 315-5066)
2014-03-02 16:07:08 +01:00
EkeEke
41b25d3580 [Core/VDP] added some precision in comments about delay on invalid VRAM writes 2013-10-28 22:06:28 +01:00
EkeEke
a777f6c9be [Core/VDP] added some 68k cycles delay on invalid VRAM writes to simulate periodical 68k wait-states (fixes "Microcosm" intro loop) 2013-10-21 00:32:39 +02:00
EkeEke
e14330e01c [Core/VDP] improved accuracy of DMA Copy/Fill & added support for CRAM/VSRAM Fill (verified on real hardware) 2013-10-20 23:58:15 +02:00
EkeEke
8a813b0ecb [Core/VDP] implemented proper FIFO ring-buffer & unused bits behavior on CRAM/VSRAM reads (verified on real hardware) 2013-10-20 23:48:36 +02:00
EkeEke
5d67b14cea [Core/VDP] fixed V28/V30 mode switching during active display (verified on real hardware) 2013-10-20 23:40:00 +02:00
EkeEke
42ea79cf73 [Core/VDP] improved Mode 5 sprites rendering (fixes "Overdrive" demo) 2013-10-20 20:53:33 +02:00
EkeEke
cbf8f4ed2a [Core/VDP] improved FIFO timings accuracy (fixes "Overdrive" Demo) 2013-10-20 20:41:44 +02:00
EkeEke
5ee0d975dd [Core/VDP] minor code cleanup 2013-06-30 13:08:44 +02:00
EkeEke
75ac3317ed [Core/Input] cleaner fix for lightgun emulation when HVC latch is disabled
(better not make VDP core hackish)
2013-06-30 13:06:04 +02:00
EkeEke
49d22ce6ed [Core/VDP] improved HVC latch behavior when not locked in hardware but forced for gun emulation ("Gunfight - 3 in 1" randomization issues when Justifier is enabled) 2013-06-27 23:32:27 +02:00
EkeEke
aede1b9299 rearranged core & back-end specific code (part 2) 2013-06-17 22:31:31 +02:00