summaryrefslogtreecommitdiff
path: root/vdp.c
AgeCommit message (Collapse)Author
2017-03-18Remove hacky post-DMA delay add proper pre-DMA delay based on logic analyzer ↵Michael Pavone
capture. 512 color screen is a bit messed up but mostly works. Needs investigation
2017-03-13Fix VDP buffer overrun that was causing sprite flickering in some gamesMichael Pavone
2017-03-09Fix graphical corruption and sprite flickering introduced into some games by ↵Michael Pavone
the last change for horizontal border support
2017-03-07Fill in the rest of the framebuffer holes created by horizontal border. Work ↵Michael Pavone
remains for things to be seemless when display gets turned on and off mid frame
2017-03-07Fix some of the framebuffer fill holes introduced by horizontal border changesMichael Pavone
2017-03-06Adjust correspondance between slot number and actual video output to better ↵Michael Pavone
match video signal measurements and analysis of Outrunners behavior on hardware. Partially fixes ticket:13
2017-03-06Render horizontal border in H32 mode as well. Both modes still need some ↵Michael Pavone
minor work to deal with inactive/active transition
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-24Remove accidentally committed debug loggingMichael Pavone
2017-01-22Force IPV4 for GDB remote debugging on Windows. Bind to localhost instead of ↵Michael Pavone
unspecified address since listening on external ports probably isn't a good idea in the general case
2017-01-19Fix border rendering at end of line 1FE. vdp_inactive will probably need a ↵Michael Pavone
small fixup for the edge case when we start between when the vcounter is incremented and the line is truly finished.
2017-01-18CRAM contention artifact emulationMichael Pavone
2017-01-17Undo poorly thought out minor optimization that screwed up renderingMichael Pavone
2017-01-17Fix vdp_run_to_vblankMichael Pavone
2017-01-17Disable timing debugMichael Pavone
2017-01-17Fix line advancement in Mode 4 during inactive display. Fix a Mode 4 VInt ↵Michael Pavone
timing discrepency
2017-01-17Fix H40 VInt inconsistencyMichael Pavone
2017-01-16Fix H32 VInt timing inconsistencyMichael Pavone
2017-01-16Fix H32 inconsistencyMichael Pavone
2017-01-16Added synthetic test for tracking down interrupt timing issuesMichael Pavone
2017-01-16Fix some timing inconsistencies in H40 mode. Added some ifdefed timing debug ↵Michael Pavone
code.
2017-01-15Don't adjust cycles every frame. Only when we start getting close to ↵Michael Pavone
UINT_MAX. Don't adjust all the way down to zero when we do adjust. Shouldn't fix anything, but may make debugging current issues easier.
2017-01-15Rework how inactive lines are handled. Fix H40 cycle increment in slot 182Michael Pavone
2017-01-15Fix benchmark modeMichael Pavone
2017-01-15Initial work on emulating top and bottom border areaMichael Pavone
2017-01-09Fix disagreement on line change location between vdp_h32_mode4 and ↵Michael Pavone
vdp_run_context that was causing the first line to be garbage in some cases
2017-01-08A bunch of Mode 4 fixesMichael Pavone
2017-01-08Update H32 and Mode 4 mappings based on latest testsMichael Pavone
2017-01-06Fix H40 slot mapping to better match old VRAM bus captures and adjust for ↵Michael Pavone
recent VCounter measurements
2017-01-05Clear sprite overflow flag when control port read. Fix vcounter progression ↵Michael Pavone
in Mode 4
2017-01-05Fix Mode 4 sprite collision flagMichael Pavone
2017-01-05Implemented Mode 4 H conter latchingMichael Pavone
2017-01-05BlastEm now passes all of the tests on the first page of "Megadrive VDP ↵Michael Pavone
Test" in VDPTEST.sms
2017-01-04Fix to pass a couple more tests in VDPTEST.smsMichael Pavone
2017-01-04Fix some issues with VDP interface in Mode 4/PBC modeMichael Pavone
2017-01-04Display both byte and word pending values to better reflect VDP pending ↵Michael Pavone
state in PBC mode
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-02Fix Mode 4 sprite table Y scan to account for VRAM byte swappingMichael Pavone
2017-01-01Fix slot tracking screwupMichael Pavone
2017-01-01Fix horizontal scrolling in Mode 4Michael Pavone
2017-01-01Update Mode 4 rendering to match logic analyzer capturesMichael Pavone
2017-01-01Fix a bug in hslot advancement in Mode 4. Fix some of the "inactive_start" ↵Michael Pavone
calculations that did not take into account Mode 4.
2017-01-01Make Mode 4 sprite rendering a little less brokenMichael Pavone
2017-01-01Fix rendering of BG color index 0 in Mode 4. Only transparent with respect ↵Michael Pavone
to sprites and not the backdrop like in Mode 5
2016-12-27Fix Mode 4 color mappingMichael Pavone
2016-12-27Brighten up Mode 4 colorsMichael Pavone
2016-12-27The function of the HVC Latch enable bit in mode register 1 is different ↵Michael Pavone
when not in mode 5
2016-12-27Fix inactive start line for Mode 4 in vdp_next_hint. Fix an off by one error ↵Michael Pavone
in the range of registers allowed to be written in Mode 4
2016-12-27Implemented Mode 4 sprite list terminationMichael Pavone
2016-12-27Less broken Mode 4 implementationMichael Pavone