--- BasiliskII/src/include/xpram.h 1999/10/03 14:16:26 1.1 +++ BasiliskII/src/include/xpram.h 2005/01/30 21:42:15 1.7 @@ -1,7 +1,7 @@ /* * xpram.h - XPRAM handling * - * Basilisk II (C) 1997-1999 Christian Bauer + * Basilisk II (C) 1997-2005 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,10 +18,16 @@ * 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 uint8 XPRAM[XPRAM_SIZE]; extern void XPRAMInit(void); extern void XPRAMExit(void);