60 IF PEEK(&4000)=&C0 THEN PRINT"PAL I/O layout Bit 14=0 PAL not selected":GOTO 80
70 PRINT"Error!"
80 OUT &7F00,&C0C3:POKE &C0004000,&C3:OUT &7F00,&C3C090 IF PEEK(&4000C000)=&C3 THEN PRINT"Valid RAM mode &C3" ELSE PRINT"Invalid RAM mode &C3"
</pre>