Changes

PAL16L8

350 bytes added, 11 May
See [https://www.cpcwiki.eu/forum/news-events/release-of-amstrad-cpc-crtc-compendium-and-amazing-demo-rev-2021/msg239536 Discussion on the forum]
 
== PAL Type Detection ==
<pre>
10 OUT &7F00,&C0:POKE &4000,&C0
20 OUT &7F00,&C7:POKE &4000,&C7:OUT &7F00,&C0
30 IF PEEK(&4000)=&C7 THEN PRINT"PAL chip absent":END
40 OUT &BC00,&F:OUT &3DFF,&C7
60 IF PEEK(&4000)=&C0 THEN PRINT"PAL I/O layout on CRTC 0/1/2":END
70 IF PEEK(&4000)=&C7 THEN PRINT"PAL I/O layout on CRTC 3/4":END
80 PRINT"Error!"
</pre>
== See also ==
4,862
edits