1 |
|
/* |
2 |
|
* C64.h - Put the pieces together |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
4 |
> |
* Frodo Copyright (C) Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
110 |
|
MOS6502_1541 *TheCPU1541; // 1541 |
111 |
|
Job1541 *TheJob1541; |
112 |
|
|
113 |
< |
#ifdef FRODO_SC |
114 |
< |
uint32 CycleCounter; |
115 |
< |
#endif |
113 |
> |
uint32 CycleCounter; // Cycle counter for Frodo SC |
114 |
|
|
115 |
|
private: |
116 |
|
void c64_ctor1(void); |
124 |
|
bool quit_thyself; // Emulation thread shall quit |
125 |
|
bool have_a_break; // Emulation thread shall pause |
126 |
|
|
127 |
< |
int joy_minx, joy_maxx, joy_miny, joy_maxy; // For dynamic joystick calibration |
127 |
> |
int joy_minx[2], joy_maxx[2], joy_miny[2], joy_maxy[2]; // For dynamic joystick calibration |
128 |
|
uint8 joykey; // Joystick keyboard emulation mask value |
129 |
|
|
130 |
|
uint8 orig_kernal_1d84, // Original contents of kernal locations $1d84 and $1d85 |
159 |
|
#endif |
160 |
|
|
161 |
|
#ifdef __unix |
162 |
< |
int joyfd[2]; // File descriptors for joysticks |
162 |
> |
void open_close_joystick(int port, int oldjoy, int newjoy); |
163 |
|
double speed_index; |
166 |
– |
public: |
167 |
– |
CmdPipe *gui; |
164 |
|
#endif |
165 |
|
|
166 |
|
#ifdef WIN32 |