![]() |
libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
|
Go to the source code of this file.
Data Structures | |
struct | EvmuPicClass |
struct | EvmuPic |
Macros | |
#define | EVMU_PIC_NAME "pic" |
#define | EVMU_ISR_ADDR_RESET 0x00 |
#define | EVMU_ISR_ADDR_EXT_INT0 0x03 |
#define | EVMU_ISR_ADDR_EXT_INT1 0x0b |
#define | EVMU_ISR_ADDR_EXT_INT2_T0L 0x13 |
#define | EVMU_ISR_ADDR_EXT_INT3_TBASE 0x1b |
#define | EVMU_ISR_ADDR_T0H 0x23 |
#define | EVMU_ISR_ADDR_T1 0x2b |
#define | EVMU_ISR_ADDR_SIO0 0x33 |
#define | EVMU_ISR_ADDR_SIO1 0x3b |
#define | EVMU_ISR_ADDR_RFB 0x43 |
#define | EVMU_ISR_ADDR_P3 0x4b |
#define | EVMU_ISR_ADDR_11 0x4f |
#define | EVMU_ISR_ADDR_12 0x52 |
#define | EVMU_ISR_ADDR_13 0x55 |
#define | EVMU_ISR_ADDR_14 0x5a |
#define | EVMU_ISR_ADDR_15 0x5d |
Type System | |
Type UUID and cast operators | |
#define | EVMU_PIC_TYPE (GBL_TYPEID(EvmuPic)) |
#define | EVMU_PIC(self) (GBL_CAST(EvmuPic, self)) |
#define | EVMU_PIC_CLASS(klass) (GBL_CLASS_CAST(EvmuPic, klass)) |
#define | EVMU_PIC_GET_CLASS(self) (GBL_CLASSOF(EvmuPic, self)) |
Typedefs | |
typedef GblEnum | EVMU_IRQ |
typedef GblEnum | EVMU_IRQ_PRIORITY |
typedef uint16_t | EvmuIrqMask |
Enumerations | |
enum | EVMU_IRQ |
enum | EVMU_IRQ_PRIORITY |
Functions | |
GblType | EvmuPic_type (void) |
static EvmuAddress | EvmuPic_isrAddress (EVMU_IRQ irq) |
EvmuPic programmable interrupt controller peripheral.
This file models the programmable interrupt controller of the VMU.
Definition in file evmu_pic.h.
Function-style GblInstance cast.
Definition at line 26 of file evmu_pic.h.
#define EVMU_PIC_CLASS | ( | klass | ) | (GBL_CLASS_CAST(EvmuPic, klass)) |
Function-style GblClass cast.
Definition at line 27 of file evmu_pic.h.
#define EVMU_PIC_GET_CLASS | ( | self | ) | (GBL_CLASSOF(EvmuPic, self)) |
Get EvmuPicClass from GblInstance
Definition at line 28 of file evmu_pic.h.
#define EVMU_PIC_NAME "pic" |
Definition at line 31 of file evmu_pic.h.
#define EVMU_PIC_TYPE (GBL_TYPEID(EvmuPic)) |
Type UUID for EvmuPic.
Definition at line 25 of file evmu_pic.h.
Enumeration of all the different IRQ types.
Definition at line 62 of file evmu_pic.h.
typedef GblEnum EVMU_IRQ_PRIORITY |
All available interrupt priority levels.
Definition at line 83 of file evmu_pic.h.
typedef uint16_t EvmuIrqMask |
Mask of EVMU_IRQ values shifted and OR'd into a single mask.
Definition at line 92 of file evmu_pic.h.
enum EVMU_IRQ |
Definition at line 62 of file evmu_pic.h.
enum EVMU_IRQ_PRIORITY |
Enumerator | |
---|---|
EVMU_IRQ_PRIORITY_LOW | Low. |
EVMU_IRQ_PRIORITY_HIGH | High. |
EVMU_IRQ_PRIORITY_HIGHEST | Highest. |
EVMU_IRQ_PRIORITY_COUNT | Number of levels. |
EVMU_IRQ_PRIORITY_NONE | No level (not valid) |
Definition at line 83 of file evmu_pic.h.
|
inlinestatic |
Static method returning the corresponding ISR address for a given interrupt routine.