--- SheepShaver/src/include/cpu_emulation.h 2004/11/13 14:09:16 1.14 +++ SheepShaver/src/include/cpu_emulation.h 2009/08/18 18:26:11 1.17 @@ -1,7 +1,7 @@ /* * cpu_emulation.h - Definitions for CPU emulation and Mac memory access * - * SheepShaver (C) 1997-2004 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 @@ -27,10 +27,8 @@ */ // Constants -const uintptr ROM_BASE = 0x40800000; // Base address of ROM const uint32 ROM_SIZE = 0x400000; // Size of ROM file const uint32 ROM_AREA_SIZE = 0x500000; // Size of ROM area -const uintptr ROM_END = ROM_BASE + ROM_SIZE; // End of ROM const uintptr DR_EMULATOR_BASE = 0x68070000; // Address of DR emulator code const uint32 DR_EMULATOR_SIZE = 0x10000; // Size of DR emulator code const uintptr DR_CACHE_BASE = 0x69000000; // Address of DR cache @@ -55,6 +53,8 @@ struct KernelData { extern uint32 RAMBase; // Base address of Mac RAM extern uint32 RAMSize; // Size address of Mac RAM extern uint8 *RAMBaseHost; // Base address of Mac RAM (host address space) + +extern uint32 ROMBase; // Base address of Mac ROM extern uint8 *ROMBaseHost; // Base address of Mac ROM (host address space) // Mac memory access functions