blob: 2da2ef95750750ac85f1f1833136be82320c1d8a [file] [log] [blame] [raw]
Mark Pizzolatoe2524e72014-09-17 17:31:40 -07001/* sage_sys.c: SYS definitions for sage-II system
2
3 Copyright (c) 2009-2010 Holger Veit
4
5 Permission is hereby granted, free of charge, to any person obtaining a
6 copy of this software and associated documentation files (the "Software"),
7 to deal in the Software without restriction, including without limitation
8 the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 and/or sell copies of the Software, and to permit persons to whom the
10 Software is furnished to do so, subject to the following conditions:
11
12 The above copyright notice and this permission notice shall be included in
13 all copies or substantial portions of the Software.
14
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 Holger Veit BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22 Except as contained in this notice, the name of Holger Veit et al shall not be
23 used in advertising or otherwise to promote the sale, use or other dealings
24 in this Software without prior written authorization from Holger Veit et al.
25
26 04-Oct-09 HV Initial version
27*/
28
29#include <ctype.h>
30#include "sage_defs.h"
31
32extern DEVICE sagecpu_dev;
33extern DEVICE sagepic_dev;
34extern DEVICE sagetimer1_dev;
35extern DEVICE sagetimer2_dev;
36extern DEVICE sagedip_dev;
37extern DEVICE sagefd_dev;
38extern DEVICE sagecons_dev;
39extern DEVICE sagesio_dev;
40extern DEVICE sagelp_dev;
41#if 0
42extern DEVICE sageieee_dev;
43#endif
44#ifdef SAGE_IV
45extern DEVICE sagehd_dev;
46extern DEVICE sageaux_dev;
47#endif
48
Mark Pizzolato66dba792015-03-30 10:24:24 -070049char sim_name[] = "Sage-II/IV 68k";
Mark Pizzolatoe2524e72014-09-17 17:31:40 -070050
Mark Pizzolato66dba792015-03-30 10:24:24 -070051REG *sim_PC = &m68kcpu_reg[18];
52int sim_emax = SIM_EMAX;
53DEVICE *sim_devices[] = {
54 &sagecpu_dev,
55 &sagepic_dev,
56 &sagetimer1_dev,
57 &sagetimer2_dev,
58 &sagedip_dev,
59 &sagefd_dev,
60 &sagecons_dev,
61 &sagesio_dev,
62 &sagelp_dev,
Mark Pizzolatoe2524e72014-09-17 17:31:40 -070063#if 0
Mark Pizzolato66dba792015-03-30 10:24:24 -070064 &sageieee_dev,
Mark Pizzolatoe2524e72014-09-17 17:31:40 -070065#endif
66#ifdef SAGE_IV
Mark Pizzolato66dba792015-03-30 10:24:24 -070067 &sagehd_dev,
68 &sageaux_dev,
Mark Pizzolatoe2524e72014-09-17 17:31:40 -070069#endif
Mark Pizzolato66dba792015-03-30 10:24:24 -070070 NULL
Mark Pizzolatoe2524e72014-09-17 17:31:40 -070071};