llvm-mos-sdk
Macros | Variables
mapper.h File Reference
#include <stdbool.h>
#include <ines.h>
Include dependency graph for mapper.h:

Go to the source code of this file.

Macros

#define PRG_BANK_MASK   0x0F
 
#define PRG_BANK_SHIFT   0
 
#define CHR_BANK_MASK   0x10
 
#define CHR_BANK_SHIFT   4
 
#define CHR_BANK_0   0x00
 
#define CHR_BANK_1   0x10
 
#define NT_BANK_MASK   0x20
 
#define NT_BANK_SHIFT   5
 
#define NT_BANK_0   0x00
 
#define NT_BANK_1   0x20
 
#define MAPPER_RED_LED   0x40
 
#define MAPPER_GREEN_LED   0x80
 

Variables

void(* method )(void))
 

Macro Definition Documentation

◆ CHR_BANK_0

#define CHR_BANK_0   0x00

◆ CHR_BANK_1

#define CHR_BANK_1   0x10

◆ CHR_BANK_MASK

#define CHR_BANK_MASK   0x10

◆ CHR_BANK_SHIFT

#define CHR_BANK_SHIFT   4

◆ MAPPER_GREEN_LED

#define MAPPER_GREEN_LED   0x80

◆ MAPPER_RED_LED

#define MAPPER_RED_LED   0x40

◆ NT_BANK_0

#define NT_BANK_0   0x00

◆ NT_BANK_1

#define NT_BANK_1   0x20

◆ NT_BANK_MASK

#define NT_BANK_MASK   0x20

◆ NT_BANK_SHIFT

#define NT_BANK_SHIFT   5

◆ PRG_BANK_MASK

#define PRG_BANK_MASK   0x0F

◆ PRG_BANK_SHIFT

#define PRG_BANK_SHIFT   0

Variable Documentation

◆ method

void(* method) (void))