Changes

Jump to: navigation, search

CRTC

3 bytes added, 18 November
/* CRTC registers */
|8||Interlace and Skew||colspan=3 style="text-align: center;"|Write||CCDDxxII||0||CC: Cursor Skew (Only in CRTCs 0, 3 and 4). DD: Display Skew (Only in CRTCs 0, 3 and 4). II: Interlace Mode.
|-
|9||Maximum Raster Address (aka Number of Scan Lines) (-1)||colspan=3 style="text-align: center;"|Write||xxx00000||7||Maximum scan line address on CPC can hold between 0 and 7, higher values' upper bits are ignored.
|-
|10||Cursor Start Raster||style="text-align: center;"|Write||style="text-align: center;"|Write||Read/Write||xBP00000||0||B = Blink On/Off; P = Blink Period Control (16 or 32 frames). Sets first raster row of character that cursor is on to invert.
|-
|11||Cursor End Raster||style="text-align: center;"|Write||style="text-align: center;"|Write||Read/Write||xxx00000||0||Sets last raster row of character that cursor is on to invert.
|-
|12||Display Start Address (High)||Read/Write||style="text-align: center;"|Write||Read/Write||xx000000||48||On Amstrad Plus, bit7 of the printer port is controlled by bit3 of CRTC R12 (ie. bit11 of Display Start Address).
|-
|13||Display Start Address (Low)||Read/Write||style="text-align: center;"|Write||Read/Write||00000000||0||Allows you to offset the start of screen memory for hardware scrolling, and if using memory from address &0000 with the firmware.
8,990
edits