Go to the documentation of this file.
16 #pragma clang diagnostic push
17 #pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
18 #pragma clang diagnostic ignored "-Wnested-anon-types"
19 #pragma clang diagnostic ignored "-Wgnu-binary-literal"
20 #pragma clang diagnostic ignored "-Wfixed-enum-extension"
92 static_assert(
sizeof(
struct __hypervisor) == 64);
130 static_assert(
sizeof(__cpu_math) == 88);
134 struct __color_palette {
141 #define CPU_PORTDDR (*(volatile uint8_t *)0x0000)
142 #define CPU_PORT (*(volatile uint8_t *)0x0001)
144 #define DEFAULT_SCREEN (*(volatile uint8_t *)0x0800)
146 #define VICII (*(volatile struct __vic2 *)0xd000)
148 #define VICIV (*(volatile struct __vic4 *)0xd000)
150 #define PALETTE (*(volatile struct __color_palette *)0xd100)
152 #define SID1 (*(volatile struct __sid *)0xd400)
154 #define SID2 (*(volatile struct __sid *)0xd420)
156 #define SID3 (*(volatile struct __sid *)0xd440)
158 #define SID4 (*(volatile struct __sid *)0xd460)
160 #define SIDMODE (*(volatile uint8_t *)0xd63c)
162 #define HYPERVISOR (*(volatile struct __hypervisor *)0xd640)
164 #define ETHERNET (*(volatile struct __45E100 *)0xd6e0)
166 #define DMA (*(volatile struct DMAgicController *)0xd700)
168 #define MATHBUSY (*(volatile uint8_t *)0xd70f)
170 #define MATH (*(volatile struct __cpu_math *)0xd768)
172 #define CIA1 (*(volatile struct __6526 *)0xdc00)
174 #define CIA2 (*(volatile struct __6526 *)0xdd00)
218 #pragma clang diagnostic pop
@ COLOR_DARKGREY
Definition: mega65.h:194
::uint16_t uint16_t
Definition: cstdint:22
@ COLOR_PANDAN
Definition: mega65.h:203
@ COLOR_SEASKY
Definition: mega65.h:208
@ COLOR_LEMONTART
Definition: mega65.h:202
@ COLOR_CARROT
Definition: mega65.h:201
@ COLOR_ORANGE
Definition: mega65.h:191
@ COLOR_GURUMEDITATION
Definition: mega65.h:199
@ COLOR_GREEN
Definition: mega65.h:188
@ COLOR_BUBBLEGUM
Definition: mega65.h:213
::uint8_t uint8_t
Definition: cstdint:21
@ COLOR_SEASICKGREEN
Definition: mega65.h:204
@ COLOR_SOYLENTGREEN
Definition: mega65.h:205
@ COLOR_BLACK
Definition: mega65.h:183
@ COLOR_PURPLE
Definition: mega65.h:187
@ COLOR_HOTTAMALES
Definition: mega65.h:214
@ COLOR_SLIMERGREEN
Definition: mega65.h:206
@ COLOR_LIGHTGREEN
Definition: mega65.h:196
@ COLOR_BROWN
Definition: mega65.h:192
@ COLOR_THEOTHERCYAN
Definition: mega65.h:207
@ COLOR_MIDGREY
Definition: mega65.h:195
@ COLOR_LIGHTBLUE
Definition: mega65.h:197
@ COLOR_SMURFBLUE
Definition: mega65.h:209
@ COLOR_BLUE
Definition: mega65.h:189
@ COLOR_RED
Definition: mega65.h:185
@ COLOR_SOURGRAPE
Definition: mega65.h:212
::uint64_t uint64_t
Definition: cstdint:24
@ COLOR_PLUMSAUCE
Definition: mega65.h:211
@ COLOR_LIGHTRED
Definition: mega65.h:193
@ COLOR_YELLOW
Definition: mega65.h:190
::uint32_t uint32_t
Definition: cstdint:23
@ COLOR_CYAN
Definition: mega65.h:186
@ COLOR_LIGHTGREY
Definition: mega65.h:198
@ COLOR_WHITE
Definition: mega65.h:184
@ COLOR_SCREENOFDEATH
Definition: mega65.h:210
@ COLOR_RAMBUTAN
Definition: mega65.h:200