// Commander X16 Emulator // Copyright (c) 2019 Michael Steil // All rights reserved. License: 2-clause BSD #ifndef _FAKE6502_H_ #define _FAKE6502_H_ #include // Interrupt context tracking, so a debugger can tell whether the machine is // inside a handler and where it will return to. #include "irq_ctx.h" #ifdef __cplusplus extern "C" { #endif extern void reset6502(bool c816); extern void step6502(); extern void exec6502(uint32_t tickcount); extern void irq6502(); extern void nmi6502(); extern uint32_t clockticks6502; extern uint8_t waiting; extern bool warn_rockwell; #ifdef __cplusplus } #endif #endif