Changes

CRTC

43 bytes added, 9 May
/* The 6845 Registers */
CRTC generates the address, Gate-Array reads the data and converts it to pixels based on the current mode.
CRTC pins RA3 and , RA4 , MA10, MA11 are not connected on CPC.
== CUDISP ==
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). PAL (50Hz) does need two lines VSYNC_width, and 4us HSYNC_width.
Using CRTC1, CRTCs 1 and 2 have a fixed VSYNC width value 0 means a value of 16. VSYNC width can be configured with Register 3 on CRTCs 0, 3 and 4.
== The 6845 Registers ==
|2||Horizontal Sync Position ||00000000||46||When to start the HSync signal.
|-
|3||Horizontal and Vertical Sync Widths||VVVVHHHH||128+14||HSync pulse width in characters (0 means 16 only on some CRTCCRTCs), should always be more than 8; VSync width in scan-lines. (0 always means 16 on some CRTC. Not present on all CRTCs, fixed to 16 lines on these).
|-
|4||Vertical Total (-1)||x0000000||38||Height of the screen, in characters.
registers 18-31 read as 0, on type 0 and 2.
registers 18-30 read as 0 on type1, register 31 reads as 0x0ff0xff.
Details about Reg. 12 and Reg. 13 specifically:
4,607
edits