aboutsummaryrefslogtreecommitdiff
path: root/6502.h
diff options
context:
space:
mode:
Diffstat (limited to '6502.h')
-rw-r--r--6502.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/6502.h b/6502.h
index 3b68ac5..735a6f6 100644
--- a/6502.h
+++ b/6502.h
@@ -84,33 +84,31 @@ typedef int (*C6502Callback)(C6502 *cpu, C6502Val current_cycles);
/* Callback reasons
- eC6502_Instruction Called before the initial fetch for an instruction
- (called just to once no matter how many bytes the
- instruction is made up of).
+ e6502_Instruction Called before the initial fetch for an instruction.
- eC6502_BRK Called when a BRK is executed.
+ e6502_BRK Called when a BRK is executed.
- eC6502_JAM Called when the CPU hits an opcode that jams the CPU.
+ e6502_JAM Called when the CPU hits an opcode that jams the CPU.
- eC6502_RTI Called when the RTI instruction is executed
+ e6502_RTI Called when the RTI instruction is executed
*/
typedef enum
{
- eC6502_Instruction,
- eC6502_BRK,
- eC6502_JAM,
- eC6502_RTI,
- eC6502_NO_CALLBACK
+ e6502_Instruction,
+ e6502_BRK,
+ e6502_JAM,
+ e6502_RTI,
+ e6502_NO_CALLBACK
} C6502CallbackReason;
/* Defines cycle timers
*/
typedef enum
{
- C6502_TIMER_1,
- C6502_TIMER_2,
- C6502_TIMER_3,
- C6502_NO_TIMERS
+ e6502_TIMER_1,
+ e6502_TIMER_2,
+ e6502_TIMER_3,
+ e6502_NO_TIMERS
} C6502Timer;