mirror of
https://github.com/holub/mame
synced 2025-06-07 21:33:45 +03:00
neogeo: move out-of-place section to where it was before (nw)
This commit is contained in:
parent
7d58fbe09f
commit
f65d6a204e
@ -568,24 +568,6 @@
|
|||||||
#define LOG_AUDIO_CPU_BANKING (0)
|
#define LOG_AUDIO_CPU_BANKING (0)
|
||||||
|
|
||||||
|
|
||||||
/*************************************
|
|
||||||
*
|
|
||||||
* Main CPU interrupt generation
|
|
||||||
*
|
|
||||||
*************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// The display counter is automatically reloaded with the load register contents on scanline 224,
|
|
||||||
// 1146 mclks from the rising edge of /HSYNC.
|
|
||||||
#define NEOGEO_VBLANK_RELOAD_HTIM (attotime::from_ticks(1146, NEOGEO_MASTER_CLOCK))
|
|
||||||
|
|
||||||
#define IRQ2CTRL_ENABLE (0x10)
|
|
||||||
#define IRQ2CTRL_LOAD_RELATIVE (0x20)
|
|
||||||
#define IRQ2CTRL_AUTOLOAD_VBLANK (0x40)
|
|
||||||
#define IRQ2CTRL_AUTOLOAD_REPEAT (0x80)
|
|
||||||
|
|
||||||
|
|
||||||
class mvs_state : public ngarcade_base_state
|
class mvs_state : public ngarcade_base_state
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -757,6 +739,22 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************
|
||||||
|
*
|
||||||
|
* Main CPU interrupt generation
|
||||||
|
*
|
||||||
|
*************************************/
|
||||||
|
|
||||||
|
// The display counter is automatically reloaded with the load register contents on scanline 224,
|
||||||
|
// 1146 mclks from the rising edge of /HSYNC.
|
||||||
|
#define NEOGEO_VBLANK_RELOAD_HTIM (attotime::from_ticks(1146, NEOGEO_MASTER_CLOCK))
|
||||||
|
|
||||||
|
#define IRQ2CTRL_ENABLE (0x10)
|
||||||
|
#define IRQ2CTRL_LOAD_RELATIVE (0x20)
|
||||||
|
#define IRQ2CTRL_AUTOLOAD_VBLANK (0x40)
|
||||||
|
#define IRQ2CTRL_AUTOLOAD_REPEAT (0x80)
|
||||||
|
|
||||||
void neogeo_base_state::adjust_display_position_interrupt_timer()
|
void neogeo_base_state::adjust_display_position_interrupt_timer()
|
||||||
{
|
{
|
||||||
attotime period = attotime::from_ticks((uint64_t)m_display_counter + 1, NEOGEO_PIXEL_CLOCK);
|
attotime period = attotime::from_ticks((uint64_t)m_display_counter + 1, NEOGEO_PIXEL_CLOCK);
|
||||||
|
Loading…
Reference in New Issue
Block a user