OXYGENHUB
# 2980b7b6d7cd enhanced-x16-emulator / src / cpu / fake6502.h
627 B · Objective-C · last changed chore(): initial commit 26 days ago source blame history raw
1
// Commander X16 Emulator
2
// Copyright (c) 2019 Michael Steil
3
// All rights reserved. License: 2-clause BSD
4
5
#ifndef _FAKE6502_H_
6
#define _FAKE6502_H_
7
8
#include <stdint.h>
9
10
// Interrupt context tracking, so a debugger can tell whether the machine is
11
// inside a handler and where it will return to.
12
#include "irq_ctx.h"
13
14
#ifdef __cplusplus
15
extern "C" {
16
#endif
17
18
extern void reset6502(bool c816);
19
extern void step6502();
20
extern void exec6502(uint32_t tickcount);
21
extern void irq6502();
22
extern void nmi6502();
23
extern uint32_t clockticks6502;
24
extern uint8_t waiting;
25
extern bool warn_rockwell;
26
27
#ifdef __cplusplus
28
}
29
#endif
30
31
#endif