Changes

Jump to: navigation, search

CRTC

697 bytes removed, Monday at 04:51
/* HSYNC and VSYNC */
== HSYNC and VSYNC ==
On CPC, HSYNC and VSYNC from the CRTC are passed into to the [[Gate-Array. When HSYNC is active Gate-Array outputs the palette colour black. If the HSYNC is set to 14 characters then black will be output ]] for 14us. The HSYNC is modified before being sent to the monitor. It happens 2us after the HSYNC from the CRTC and lasts 4us when HSYNC length is greater or equal to 6.  If R2=46, and HSYNC width is 14 then monitor hsync starts at 48 and lasts until 51. On a CPC monitor, the HSYNC is rendered in "absolute black". It is darker than the black output by the Gate-Array. The VSYNC is also modified before being sent to the monitor. It happens two lines* after the VSYNC from the CRTC and stay two lines (same cut rule if VSYNC is lower than 4)further modification. PAL (50Hz) does need two lines VSYNC_width, and 4us HSYNC_widthSee its wiki page.
CRTCs 1 and 2 have a fixed VSYNC width value of 16. VSYNC width can be configured with Register 3 on CRTCs 0, 3 and 4.
5,595
edits