Changes

CRTC

21 bytes added, 6 July
/* CRTC counter differences */
=== MA reload ===
On CRTCs 0/3/4, at the beginning of the first raster line start of the frame, MA and MA' are loaded with R12/R13. Otherwise, MA is loaded with MA'.
On CRTC 2, at any the beginning of each raster line start of the frame (including the first one), MA is loaded with MA'.
On CRTC 1, at the beginning of every raster line start of the first character line of the frame (ie. when VCC=0), MA is loaded with R12/R13 instead of MA'. This discrepancy is a major source of incompatibility if the programmer does not take care. In demos and games, to be compatible with all CRTCs, program R12/R13 when VCC!=0. This will then take effect at the next frame start.
<br>
8,999
edits