diff --git a/src/devices/cpu/drccache.h b/src/devices/cpu/drccache.h index 5ff7045ecd8..bbbcf62af63 100644 --- a/src/devices/cpu/drccache.h +++ b/src/devices/cpu/drccache.h @@ -69,7 +69,7 @@ public: private: // largest block of code that can be generated at once - static const size_t CODEGEN_MAX_BYTES = 65536; + static const size_t CODEGEN_MAX_BYTES = 131072; // minimum alignment, in bytes (must be power of 2) static const size_t CACHE_ALIGNMENT = alignof(std::max_align_t); @@ -78,7 +78,7 @@ private: static const size_t MAX_PERMANENT_ALLOC = 1024; // size of "near" area at the base of the cache - static const size_t NEAR_CACHE_SIZE = 65536; + static const size_t NEAR_CACHE_SIZE = 131072; // core parameters drccodeptr m_near; // pointer to the near part of the cache diff --git a/src/mame/drivers/seta.cpp b/src/mame/drivers/seta.cpp index 4548b05734c..79cb5046c61 100644 --- a/src/mame/drivers/seta.cpp +++ b/src/mame/drivers/seta.cpp @@ -2547,8 +2547,9 @@ static ADDRESS_MAP_START( kamenrid_map, AS_PROGRAM, 16, seta_state ) AM_RANGE(0x500004, 0x500007) AM_READ(seta_dsw_r) // DSW AM_RANGE(0x500008, 0x500009) AM_READ_PORT("COINS") // Coins AM_RANGE(0x50000c, 0x50000d) AM_DEVREADWRITE("watchdog", watchdog_timer_device, reset16_r, reset16_w) // xx Watchdog? (sokonuke) + AM_RANGE(0x600004, 0x600005) AM_WRITE(ipl1_ack_w) AM_RANGE(0x600000, 0x600005) AM_RAM_WRITE(seta_vregs_w) AM_SHARE("vregs") // ? Coin Lockout + Video Registers - AM_RANGE(0x600006, 0x600007) AM_WRITENOP // ? + AM_RANGE(0x600006, 0x600007) AM_WRITE(ipl2_ack_w) AM_RANGE(0x700000, 0x7003ff) AM_RAM // Palette RAM (tested) AM_RANGE(0x700400, 0x700fff) AM_RAM AM_SHARE("paletteram") // Palette AM_RANGE(0x701000, 0x703fff) AM_RAM // Palette @@ -2563,11 +2564,7 @@ static ADDRESS_MAP_START( kamenrid_map, AS_PROGRAM, 16, seta_state ) AM_RANGE(0xa80000, 0xa80001) AM_RAM // ? $4000 AM_RANGE(0xb00000, 0xb03fff) AM_RAM AM_DEVREADWRITE("spritegen", seta001_device, spritecode_r16, spritecode_w16) // Sprites Code + X + Attr AM_RANGE(0xb04000, 0xb07fff) AM_RAM // tested -#if __uPD71054_TIMER - AM_RANGE(0xc00000, 0xc00007) AM_WRITE(timer_regs_w) // ? -#else - AM_RANGE(0xc00000, 0xc00007) AM_WRITENOP // ? -#endif + AM_RANGE(0xc00000, 0xc00007) AM_DEVREADWRITE8("pit", pit8254_device, read, write, 0x00ff) AM_RANGE(0xd00000, 0xd03fff) AM_DEVREADWRITE("x1snd", x1_010_device, word_r, word_w) // Sound ADDRESS_MAP_END @@ -2692,8 +2689,8 @@ static ADDRESS_MAP_START( msgundam_map, AS_PROGRAM, 16, seta_state ) AM_RANGE(0x400000, 0x400001) AM_READ_PORT("P1") // P1 AM_RANGE(0x400002, 0x400003) AM_READ_PORT("P2") // P2 AM_RANGE(0x400004, 0x400005) AM_READ_PORT("COINS") // Coins - AM_RANGE(0x400000, 0x400001) AM_WRITENOP // Lev 2 IRQ Ack - AM_RANGE(0x400004, 0x400005) AM_WRITENOP // Lev 4 IRQ Ack + AM_RANGE(0x400000, 0x400001) AM_WRITE(ipl1_ack_w) // Lev 2 IRQ Ack + AM_RANGE(0x400004, 0x400005) AM_WRITE(ipl2_ack_w) // Lev 4 IRQ Ack AM_RANGE(0x500000, 0x500005) AM_RAM_WRITE(msgundam_vregs_w) AM_SHARE("vregs") // Coin Lockout + Video Registers AM_RANGE(0x600000, 0x600003) AM_READ(seta_dsw_r) // DSW AM_RANGE(0x700400, 0x700fff) AM_RAM AM_SHARE("paletteram") // Palette @@ -2706,11 +2703,7 @@ static ADDRESS_MAP_START( msgundam_map, AS_PROGRAM, 16, seta_state ) AM_RANGE(0xb00000, 0xb00005) AM_RAM AM_SHARE("vctrl_0") // VRAM 0&1 Ctrl AM_RANGE(0xb80000, 0xb80005) AM_RAM AM_SHARE("vctrl_2") // VRAM 2&3 Ctrl AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1snd", x1_010_device, word_r, word_w) // Sound -#if __uPD71054_TIMER - AM_RANGE(0xd00000, 0xd00007) AM_WRITE(timer_regs_w) // ? -#else - AM_RANGE(0xd00000, 0xd00007) AM_WRITENOP // ? -#endif + AM_RANGE(0xd00000, 0xd00007) AM_DEVREADWRITE8("pit", pit8254_device, read, write, 0x00ff) ADDRESS_MAP_END @@ -8756,12 +8749,12 @@ static MACHINE_CONFIG_START( kamenrid ) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", M68000, 16000000) /* 16 MHz */ MCFG_CPU_PROGRAM_MAP(kamenrid_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", seta_state, wrofaero_interrupt) + MCFG_CPU_VBLANK_INT_DRIVER("screen", seta_state, irq2_line_assert) MCFG_WATCHDOG_ADD("watchdog") -#if __uPD71054_TIMER - MCFG_MACHINE_START_OVERRIDE(seta_state, wrofaero ) -#endif // __uPD71054_TIMER + MCFG_DEVICE_ADD("pit", PIT8254, 0) // uPD71054C + MCFG_PIT8253_CLK0(16000000/2/8) + MCFG_PIT8253_OUT0_HANDLER(WRITELINE(seta_state, pit_out0)) MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0) MCFG_SETA001_SPRITE_GFXDECODE("gfxdecode") @@ -9019,15 +9012,11 @@ static MACHINE_CONFIG_START( msgundam ) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", M68000, 16000000) /* 16 MHz */ MCFG_CPU_PROGRAM_MAP(msgundam_map) -#if __uPD71054_TIMER - MCFG_CPU_VBLANK_INT_DRIVER("screen", seta_state, wrofaero_interrupt) -#else - MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", seta_state, seta_interrupt_2_and_4, "screen", 0, 1) -#endif // __uPD71054_TIMER + MCFG_CPU_VBLANK_INT_DRIVER("screen", seta_state, irq2_line_assert) -#if __uPD71054_TIMER - MCFG_MACHINE_START_OVERRIDE(seta_state, wrofaero ) -#endif // __uPD71054_TIMER + MCFG_DEVICE_ADD("pit", PIT8254, 0) // uPD71054C + MCFG_PIT8253_CLK0(16000000/2/8) + MCFG_PIT8253_OUT0_HANDLER(WRITELINE(seta_state, pit_out0)) MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0) MCFG_SETA001_SPRITE_GFXDECODE("gfxdecode")