optim, try different dispatch strategies, add reset handler
This commit is contained in:
19
inc/addrs.h
19
inc/addrs.h
@@ -2,11 +2,20 @@
|
||||
#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 IOREG_SREG_ADDR 0x3F
|
||||
#define IOREG_SPH_ADDR 0x3E
|
||||
#define IOREG_SPL_ADDR 0x3D
|
||||
#define IOREG_EIND_ADDR 0x3C
|
||||
#define IOREG_RAMPZ_ADDR 0x3B
|
||||
|
||||
#define SREG_BIT_I 7
|
||||
#define SREG_BIT_T 6
|
||||
#define SREG_BIT_H 5
|
||||
#define SREG_BIT_S 4
|
||||
#define SREG_BIT_V 3
|
||||
#define SREG_BIT_N 2
|
||||
#define SREG_BIT_Z 1
|
||||
#define SREG_BIT_C 0
|
||||
|
||||
|
||||
#define GPREG_ZH_ADDR 31
|
||||
|
||||
Reference in New Issue
Block a user