llvm-mos-sdk
|
#include <stdint.h>
#include <_45E100.h>
#include <_6526.h>
#include <_dmagic.h>
#include <_sid.h>
#include <_vic2.h>
#include <_vic3.h>
#include <_vic4.h>
Go to the source code of this file.
Macros | |
#define | CPU_PORTDDR (*(volatile uint8_t *)0x0000) |
6510/45GS10 CPU port DDR More... | |
#define | CPU_PORT (*(volatile uint8_t *)0x0001) |
6510/45GS10 CPU port data More... | |
#define | DEFAULT_SCREEN (*(volatile uint8_t *)0x0800) |
Default address of screen character matrix. More... | |
#define | VICII (*(volatile struct __vic2 *)0xd000) |
The VIC-II. More... | |
#define | VICIV (*(volatile struct __vic4 *)0xd000) |
The VIC IV. More... | |
#define | PALETTE (*(volatile struct __color_palette *)0xd100) |
Color palette. More... | |
#define | SID1 (*(volatile struct __sid *)0xd400) |
SID MOS 6581/8580. More... | |
#define | SID2 (*(volatile struct __sid *)0xd420) |
SID MOS 6581/8580. More... | |
#define | SID3 (*(volatile struct __sid *)0xd440) |
SID MOS 6581/8580. More... | |
#define | SID4 (*(volatile struct __sid *)0xd460) |
SID MOS 6581/8580. More... | |
#define | SIDMODE (*(volatile uint8_t *)0xd63c) |
SID select mode (0=6581, 1=8580) More... | |
#define | HYPERVISOR (*(volatile struct __hypervisor *)0xd640) |
Hypervisor traps. More... | |
#define | ETHERNET (*(volatile struct __45E100 *)0xd6e0) |
Ethernet controller. More... | |
#define | DMA (*(volatile struct DMAgicController *)0xd700) |
DMAgic DMA controller. More... | |
#define | MATHBUSY (*(volatile uint8_t *)0xd70f) |
Math busy flag. More... | |
#define | MATH (*(volatile struct __cpu_math *)0xd768) |
Math accelerator. More... | |
#define | CIA1 (*(volatile struct __6526 *)0xdc00) |
The CIA 1. More... | |
#define | CIA2 (*(volatile struct __6526 *)0xdd00) |
The CIA 2. More... | |
Enumerations | |
enum | { COLOR_BLACK = 0x00, COLOR_WHITE = 0x01, COLOR_RED = 0x02, COLOR_CYAN = 0x03, COLOR_PURPLE = 0x04, COLOR_GREEN = 0x05, COLOR_BLUE = 0x06, COLOR_YELLOW = 0x07, COLOR_ORANGE = 0x08, COLOR_BROWN = 0x09, COLOR_LIGHTRED = 0x0A, COLOR_DARKGREY = 0x0B, COLOR_MIDGREY = 0x0C, COLOR_LIGHTGREEN = 0x0D, COLOR_LIGHTBLUE = 0x0E, COLOR_LIGHTGREY = 0x0F, COLOR_GURUMEDITATION = 0x10, COLOR_RAMBUTAN = 0x11, COLOR_CARROT = 0x12, COLOR_LEMONTART = 0x13, COLOR_PANDAN = 0x14, COLOR_SEASICKGREEN = 0x15, COLOR_SOYLENTGREEN = 0x16, COLOR_SLIMERGREEN = 0x17, COLOR_THEOTHERCYAN = 0x18, COLOR_SEASKY = 0x19, COLOR_SMURFBLUE = 0x1A, COLOR_SCREENOFDEATH = 0x1B, COLOR_PLUMSAUCE = 0x1C, COLOR_SOURGRAPE = 0x1D, COLOR_BUBBLEGUM = 0x1E, COLOR_HOTTAMALES = 0x1F } |
Default color palette. More... | |
#define CIA1 (*(volatile struct __6526 *)0xdc00) |
The CIA 1.
#define CIA2 (*(volatile struct __6526 *)0xdd00) |
The CIA 2.
#define CPU_PORT (*(volatile uint8_t *)0x0001) |
6510/45GS10 CPU port data
#define CPU_PORTDDR (*(volatile uint8_t *)0x0000) |
6510/45GS10 CPU port DDR
#define DEFAULT_SCREEN (*(volatile uint8_t *)0x0800) |
Default address of screen character matrix.
#define DMA (*(volatile struct DMAgicController *)0xd700) |
DMAgic DMA controller.
#define ETHERNET (*(volatile struct __45E100 *)0xd6e0) |
Ethernet controller.
#define HYPERVISOR (*(volatile struct __hypervisor *)0xd640) |
Hypervisor traps.
#define MATH (*(volatile struct __cpu_math *)0xd768) |
Math accelerator.
#define MATHBUSY (*(volatile uint8_t *)0xd70f) |
Math busy flag.
#define PALETTE (*(volatile struct __color_palette *)0xd100) |
Color palette.
#define SID1 (*(volatile struct __sid *)0xd400) |
SID MOS 6581/8580.
#define SID2 (*(volatile struct __sid *)0xd420) |
SID MOS 6581/8580.
#define SID3 (*(volatile struct __sid *)0xd440) |
SID MOS 6581/8580.
#define SID4 (*(volatile struct __sid *)0xd460) |
SID MOS 6581/8580.
#define SIDMODE (*(volatile uint8_t *)0xd63c) |
SID select mode (0=6581, 1=8580)
#define VICII (*(volatile struct __vic2 *)0xd000) |
The VIC-II.
#define VICIV (*(volatile struct __vic4 *)0xd000) |
The VIC IV.
anonymous enum |
Default color palette.