fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
at master 66 lines 2.1 kB view raw
1/***************************************************************************** 2 * pce * 3 *****************************************************************************/ 4 5/***************************************************************************** 6 * File name: src/arch/macplus/main.h * 7 * Created: 2007-04-15 by Hampa Hug <hampa@hampa.ch> * 8 * Copyright: (C) 2007-2020 Hampa Hug <hampa@hampa.ch> * 9 *****************************************************************************/ 10 11/***************************************************************************** 12 * This program is free software. You can redistribute it and / or modify it * 13 * under the terms of the GNU General Public License version 2 as published * 14 * by the Free Software Foundation. * 15 * * 16 * This program is distributed in the hope that it will be useful, but * 17 * WITHOUT ANY WARRANTY, without even the implied warranty of * 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * 19 * Public License for more details. * 20 *****************************************************************************/ 21 22 23#ifndef PCE_MACPLUS_MAIN_H 24#define PCE_MACPLUS_MAIN_H 1 25 26 27#include <config.h> 28 29 30//#define DEBUG_INT 1 31//#define DEBUG_IWM 1 32//#define DEBUG_KBD 1 33//#define DEBUG_MEM 1 34//#define DEBUG_RTC 1 35//#define DEBUG_SCC 1 36//#define DEBUG_SERIAL 1 37//#define DEBUG_SCSI 1 38//#define DEBUG_SONY 1 39//#define DEBUG_VIA 1 40 41 42#define MAC_CPU_CLOCK 7833600 43 44 45struct macplus_s; 46typedef struct macplus_s macplus_t; 47 48 49extern int par_verbose; 50 51extern const char *par_terminal; 52 53extern unsigned par_disk_boot; 54 55extern macplus_t *par_sim; 56 57extern unsigned par_sig_int; 58 59 60void sim_stop (void); 61void mac_stop (macplus_t *sim); 62 63void mac_log_deb (const char *msg, ...); 64 65 66#endif