Initial commit
This commit is contained in:
19
inc/addrs.h
19
inc/addrs.h
@@ -1,7 +1,22 @@
|
||||
#ifndef __ADDRS_H__
|
||||
#define __ADDRS_H__
|
||||
#include "mem_seg.h"
|
||||
|
||||
#define IOREG_SREG_ADDR 0x5F
|
||||
#define IOREG_SPH_ADDR 0x5E
|
||||
#define IOREG_SPL_ADDR 0x5D
|
||||
#define IOREG_EIND_ADDR 0x5C
|
||||
#define IOREG_RAMPZ_ADDR 0x5B
|
||||
|
||||
|
||||
#define GPREG_ZH_ADDR 31
|
||||
#define GPREG_ZL_ADDR 30
|
||||
|
||||
#define GPREG_YH_ADDR 29
|
||||
#define GPREG_YL_ADDR 28
|
||||
|
||||
#define GPREG_XH_ADDR 27
|
||||
#define GPREG_XL_ADDR 26
|
||||
|
||||
#define MEMDATA_IO_REGS 0
|
||||
#define MEMDATA_EXTSTATE 1
|
||||
|
||||
#endif // ifndef __ADDRS_H__
|
||||
Reference in New Issue
Block a user