--- BasiliskII/src/include/xpram.h 1999/10/03 14:16:26 1.1.1.1 +++ BasiliskII/src/include/xpram.h 2009/07/23 19:19:13 1.9 @@ -1,7 +1,7 @@ /* * xpram.h - XPRAM handling * - * Basilisk II (C) 1997-1999 Christian Bauer + * Basilisk II (C) 1997-2008 Christian Bauer * * 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 @@ -18,16 +18,22 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _XPRAM_H_ -#define _XPRAM_H_ +#ifndef XPRAM_H +#define XPRAM_H -extern uint8 XPRAM[256]; +#if POWERPC_ROM +const int XPRAM_SIZE = 8192; +#else +const int XPRAM_SIZE = 256; +#endif -extern void XPRAMInit(void); +extern uint8 XPRAM[XPRAM_SIZE]; + +extern void XPRAMInit(const char *vmdir); extern void XPRAMExit(void); // System specific and internal functions/data -extern void LoadXPRAM(void); +extern void LoadXPRAM(const char *vmdir); extern void SaveXPRAM(void); extern void ZapPRAM(void);