libws libws
WSwan hardware library for the Wonderful toolchain
Loading...
Searching...
No Matches
Defines - Interrupt IDs

Macros

#define CPUINT_DIV   0x01
 
#define CPUINT_STEP   0x02
 
#define CPUINT_NMI   0x04
 
#define CPUINT_BREAK   0x08
 
#define CPUINT_INTO   0x10
 
#define CPUINT_BOUNDS   0x20
 
#define CPUINT_IDX_DIV   0
 
#define CPUINT_IDX_STEP   1
 
#define CPUINT_IDX_NMI   2
 
#define CPUINT_IDX_BREAK   3
 
#define CPUINT_IDX_INTO   4
 
#define CPUINT_IDX_BOUNDS   5
 
#define HWINT_SERIAL_TX   0x01
 
#define HWINT_KEY   0x02
 
#define HWINT_CARTRIDGE   0x04
 
#define HWINT_SERIAL_RX   0x08
 
#define HWINT_LINE   0x10
 
#define HWINT_VBLANK_TIMER   0x20
 
#define HWINT_VBLANK   0x40
 
#define HWINT_HBLANK_TIMER   0x80
 
#define HWINT_IDX_SERIAL_TX   0
 
#define HWINT_IDX_KEY   1
 
#define HWINT_IDX_CARTRIDGE   2
 
#define HWINT_IDX_SERIAL_RX   3
 
#define HWINT_IDX_LINE   4
 
#define HWINT_IDX_VBLANK_TIMER   5
 
#define HWINT_IDX_VBLANK   6
 
#define HWINT_IDX_HBLANK_TIMER   7
 

Detailed Description

Macro Definition Documentation

◆ CPUINT_BOUNDS

#define CPUINT_BOUNDS   0x20

Definition at line 42 of file hardware.h.

◆ CPUINT_BREAK

#define CPUINT_BREAK   0x08

Definition at line 40 of file hardware.h.

◆ CPUINT_DIV

#define CPUINT_DIV   0x01

Definition at line 37 of file hardware.h.

◆ CPUINT_IDX_BOUNDS

#define CPUINT_IDX_BOUNDS   5

Definition at line 49 of file hardware.h.

◆ CPUINT_IDX_BREAK

#define CPUINT_IDX_BREAK   3

Definition at line 47 of file hardware.h.

◆ CPUINT_IDX_DIV

#define CPUINT_IDX_DIV   0

Definition at line 44 of file hardware.h.

◆ CPUINT_IDX_INTO

#define CPUINT_IDX_INTO   4

Definition at line 48 of file hardware.h.

◆ CPUINT_IDX_NMI

#define CPUINT_IDX_NMI   2

Definition at line 46 of file hardware.h.

◆ CPUINT_IDX_STEP

#define CPUINT_IDX_STEP   1

Definition at line 45 of file hardware.h.

◆ CPUINT_INTO

#define CPUINT_INTO   0x10

Definition at line 41 of file hardware.h.

◆ CPUINT_NMI

#define CPUINT_NMI   0x04

Definition at line 39 of file hardware.h.

◆ CPUINT_STEP

#define CPUINT_STEP   0x02

Definition at line 38 of file hardware.h.

◆ HWINT_CARTRIDGE

#define HWINT_CARTRIDGE   0x04

Definition at line 53 of file hardware.h.

◆ HWINT_HBLANK_TIMER

#define HWINT_HBLANK_TIMER   0x80

Definition at line 58 of file hardware.h.

◆ HWINT_IDX_CARTRIDGE

#define HWINT_IDX_CARTRIDGE   2

Definition at line 62 of file hardware.h.

◆ HWINT_IDX_HBLANK_TIMER

#define HWINT_IDX_HBLANK_TIMER   7

Definition at line 67 of file hardware.h.

◆ HWINT_IDX_KEY

#define HWINT_IDX_KEY   1

Definition at line 61 of file hardware.h.

◆ HWINT_IDX_LINE

#define HWINT_IDX_LINE   4

Definition at line 64 of file hardware.h.

◆ HWINT_IDX_SERIAL_RX

#define HWINT_IDX_SERIAL_RX   3

Definition at line 63 of file hardware.h.

◆ HWINT_IDX_SERIAL_TX

#define HWINT_IDX_SERIAL_TX   0

Definition at line 60 of file hardware.h.

◆ HWINT_IDX_VBLANK

#define HWINT_IDX_VBLANK   6

Definition at line 66 of file hardware.h.

◆ HWINT_IDX_VBLANK_TIMER

#define HWINT_IDX_VBLANK_TIMER   5

Definition at line 65 of file hardware.h.

◆ HWINT_KEY

#define HWINT_KEY   0x02

Definition at line 52 of file hardware.h.

◆ HWINT_LINE

#define HWINT_LINE   0x10

Definition at line 55 of file hardware.h.

◆ HWINT_SERIAL_RX

#define HWINT_SERIAL_RX   0x08

Definition at line 54 of file hardware.h.

◆ HWINT_SERIAL_TX

#define HWINT_SERIAL_TX   0x01

Definition at line 51 of file hardware.h.

◆ HWINT_VBLANK

#define HWINT_VBLANK   0x40

Definition at line 57 of file hardware.h.

◆ HWINT_VBLANK_TIMER

#define HWINT_VBLANK_TIMER   0x20

Definition at line 56 of file hardware.h.