mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
midzeus fix (nw)
This commit is contained in:
parent
faaac88e17
commit
cd7d56c770
@ -2491,6 +2491,7 @@ files {
|
||||
MAME_DIR .. "src/mame/video/midyunit.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/midzeus.cpp",
|
||||
MAME_DIR .. "src/mame/includes/midzeus.h",
|
||||
MAME_DIR .. "src/mame/includes/midzeus2.h",
|
||||
MAME_DIR .. "src/mame/video/midzeus.cpp",
|
||||
MAME_DIR .. "src/mame/video/midzeus2.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/mw18w.cpp",
|
||||
|
@ -31,6 +31,7 @@ The Grid v1.2 10/18/2000
|
||||
#include "cpu/adsp2100/adsp2100.h"
|
||||
#include "cpu/pic16c5x/pic16c5x.h"
|
||||
#include "includes/midzeus.h"
|
||||
#include "includes/midzeus2.h"
|
||||
#include "machine/midwayic.h"
|
||||
#include "audio/dcs.h"
|
||||
#include "machine/nvram.h"
|
||||
|
@ -85,24 +85,3 @@ private:
|
||||
void update_gun_irq();
|
||||
};
|
||||
|
||||
|
||||
class midzeus2_state : public midzeus_state
|
||||
{
|
||||
public:
|
||||
midzeus2_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: midzeus_state(mconfig, type, tag) { }
|
||||
|
||||
DECLARE_VIDEO_START(midzeus2);
|
||||
UINT32 screen_update_midzeus2(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
|
||||
DECLARE_READ32_MEMBER( zeus2_r );
|
||||
DECLARE_WRITE32_MEMBER( zeus2_w );
|
||||
private:
|
||||
TIMER_CALLBACK_MEMBER(int_timer_callback);
|
||||
void exit_handler2();
|
||||
void zeus2_register32_w(offs_t offset, UINT32 data, int logit);
|
||||
void zeus2_register_update(offs_t offset, UINT32 oldval, int logit);
|
||||
int zeus2_fifo_process(const UINT32 *data, int numwords);
|
||||
void zeus2_pointer_write(UINT8 which, UINT32 value);
|
||||
void zeus2_draw_model(UINT32 baseaddr, UINT16 count, int logit);
|
||||
void log_fifo_command(const UINT32 *data, int numwords, const char *suffix);
|
||||
};
|
||||
|
28
src/mame/includes/midzeus2.h
Normal file
28
src/mame/includes/midzeus2.h
Normal file
@ -0,0 +1,28 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Aaron Giles
|
||||
/*************************************************************************
|
||||
|
||||
Driver for Midway Zeus games
|
||||
|
||||
**************************************************************************/
|
||||
|
||||
class midzeus2_state : public midzeus_state
|
||||
{
|
||||
public:
|
||||
midzeus2_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: midzeus_state(mconfig, type, tag) { }
|
||||
|
||||
DECLARE_VIDEO_START(midzeus2);
|
||||
UINT32 screen_update_midzeus2(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
|
||||
DECLARE_READ32_MEMBER( zeus2_r );
|
||||
DECLARE_WRITE32_MEMBER( zeus2_w );
|
||||
private:
|
||||
TIMER_CALLBACK_MEMBER(int_timer_callback);
|
||||
void exit_handler2();
|
||||
void zeus2_register32_w(offs_t offset, UINT32 data, int logit);
|
||||
void zeus2_register_update(offs_t offset, UINT32 oldval, int logit);
|
||||
int zeus2_fifo_process(const UINT32 *data, int numwords);
|
||||
void zeus2_pointer_write(UINT8 which, UINT32 value);
|
||||
void zeus2_draw_model(UINT32 baseaddr, UINT16 count, int logit);
|
||||
void log_fifo_command(const UINT32 *data, int numwords, const char *suffix);
|
||||
};
|
@ -9,6 +9,7 @@
|
||||
#include "emu.h"
|
||||
#include "cpu/tms32031/tms32031.h"
|
||||
#include "includes/midzeus.h"
|
||||
#include "includes/midzeus2.h"
|
||||
#include "video/poly.h"
|
||||
#include "video/rgbutil.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user