llvm-mos-sdk
Macros
bank.h File Reference
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for bank.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PCE_BANK_MASK(n)   (1 << (n))
 
#define PCE_BANK_OFFSET(n)   ((n) << 13)
 
#define PCE_BANK_SIZE(n)   ((n) << 13)
 

Detailed Description

Functionality related to cartridge banking.

Macro Definition Documentation

◆ PCE_BANK_MASK

#define PCE_BANK_MASK (   n)    (1 << (n))

◆ PCE_BANK_OFFSET

#define PCE_BANK_OFFSET (   n)    ((n) << 13)

◆ PCE_BANK_SIZE

#define PCE_BANK_SIZE (   n)    ((n) << 13)