Initial commit

This commit is contained in:
2026-04-10 22:56:16 +03:00
parent 65e7b45861
commit 787857b26f
19 changed files with 4375 additions and 62 deletions

View File

@@ -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__