X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=ncpu.h;h=301e9a05dbacff0ca46892790f3af68c1b51038f;hp=015320a115dfee98044ff8acc14ebf06a9453f8c;hb=HEAD;hpb=af32b6c2f0ed2f1a4582c3e8d7ac704b9c61fa4c diff --git a/ncpu.h b/ncpu.h index 015320a..301e9a0 100644 --- 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_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 @@ -76,9 +76,10 @@ * ++++++++---S ¥¹¥¿¥Ã¥¯¥Ý¥¤¥ó¥¿ * * note: fceu uses this differently - * [7:0] - interrupt flags (same as above) + * [7:0] - 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 */