static uae_u32 REGPARAM2 chipmem_lget2 (uaecptr addr) { uae_u32 *m; addr -= chipmem_start & chipmem_mask; addr &= chipmem_mask; m = (uae_u32 *)(chipmemory + addr); if (ISILLEGAL (addr)) enforcer_display_hit ("LONG READ from", GET_PC, addr); return do_get_mem_long (m); }
static uae_u32 REGPARAM2 chipmem_bget2 (uaecptr addr) { addr -= chipmem_start_addr & chipmem_bank.mask; addr &= chipmem_bank.mask; if (ISILLEGAL_BYTE (addr)) { enforcer_display_hit (_T("BYTE READ from"), m68k_getpc (), addr); if (enforcermode & 1) set_special (SPCFLAG_TRAP); } return chipmem_bank.baseaddr[addr]; }
static uae_u32 REGPARAM2 chipmem_bget2 (uaecptr addr) { addr -= chipmem_start & chipmem_mask; addr &= chipmem_mask; if (ISILLEGAL_BYTE (addr)) { enforcer_display_hit (_T("BYTE READ from"),(uae_u32)(regs.pc_p - NMEM_OFFSET),addr); if (enforcermode & 1) set_special (SPCFLAG_TRAP); } return chipmemory[addr]; }
static void REGPARAM2 chipmem_bput2 (uaecptr addr, uae_u32 b) { addr -= chipmem_start_addr & chipmem_bank.mask; addr &= chipmem_bank.mask; if (ISILLEGAL_BYTE (addr)) { enforcer_display_hit (_T("BYTE WRITE to"), m68k_getpc (), addr); if (enforcermode & 1) set_special (SPCFLAG_TRAP); } if (ISEXEC (addr)) return; chipmem_bank.baseaddr[addr] = b; }
static void REGPARAM2 chipmem_bput2 (uaecptr addr, uae_u32 b) { addr -= chipmem_start & chipmem_mask; addr &= chipmem_mask; if (ISILLEGAL_BYTE (addr)) { enforcer_display_hit (_T("BYTE WRITE to"),(uae_u32)(regs.pc_p - NMEM_OFFSET),addr); if (enforcermode & 1) set_special (SPCFLAG_TRAP); } if (ISEXEC (addr)) return; chipmemory[addr] = b; }
static uae_u32 REGPARAM2 chipmem_wget2(uaecptr addr) { uae_u16 *m; addr -= chipmem_start_addr & chipmem_bank.mask; addr &= chipmem_bank.mask; m = (uae_u16 *)(chipmem_bank.baseaddr + addr); if (ISILLEGAL_WORD (addr)) { enforcer_display_hit (_T("WORD READ from"), m68k_getpc (), addr); if (enforcermode & 1) set_special (SPCFLAG_TRAP); } return do_get_mem_word (m); }
static uae_u32 REGPARAM2 chipmem_wget2(uaecptr addr) { uae_u16 *m; addr -= chipmem_start & chipmem_mask; addr &= chipmem_mask; m = (uae_u16 *)(chipmemory + addr); if (ISILLEGAL_WORD (addr)) { enforcer_display_hit (_T("WORD READ from"),(uae_u32)(regs.pc_p - NMEM_OFFSET),addr); if (enforcermode & 1) set_special (SPCFLAG_TRAP); } return do_get_mem_word (m); }
static uint32_t REGPARAM2 chipmem_lget2 (uaecptr addr) { uint32_t *m; addr -= chipmem_start_addr & chipmem_bank.mask; addr &= chipmem_bank.mask; m = (uint32_t *)(chipmem_bank.baseaddr + addr); if (ISILLEGAL_LONG (addr)) { enforcer_display_hit (_T("LONG READ from"), m68k_getpc (), addr); if (enforcermode & 1) set_special (SPCFLAG_TRAP); } return do_get_mem_long (m); }
static void REGPARAM2 chipmem_wput2 (uaecptr addr, uae_u32 w) { uae_u16 *m; addr -= chipmem_start_addr & chipmem_bank.mask; addr &= chipmem_bank.mask; m = (uae_u16 *)(chipmem_bank.baseaddr + addr); if (ISILLEGAL_WORD (addr)) { enforcer_display_hit (_T("WORD WRITE to"), m68k_getpc (), addr); if (enforcermode & 1) set_special (SPCFLAG_TRAP); } if (ISEXEC (addr) || ISEXEC (addr + 1)) return; do_put_mem_word (m, w); }
static void REGPARAM2 chipmem_wput2 (uaecptr addr, uae_u32 w) { uae_u16 *m; addr -= chipmem_start & chipmem_mask; addr &= chipmem_mask; m = (uae_u16 *)(chipmemory + addr); if (ISILLEGAL_WORD (addr)) { enforcer_display_hit (_T("WORD WRITE to"),(uae_u32)(regs.pc_p - NMEM_OFFSET),addr); if (enforcermode & 1) set_special (SPCFLAG_TRAP); } if (ISEXEC (addr) || ISEXEC (addr + 1)) return; do_put_mem_word (m, w); }
static void REGPARAM2 chipmem_lput2 (uaecptr addr, uae_u32 l) { uae_u32 *m; addr -= chipmem_start_addr & chipmem_bank.mask; addr &= chipmem_bank.mask; m = (uae_u32 *)(chipmem_bank.baseaddr + addr); if (ISILLEGAL_LONG (addr)) { enforcer_display_hit (_T("LONG WRITE to"), m68k_getpc (), addr); if (enforcermode & 1) if (addr != 0x100) set_special (SPCFLAG_TRAP); } if (ISEXEC (addr) || ISEXEC (addr + 1) || ISEXEC (addr + 2) || ISEXEC (addr + 3)) return; do_put_mem_long (m, l); }
static void REGPARAM2 chipmem_lput2 (uaecptr addr, uae_u32 l) { uae_u32 *m; addr -= chipmem_start & chipmem_mask; addr &= chipmem_mask; m = (uae_u32 *)(chipmemory + addr); if (ISILLEGAL_LONG (addr)) { enforcer_display_hit (_T("LONG WRITE to"),(uae_u32)(regs.pc_p - NMEM_OFFSET),addr); if (enforcermode & 1) if (addr != 0x100) set_special (SPCFLAG_TRAP); } if (ISEXEC (addr) || ISEXEC (addr + 1) || ISEXEC (addr + 2) || ISEXEC (addr + 3)) return; do_put_mem_long (m, l); }
static int REGPARAM2 dummy_check2 (uaecptr addr, uae_u32 size) { special_mem_r; enforcer_display_hit (_T("CHECK from "), m68k_getpc (), addr); return 0; }
static int REGPARAM2 dummy_check2 (uaecptr addr, uae_u32 size) { special_mem_r; enforcer_display_hit (_T("CHECK from "),(uae_u32)(regs.pc_p - NMEM_OFFSET),addr); return 0; }