Merge pull request #6419 from pixel-jupiter/tandy-shake

Tandy: Implement CRTC-based display shifting (R2 & R7 registers)
This commit is contained in:
Miran Grča
2025-10-29 18:11:59 +01:00
committed by GitHub
2 changed files with 242 additions and 93 deletions

View File

@@ -33,6 +33,13 @@ typedef struct t1kvid_t {
uint8_t planar_ctrl;
uint8_t lp_strobe;
uint8_t baseline_hsyncpos;
uint8_t baseline_vsyncpos;
bool baseline_ready;
int hsync_offset;
int vsync_offset;
int vsync_offset_pending;
int linepos;
int displine;
int scanline;
@@ -51,6 +58,7 @@ typedef struct t1kvid_t {
uint64_t dispontime;
uint64_t dispofftime;
pc_timer_t timer;
pc_timer_t calib_timer;
int firstline;
int lastline;