--- SheepShaver/src/include/main.h 2002/02/04 16:58:13 1.1.1.1 +++ SheepShaver/src/include/main.h 2009/07/23 19:12:51 1.11 @@ -1,7 +1,7 @@ /* * main.h - Emulation core * - * SheepShaver (C) 1997-2002 Christian Bauer and Marc Hellwig + * SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,11 +23,13 @@ // Global variables extern void *TOC; // TOC pointer +extern void *R13; // r13 register extern uint32 KernelDataAddr; // Address of Kernel Data extern uint32 BootGlobsAddr; // Address of BootGlobs structure at top of Mac RAM extern uint32 PVR; // Theoretical PVR extern int64 CPUClockSpeed; // Processor clock speed (Hz) extern int64 BusClockSpeed; // Bus clock speed (Hz) +extern int64 TimebaseSpeed; // Timebase clock speed (Hz) #ifdef __BEOS__ extern system_info SysInfo; // System information @@ -41,8 +43,10 @@ struct M68kRegisters { // Functions +extern bool InitAll(const char *vmdir); +extern void ExitAll(void); extern void Dump68kRegs(M68kRegisters *r); // Dump 68k registers -extern void MakeExecutable(int dummy, void *start, uint32 length); // Make code executable +extern void MakeExecutable(int dummy, uint32 start, uint32 length); // Make code executable extern void PatchAfterStartup(void); // Patches after system startup extern void QuitEmulator(void); // Quit emulator (must only be called from main thread) extern void ErrorAlert(const char *text); // Display error alert