diff options
author | 2015-09-13 08:41:44 +0200 | |
---|---|---|
committer | 2015-09-13 08:41:44 +0200 | |
commit | f88cefad27a1737c76e09d99c9fb43e173506081 (patch) | |
tree | 2d8167d03579c46e226471747eb4407bd00ed6fa /src/emu/bus/ti99_peb/hsgpl.h | |
parent | e92ac9e0fa8e99869894bea00589bbb526be30aa (diff) |
Move all devices into separate part of src tree (nw)
Diffstat (limited to 'src/emu/bus/ti99_peb/hsgpl.h')
-rw-r--r-- | src/emu/bus/ti99_peb/hsgpl.h | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/src/emu/bus/ti99_peb/hsgpl.h b/src/emu/bus/ti99_peb/hsgpl.h deleted file mode 100644 index bb87cc77a38..00000000000 --- a/src/emu/bus/ti99_peb/hsgpl.h +++ /dev/null @@ -1,83 +0,0 @@ -// license:LGPL-2.1+ -// copyright-holders:Michael Zapf -/**************************************************************************** - - SNUG HSGPL card emulation. - See hsgpl.c for documentation - - Raphael Nabet, 2003. - - Michael Zapf - October 2010: Rewritten as device - February 2012: Rewritten as class - -*****************************************************************************/ - -#ifndef __HSGPL__ -#define __HSGPL__ - -#include "emu.h" -#include "peribox.h" -#include "machine/at29x.h" - -extern const device_type TI99_HSGPL; - -class snug_high_speed_gpl_device : public ti_expansion_card_device -{ -public: - snug_high_speed_gpl_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - DECLARE_READ8Z_MEMBER(readz); - DECLARE_WRITE8_MEMBER(write); - - DECLARE_READ8Z_MEMBER(crureadz); - DECLARE_WRITE8_MEMBER(cruwrite); - -protected: - virtual void device_start(void); - virtual void device_reset(void); - virtual void device_stop(void); - virtual void device_config_complete(void); - virtual ioport_constructor device_input_ports() const; - - virtual machine_config_constructor device_mconfig_additions() const; - -private: - at29c040a_device* m_dsr_eeprom; - at29c040a_device* m_rom6_eeprom; - at29c040a_device* m_grom_a_eeprom; - at29c040a_device* m_grom_b_eeprom; - - UINT8* m_ram6_memory; - UINT8* m_gram_memory; - - void dsrspace_readz(address_space& space, offs_t offset, UINT8* value, UINT8 mem_mask); - void cartspace_readz(address_space& space, offs_t offset, UINT8* value, UINT8 mem_mask); - void grom_readz(address_space& space, offs_t offset, UINT8* value, UINT8 mem_mask); - - void cartspace_write(address_space& space, offs_t offset, UINT8 data, UINT8 mem_mask); - void grom_write(address_space& space, offs_t offset, UINT8 data, UINT8 mem_mask); - - bool m_dsr_enabled; - bool m_gram_enabled; - bool m_bank_inhibit; - int m_dsr_page; - bool m_card_enabled; - bool m_write_enabled; - bool m_supercart_enabled; - bool m_led_on; - bool m_mbx_enabled; - bool m_ram_enabled; - bool m_flash_mode; - - int m_current_grom_port; - int m_current_bank; - - int m_module_bank; - - // GROM emulation - bool m_waddr_LSB; - bool m_raddr_LSB; - int m_grom_address; -}; - -#endif |