notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor adjustments
[fceu.git]
/
ncpu.h
diff --git
a/ncpu.h
b/ncpu.h
index
015320a
..
ac46a33
100644
(file)
--- a/
ncpu.h
+++ b/
ncpu.h
@@
-37,7
+37,7
@@
#define REG_P_REST r8
#define REG_NZ r9 // 14
#define REG_ADDR r10 // 18
#define REG_P_REST r8
#define REG_NZ r9 // 14
#define REG_ADDR r10 // 18
-#define REG_CYCLE r11 // 1c
+#define REG_CYCLE r11 // 1c
[31:16] - fceu cycles, [15:8] - fceu irqhook cycles, [7:0] - fceu timestamp cycles
#define REG_OP_TABLE r12 // 20
#define REG_OP_TABLE r12 // 20
@@
-78,7
+78,8
@@
* note: fceu uses this differently
* [7:0] - interrupt flags (same as above)
* [15:8] - FCEU IRQ pending sources
* note: fceu uses this differently
* [7:0] - interrupt flags (same as above)
* [15:8] - FCEU IRQ pending sources
- * [23:16] - unused
+ * [16] - a flag which indicates that MapIRQHook is not null
+ * [23:17] - unused
* [31:24] - stack pointer
*/
* [31:24] - stack pointer
*/