diff options
Diffstat (limited to 'src/mess/includes/lviv.h')
-rw-r--r-- | src/mess/includes/lviv.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/mess/includes/lviv.h b/src/mess/includes/lviv.h new file mode 100644 index 00000000000..58dc202c048 --- /dev/null +++ b/src/mess/includes/lviv.h @@ -0,0 +1,47 @@ +/***************************************************************************** + * + * includes/lviv.h + * + ****************************************************************************/ + +#ifndef LVIV_H_ +#define LVIV_H_ + +#include "imagedev/snapquik.h" +#include "machine/i8255.h" + +class lviv_state : public driver_device +{ +public: + lviv_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag) { } + + unsigned char * m_video_ram; + unsigned short m_colortable[1][4]; + UINT8 m_ppi_port_outputs[2][3]; + UINT8 m_startup_mem_map; + DECLARE_READ8_MEMBER(lviv_io_r); + DECLARE_WRITE8_MEMBER(lviv_io_w); + DECLARE_DIRECT_UPDATE_MEMBER(lviv_directoverride); +}; + + +/*----------- defined in machine/lviv.c -----------*/ + +extern const i8255_interface lviv_ppi8255_interface_0; +extern const i8255_interface lviv_ppi8255_interface_1; + +MACHINE_RESET( lviv ); +SNAPSHOT_LOAD( lviv ); + + +/*----------- defined in video/lviv.c -----------*/ + +extern VIDEO_START( lviv ); +extern SCREEN_UPDATE_IND16( lviv ); +extern const unsigned char lviv_palette[8*3]; +extern PALETTE_INIT( lviv ); +extern void lviv_update_palette(running_machine &, UINT8); + + +#endif /* LVIV_H_ */ |