summaryrefslogtreecommitdiff
path: root/vdp.h
AgeCommit message (Collapse)Author
2021-02-10Implement serial IO, a generic serial device type and external interruptsMichael Pavone
2020-10-19Add support for the parts of the KMod debug ports used by SGDKMike Pavone
2020-07-11Fix broken enum definitions that cause multiple definition errors when ↵Mike Pavone
building with -fno-common which is now the default in GCC 10
2020-04-29WIP netplay supportMichael Pavone
2020-04-13Don't apply address and cd register changes to the 'live' registers until ↵Michael Pavone
pending flag is cleared, but do preserve the upper address bits in the latch. Fixes regression in Overdrive 2 while preserving fix to Mona in 344 bytes
2020-02-27Make VDP VSRAM capacity respect model selectionMichael Pavone
2019-10-09Hopefully final fix for line advancement/frame end calculationMichael Pavone
2019-09-21Calculate fine scroll once per line for a small speedupMichael Pavone
2019-09-16Don't render lines that are cropped by overscan. Allows submitting frame ↵Mike Pavone
earlier when bottom overscan is non-zero which can reduce latency in some cases
2019-07-28Forgot to commit the header changesMichael Pavone
2019-06-24Fix accuracy bugs used by Novedicus to detect BlastEm/ExodusMichael Pavone
2019-06-20Rework sprite rendering phase 3 to better match behavior documented by ↵Michael Pavone
Kabuto/Titan and fix edge case in sprite overflow flag that was breaking the RPS minigame in Alex Kidd
2019-04-02Separate compositing from final output. Fixes some minor accuracy issues ↵Michael Pavone
with regards to when background color reg/CRAM changes take effect. Fixes minor glitch in DF Retro Direct Color DMA demo at inactive/active transition
2018-12-27Optimized render_map_output a bitMichael Pavone
2018-12-18Allow closing VDP debug windows with the close button in the window title barMichael Pavone
2018-11-19Removed old VDP debug functionalityMichael Pavone
2018-11-19Basic version of layer compositing debug view in a separate windowMichael Pavone
2018-11-16Small cleanup of vdp_context struct layout and removal of separately ↵Michael Pavone
allocated buffers
2018-11-14Initial stab at CRAM debug in a detached windowMichael Pavone
2018-11-04WIP new VDP plane debug view and support for detached VDP debug views generallyMichael Pavone
2018-11-01Forcefully update the display when entering the 68K debugger so you can see ↵Michael Pavone
it update in realtime as you step through the code
2017-08-21Fix timing of VDP ODD flag toggleMichael Pavone
2017-08-09New savestates are working. New config file option for selecting format ↵Michael Pavone
states will be saved in. Mostly complete, needs a little more work before release
2017-08-06WIP - New savestate formatMichael Pavone
2017-06-15Properly release and reacquire framebuffer pointer when switching contexts. ↵Michael Pavone
Hopefully fixes the LOCKRECT issue some people are seeing with the SDL 2 fallback renderer
2017-05-28Implemented SMS pause buttonMichael Pavone
2017-05-23Remove HINT_FUDGE and make a small adjustment to how VDP syncs with rest of ↵Michael Pavone
system instead. Worse results on CRAM dot issue, but much less of a hack
2017-05-04Fix transition from active to inactive displayMichael Pavone
2017-05-03Implement the effect of VDP test register usage on the top and bottom ↵Michael Pavone
borders. Fixes the remaning issue with the border dissolve in the "Ninja Escape" scene of Overdrive 2
2017-04-27Fixes to sprite phase 2 so that sprite X reads use the exact same slot as on ↵Michael Pavone
hardware in the case that there are fewer than the max number of sprites on each line. Re-read sprite Y from SAT cache during phase 2 and properly mask the calculated row. Fixes remaining issues with spinning cube scene in Overdrive 2.
2017-04-26Small tweak to how SAT cache updates are done. Mostly fixes the rotating ↵Michael Pavone
cube scene in Overdrive 2
2017-04-21Fairly major rework of how active/passive is handled along with how the V30 ↵Michael Pavone
mode bit is handled. Allows the vertical border extension trick in Overdrive 2 to work right
2017-04-18Initial stab at implementing the output disable/layer selection bits of the ↵Michael Pavone
VDP test register
2017-04-16Initial work on handling the 128KB VRAM mode bit and some basic prep work ↵Michael Pavone
for VDP test register support
2017-03-06Initial stab at horizontal border emulation. Only works for H40 and still ↵Michael Pavone
has a few minor holes to fill
2017-01-15Initial work on emulating top and bottom border areaMichael Pavone
2017-01-05Implemented Mode 4 H conter latchingMichael Pavone
2017-01-04Don't lock up CPU if performing a read with writes configured when in PBC ↵Michael Pavone
mode. Allow access to VDP debug commands from Z80 debugger in PBC mode. Handle Mode 4 in VDP debug print functions
2017-01-01Update Mode 4 rendering to match logic analyzer capturesMichael Pavone
2016-12-27Somewhat broken implementation of Mode 4Michael Pavone
2016-12-22Initial support for Genesis/Megadrive PBC mode. VDP still needs Mode 4 to be ↵Michael Pavone
useful.
2016-11-28Clean up symbol visiblity and delete a ltitle bit of dead codeMichael Pavone
2016-08-22Cleanup the separation of render backend and VDP code in preparation for ↵Michael Pavone
having extra debug windows. Make determination of H40/H32 based on number of lines in each mode.
2016-05-02Fix GST savestate loading to deal with SAT cache to fix sprite corruption on ↵Michael Pavone
savestate load. Clear out Z80 native_pc so the Z80 state does not get hosed when loading a savestate while the emulator is already running
2016-04-30Implement SAT cache. Causes some graphical corruption in Overdrive due to an ↵Michael Pavone
unrelated bug.
2016-04-24Implemented VDP read prefetch and made DMA copy not use the FIFO any more. ↵Michael Pavone
Now up to 114 out of 122 passing on VDP FIFO Test ROM
2016-04-12Remove the int number argument to vdp_int_ack since it is no longer usedMichael Pavone
2016-01-28Shift slot number to slot behavior mapping by six slots in H40 mode. This ↵Michael Pavone
makes the line change slot align with the point at which the display turns on and off at the end of the active display area. Also fixed a regression in which an external slot got accidentally changed into a sprite draw slot
2015-11-13Selecting a second game from the menu now worksMichael Pavone
2015-05-21Restore the other 2 debug display modesMichael Pavone