Changes
Note that no settings are stored in the Gate Array regarding register 3, but the PAL and Gate Array share an I/O port address.
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /mnt/cpcwiki-httpdocs/includes/diff/DairikiDiff.php on line 434
Bit14 of the PAL selection address can be at 0 or 1 on CPCs equipped with CRTCs
For compatibility reasons, it is strongly advised to always set bit14 to 1 to select PAL.
20 OUT &7F00,&C7:POKE &4000,&C7:OUT &7F00,&C0
30 IF PEEK(&4000)=&C7 THEN PRINT"PAL chip absent/inactive":END
40 OUT &BC00,&F:OUT &3DFF3FFF,&C750 IF PEEK(&4000)=&C7 THEN PRINT"PAL I/O layout on CRTC Bit 14=0/1/2PAL Select":END60 IF PEEK(&4000)=&C0 THEN PRINT"PAL I/O layout on CRTC 3/4Bit 14=0 PAL not selected":END
70 PRINT"Error!"
</pre>