aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2025-01-18 20:12:03 +0000
committerIan C <ianc@noddybox.co.uk>2025-01-18 20:12:03 +0000
commitdfbe546f993bdebb2c62328f20b0df7c14e40faa (patch)
tree856963e30c12b815dca450ce3f319c0f3a3e1d54
parentd39c03aebda64fd4e84b63c04e526ee45babb8d3 (diff)
Defined processor statuds flags
-rw-r--r--6502.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/6502.h b/6502.h
index 2d19810..0ef18fe 100644
--- a/6502.h
+++ b/6502.h
@@ -118,14 +118,12 @@ typedef enum
*/
typedef enum
{
- eC6502_Carry =0x01,
- eC6502_Neg =0x02,
- eC6502_PV =0x04,
- eC6502_Hidden3 =0x08,
- eC6502_HalfCarry =0x10,
- eC6502_Hidden5 =0x20,
- eC6502_Zero =0x40,
- eC6502_Sign =0x80
+ e6502_Carry = 0x01,
+ e6502_Zero = 0x02,
+ e6502_InterruptDisable = 0x04,
+ e6502_Decimal = 0x08,
+ e6502_Overflow = 0x40,
+ e6502_Negative = 0x80
} C6502FlagRegister;