--- SheepShaver/src/include/main.h 2004/07/03 10:39:07 1.5 +++ SheepShaver/src/include/main.h 2005/02/27 21:52:06 1.9 @@ -1,7 +1,7 @@ /* * main.h - Emulation core * - * SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig + * SheepShaver (C) 1997-2005 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,6 +23,7 @@ // 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 @@ -42,8 +43,10 @@ struct M68kRegisters { // Functions +extern bool InitAll(void); +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