-
Notifications
You must be signed in to change notification settings - Fork 22
/
i8080.h
56 lines (50 loc) · 1.71 KB
/
i8080.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Intel 8080 (KR580VM80A) microprocessor core model
//
// Copyright (C) 2012 Alexander Demin <[email protected]>
//
// Credits
//
// Viacheslav Slavinsky, Vector-06C FPGA Replica
// http://code.google.com/p/vector06cc/
//
// Dmitry Tselikov, Bashrikia-2M and Radio-86RK on Altera DE1
// http://bashkiria-2m.narod.ru/fpga.html
//
// Ian Bartholomew, 8080/8085 CPU Exerciser
// http://www.idb.me.uk/sunhillow/8080.html
//
// Frank Cringle, The origianal exerciser for the Z80.
//
// Thanks to zx.pk.ru and nedopc.org/forum communities.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef I8080_H
#define I8080_H
extern void i8080_init(void);
extern int i8080_instruction(void);
extern void i8080_jump(int addr);
extern int i8080_pc(void);
extern int i8080_regs_bc(void);
extern int i8080_regs_de(void);
extern int i8080_regs_hl(void);
extern int i8080_regs_sp(void);
extern int i8080_regs_a(void);
extern int i8080_regs_b(void);
extern int i8080_regs_c(void);
extern int i8080_regs_d(void);
extern int i8080_regs_e(void);
extern int i8080_regs_h(void);
extern int i8080_regs_l(void);
#endif