Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/yabause/src/c68k/gen68k.h
2 views
1
/* Copyright 2003-2004 Stephane Dallongeville
2
Copyright 2004 Theo Berkau
3
4
This file is part of Yabause.
5
6
Yabause is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
10
11
Yabause is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with Yabause; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
/*********************************************************************************
22
* GEN68K.H :
23
*
24
* C68K generator include file
25
*
26
********************************************************************************/
27
28
#ifndef _GEN68K_H_
29
#define _GEN68K_H_
30
31
#ifdef __cplusplus
32
extern "C" {
33
#endif
34
35
// setting
36
///////////
37
38
// structure definition
39
////////////////////////
40
41
typedef struct {
42
u32 name;
43
u32 mask;
44
u32 match;
45
} c68k_ea_info_struc;
46
47
typedef struct __c68k_op_info_struc {
48
s8 op_name[8 + 1];
49
u16 op_base;
50
u16 op_mask;
51
s8 size_type;
52
s8 size_sft;
53
s8 eam_sft;
54
s8 reg_sft;
55
s8 eam2_sft;
56
s8 reg2_sft;
57
s8 ea_supported[12 + 1];
58
s8 ea2_supported[12 + 1];
59
void (*genfunc)(void);
60
} c68k_op_info_struc;
61
62
63
#ifdef __cplusplus
64
}
65
#endif
66
67
#endif // _GEN68K_H_
68
69
70