summaryrefslogtreecommitdiff
path: root/vdp.h
AgeCommit message (Collapse)Author
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
2015-05-19Small correction to VBLANK flag timing. Fixed some inconsistencies in ↵Michael Pavone
interrupt timing calculation.
2015-05-16First pass at emulating a vscroll latch. Titan's Overdrive demo seems to ↵Michael Pavone
depend on the scroll value being latched early in the line before the HINT gets a chance to change it
2015-05-11Sync fixes and logging to fix more sync issuesMichael Pavone
2015-01-04Some small synchronization improvements that do not seem to fix anythingMichael Pavone
2014-06-18Fix most of the breakage caused by the vcounter/hcounter changesMichael Pavone
2014-06-17Partially working switch to having a vcounter and hslot counter in the ↵Michael Pavone
context rather than trying to derive them from the cycle count. This should allow for more accurate handling of mid screen mode switches. Interrupt timing is broken currently though
2013-10-07Initial implementation of sprite overflow and sprite collision status ↵Mike Pavone
register flags
2013-09-17Implement HV counter latchMike Pavone
2013-09-17Fix DMA fill so that it does not cause observable changes to the FIFO. Get ↵Mike Pavone
DMA copy mostly correct from an observable ffect perspective. DMA copy probably does not reflect internal implementation still given that evidence seems to suggest no FIFO usage at all.
2013-09-15Implement FIFO as a ring buffer so the behavior of reads from invalid CRAM ↵Mike Pavone
and VSRAM bits can be implemented properly
2013-09-13Properly delay 68K on VDP reads. Dummy VDP test port implementation. Initial ↵Mike Pavone
stab at handling undefined bits of VSRAM and CRAM.
2013-09-10Added copyright notice to source files and added GPL license text in COPYINGMike Pavone
2013-09-10Implement FIFO latency and improve DMA accuracyMike Pavone
2013-07-26Added support for saving savestates. Added gst savestate format test harnessMike Pavone
2013-07-15Restore one of the VDP debugging modesMike Pavone
2013-07-12Implement the scroll ring buffer properly without memcpyMike Pavone
2013-06-30Make VDP render in native pixel format of the renderer for a modest ↵Mike Pavone
performance gain and to make it easier to use OpenGL for rendering
2013-06-29Add support for loading GST format savestatesMike Pavone
2013-06-22Initial work on interlaceMike Pavone
2013-05-15Fix background color regsiter numberMike Pavone
2013-05-14Update Z80 vint timingMike Pavone
2013-05-13Added some basic VDP debugging features to debugger. Fixed DMA enable bugMike Pavone
2013-05-11Remove z80_ram reference in SDL renderer to get stateview compiling again. ↵Mike Pavone
Print out the sprite list in stateview.
2013-05-10Initial stab at horizontal interrupts and improving accuracy of vertical ↵Mike Pavone
interrupts. Also added the VINT pending flag to status port.
2013-04-22Implemented shadow hilight mode.Mike Pavone
2013-01-06Fix order of SR and PC saved in an exception stack frameMike Pavone
2013-01-01Make writes to control and data port block when DMA is in progressMike Pavone