diff options
author | Ian C <ianc@noddybox.co.uk> | 2025-02-15 22:00:46 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2025-02-15 22:00:46 +0000 |
commit | 07afb9320e1311118ff1e7f049ad0ad950fbb264 (patch) | |
tree | 590d13b4ccf830e8f9c224593a8837cd7bf6ad53 /6502.h | |
parent | 62f9b04442646be9094e4f07f0c40158a859a4c3 (diff) |
Diffstat (limited to '6502.h')
-rw-r--r-- | 6502.h | 28 |
1 files changed, 13 insertions, 15 deletions
@@ -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; |