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

Go to the source code of this file.

Macros

#define MAX_BANK_DEPTH   10
 
#define MIRROR_LOWER_BANK   0
 
#define MIRROR_UPPER_BANK   1
 
#define MIRROR_VERTICAL   2
 
#define MIRROR_HORIZONTAL   3
 

Functions

void split_chr_bank_0 (char bank_id)
 
void split_chr_bank_1 (char bank_id)
 
void set_chr_bank_0_retry (char bank_id)
 
void set_chr_bank_1_retry (char bank_id)
 
void set_mmc1_ctrl (char value)
 

Variables

const volatile char CHR_BANK0_CUR
 
const volatile char CHR_BANK1_CUR
 
const volatile char MMC1_CTRL_CUR
 
void(* method )(void))
 

Macro Definition Documentation

◆ MAX_BANK_DEPTH

#define MAX_BANK_DEPTH   10

◆ MIRROR_HORIZONTAL

#define MIRROR_HORIZONTAL   3

◆ MIRROR_LOWER_BANK

#define MIRROR_LOWER_BANK   0

◆ MIRROR_UPPER_BANK

#define MIRROR_UPPER_BANK   1

◆ MIRROR_VERTICAL

#define MIRROR_VERTICAL   2

Function Documentation

◆ set_chr_bank_0_retry()

void set_chr_bank_0_retry ( char  bank_id)

◆ set_chr_bank_1_retry()

void set_chr_bank_1_retry ( char  bank_id)

◆ set_mmc1_ctrl()

void set_mmc1_ctrl ( char  value)

◆ split_chr_bank_0()

void split_chr_bank_0 ( char  bank_id)

◆ split_chr_bank_1()

void split_chr_bank_1 ( char  bank_id)

Variable Documentation

◆ CHR_BANK0_CUR

const volatile char CHR_BANK0_CUR

◆ CHR_BANK1_CUR

const volatile char CHR_BANK1_CUR

◆ method

void(* method) (void))

◆ MMC1_CTRL_CUR

const volatile char MMC1_CTRL_CUR