mirror of
https://github.com/MiSTer-devel/PCXT_MiSTer.git
synced 2026-04-19 03:04:47 +00:00
- Add std_hsyncwidth and vblank_border outputs to HGC module for border detection - Connect CRTC hsync_width register (R3) to enable dynamic sync width detection - Update HGC H_SYNCWIDTH to standard value (4'd15) per Hercules specifications - Extend Peripherals.sv to multiplex HGC timing signals with CGA - Fix critical bug: HBlank_fixed was calculated only in CGA clock domain In HGC mode, it was desynchronized, causing shifted display instead of proper border - Add HBlank_fixed_hgc calculated on clk_57_272 (HGC clock) for correct timing - Update LHBL logic to use appropriate HBlank_fixed for each video mode - Border now properly reduces visible area in HGC mode with correct synchronization