summaryrefslogtreecommitdiff
path: root/vdp.c
AgeCommit message (Collapse)Author
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
2014-06-16Fix a few values reported by the vr debugger command. Add DMA registers to ↵Michael Pavone
vr debugger command. Fix horizontal interrupt bug. Slightly more accurate (but still broken) handling of switches between H32 and H40 modes.
2014-02-08Initial GDB remote debugging support. Lacks some features, but breakpoints ↵Mike Pavone
and basic inspection of registers and memory work.
2014-01-06The local clone on my laptop got messed up and some changes had not been ↵Michael Pavone
pushed. This commit represents the status of the working copy from that clone. It unfortunately contains some changes that I did not intend to commit yet, but this seems like the best option at the moment.
2013-10-31Small optimization for H40 modeMike Pavone
2013-10-29MergeMike Pavone
2013-10-27Basic OpenGL rendering is workingMike Pavone
--HG-- branch : opengl
2013-10-07Initial implementation of sprite overflow and sprite collision status ↵Mike Pavone
register flags
2013-09-17Set VBLANK flag in status register when display is disabledMike Pavone
2013-09-17Implement HV counter latchMike Pavone
2013-09-17Implement funny behavior for DMA fill to CRAM and VSRAM. Return VSRAM ↵Mike Pavone
address 0 for reads to VSRAM at >= 40
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-16Partial fix for DMA copyMike Pavone
2013-09-15Clear the low 2 bits of CD when a register is written toMike Pavone
2013-09-15Don't allow register writes to regs above when in Mode 4Mike Pavone
2013-09-15Remove read pending stuff, that had been added in an attempt to fix ↵Mike Pavone
CRAM/VSRAM undefined bit results. Set number of bits actually saved in VSRAM to 11
2013-09-15Implement undocumented 8-bit VRAM readMike Pavone
2013-09-15Fix VSRAM readsMike Pavone
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-10Fix timing of backdrop rendering when the display is turned offMike Pavone
2013-09-10MergeMike Pavone
2013-09-10Implement FIFO latency and improve DMA accuracyMike Pavone
2013-09-08Revert change to VBLANK flag timing based on new direct color DMA testMike Pavone
2013-09-02Fix per-column scrolling bugMike Pavone
2013-09-02Adjust VBLANK flag and refresh timing to be in line with logic analyzer and ↵Mike Pavone
visual observations of direct color DMA demos. Remove debug print statements.
2013-09-01MergeMike Pavone
2013-09-01Fix bug that caused a DMA fill to start after another DMA operation ↵Mike Pavone
completed if the FIFO is not empty
2013-07-26Added support for saving savestates. Added gst savestate format test harnessMike Pavone
2013-07-16Add address/cd registers to VDP debug messageMike Pavone
2013-07-15Restore one of the VDP debugging modesMike Pavone
2013-07-12Implement the scroll ring buffer properly without memcpyMike Pavone
2013-06-30Refactor duplicated CRAM writing code and fix a bug in the processMike 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-23Fix window layer in double res interlace modeMike Pavone
2013-06-23Fix sprite y mask in interlace mode. Fix framebuffer selection when ↵Mike Pavone
switching out of interlace mode.
2013-06-23Fix vscroll calculation in double resultion interlace modeMike Pavone
2013-06-22Initial work on interlaceMike Pavone
2013-05-15Fix background color regsiter numberMike Pavone
2013-05-14Only latch video mode at the very beginning of the frame to avoid problems ↵Mike Pavone
with the cycle count getting out of sync with what I expect
2013-05-14Update Z80 vint timingMike Pavone
2013-05-14Update hv counter calculation for clock wonkinessMike Pavone
2013-05-14Fixup VINT cycle and HBLANK flag for the previous timing fixesMike Pavone
2013-05-13Initial stab at implementing funky clock adjustments during HSYNC for H40 modeMike Pavone
2013-05-13Implement first line/last line weirdness in VDPMike Pavone
2013-05-13Fewer magic numbers in the VDP core for the winMike Pavone
2013-05-13Added some basic VDP debugging features to debugger. Fixed DMA enable bugMike Pavone