bool preinit_shm (void);
extern bool canbang;
extern bool jit_direct_compatible_memory;
+extern uaecptr highest_ram;
#define Z3BASE_UAE 0x10000000
#define Z3BASE_REAL 0x40000000
#include "casablanca.h"
bool canbang;
+uaecptr highest_ram;
static bool rom_write_enabled;
#ifdef JIT
/* Set by each memory handler that does not simply access real memory. */
int bnk, bnk_end;
bool gayleorfatgary;
+ highest_ram = 0;
alg_flag = 0;
need_hardreset = false;
rom_write_enabled = true;
#ifdef WITH_PPC
ppc_generate_map_banks(bank, start, size);
#endif
+ if ((bank->flags & ABFLAG_RAM) && !(bank->flags & ABFLAG_RTG) && ((start + size) << 16) > highest_ram) {
+ highest_ram = (start + size) << 16;
+ }
}
bool validate_banks_z3(addrbank *bank, int start, int size)