Mark Pizzolato | e2524e7 | 2014-09-17 17:31:40 -0700 | [diff] [blame] | 1 | /* 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 |
|
| 32 | extern DEVICE sagecpu_dev;
|
| 33 | extern DEVICE sagepic_dev;
|
| 34 | extern DEVICE sagetimer1_dev;
|
| 35 | extern DEVICE sagetimer2_dev;
|
| 36 | extern DEVICE sagedip_dev;
|
| 37 | extern DEVICE sagefd_dev;
|
| 38 | extern DEVICE sagecons_dev;
|
| 39 | extern DEVICE sagesio_dev;
|
| 40 | extern DEVICE sagelp_dev;
|
| 41 | #if 0
|
| 42 | extern DEVICE sageieee_dev;
|
| 43 | #endif
|
| 44 | #ifdef SAGE_IV
|
| 45 | extern DEVICE sagehd_dev;
|
| 46 | extern DEVICE sageaux_dev;
|
| 47 | #endif
|
| 48 |
|
Mark Pizzolato | 66dba79 | 2015-03-30 10:24:24 -0700 | [diff] [blame] | 49 | char sim_name[] = "Sage-II/IV 68k";
|
Mark Pizzolato | e2524e7 | 2014-09-17 17:31:40 -0700 | [diff] [blame] | 50 |
|
Mark Pizzolato | 66dba79 | 2015-03-30 10:24:24 -0700 | [diff] [blame] | 51 | REG *sim_PC = &m68kcpu_reg[18];
|
| 52 | int sim_emax = SIM_EMAX;
|
| 53 | DEVICE *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 Pizzolato | e2524e7 | 2014-09-17 17:31:40 -0700 | [diff] [blame] | 63 | #if 0
|
Mark Pizzolato | 66dba79 | 2015-03-30 10:24:24 -0700 | [diff] [blame] | 64 | &sageieee_dev,
|
Mark Pizzolato | e2524e7 | 2014-09-17 17:31:40 -0700 | [diff] [blame] | 65 | #endif
|
| 66 | #ifdef SAGE_IV
|
Mark Pizzolato | 66dba79 | 2015-03-30 10:24:24 -0700 | [diff] [blame] | 67 | &sagehd_dev,
|
| 68 | &sageaux_dev,
|
Mark Pizzolato | e2524e7 | 2014-09-17 17:31:40 -0700 | [diff] [blame] | 69 | #endif
|
Mark Pizzolato | 66dba79 | 2015-03-30 10:24:24 -0700 | [diff] [blame] | 70 | NULL
|
Mark Pizzolato | e2524e7 | 2014-09-17 17:31:40 -0700 | [diff] [blame] | 71 | };
|