Go to the documentation of this file.
51 #if !defined(__VIC20__)
52 # error This module may only be used when compiling for the Vic20!
70 #define COLOR_BLACK 0x00
71 #define COLOR_WHITE 0x01
72 #define COLOR_RED 0x02
73 #define COLOR_CYAN 0x03
74 #define COLOR_PURPLE 0x04
75 #define COLOR_GREEN 0x05
76 #define COLOR_BLUE 0x06
77 #define COLOR_YELLOW 0x07
79 #define COLOR_ORANGE 0x08
80 #define COLOR_LIGHTORANGE 0x09
81 #define COLOR_PINK 0x0A
82 #define COLOR_LIGHTCYAN 0x0B
83 #define COLOR_LIGHTVIOLET 0x0C
84 #define COLOR_LIGHTGREEN 0x0D
85 #define COLOR_LIGHTBLUE 0x0E
86 #define COLOR_LIGHTYELLOW 0x0F
91 #define JOY_UP_MASK 0x01
92 #define JOY_DOWN_MASK 0x02
93 #define JOY_LEFT_MASK 0x04
94 #define JOY_RIGHT_MASK 0x08
95 #define JOY_BTN_1_MASK 0x10
101 #define VIC (*(volatile struct __vic*)0x9000)
104 #define VIA1 (*(volatile struct __6522*)0x9110)
105 #define VIA2 (*(volatile struct __6522*)0x9120)
110 #define COLOR_RAM ((volatile unsigned char*)0x9600)