Skip to content

Instantly share code, notes, and snippets.

@sblendorio
Last active August 28, 2019 08:42
Show Gist options
  • Save sblendorio/656a5238ffcfbd9c4fbf1acf44265057 to your computer and use it in GitHub Desktop.
Save sblendorio/656a5238ffcfbd9c4fbf1acf44265057 to your computer and use it in GitHub Desktop.
Palette C16 vs C64.bas
10 ifpeek(1)>199thenpoke65305,0:poke65301,0
20 ifpeek(1)<200thenpoke53280,0:poke53281,0
30 r$=chr$(18):printchr$(147);
110 printr$chr$(144)" ctrl + 1 "
120 printr$chr$(005)" ctrl + 2 "
130 printr$chr$(028)" ctrl + 3 "
140 printr$chr$(159)" ctrl + 4 "
150 printr$chr$(156)" ctrl + 5 "
160 printr$chr$(030)" ctrl + 6 "
170 printr$chr$(031)" ctrl + 7 "
180 printr$chr$(158)" ctrl + 8 "
210 printr$chr$(129)" cbm= + 1 "
220 printr$chr$(149)" cbm= + 2 "
230 printr$chr$(150)" cbm= + 3 "
240 printr$chr$(151)" cbm= + 4 "
250 printr$chr$(152)" cbm= + 5 "
260 printr$chr$(153)" cbm= + 6 "
270 printr$chr$(154)" cbm= + 7 "
280 printr$chr$(155)" cbm= + 8 "
300 printchr$(5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment