Esempio n. 1
0
static WRITE8_HANDLER(ts2068_port_f4_w)
{
	spectrum_state *state = space.machine().driver_data<spectrum_state>();

	state->m_port_f4_data = data;
	ts2068_update_memory(space.machine());
}
Esempio n. 2
0
ADDRESS_MAP_END


MACHINE_RESET_MEMBER(spectrum_state,ts2068)
{
	m_port_ff_data = 0;
	m_port_f4_data = 0;
	ts2068_update_memory();
	MACHINE_RESET_CALL_MEMBER(spectrum);

}
Esempio n. 3
0
static WRITE8_HANDLER(ts2068_port_ff_w)
{
		/* Bits 0-2 Video Mode Select
		   Bits 3-5 64 column mode ink/paper selection
		            (See ts2068_vh_screenrefresh for more info)
		   Bit  6   17ms Interrupt Inhibit
		   Bit  7   Cartridge (0) / EXROM (1) select
		*/
	spectrum_state *state = space.machine().driver_data<spectrum_state>();

	state->m_port_ff_data = data;
	ts2068_update_memory(space.machine());
	logerror("Port %04x write %02x\n", offset, data);
}
Esempio n. 4
0
ADDRESS_MAP_END


MACHINE_RESET_MEMBER(spectrum_state,ts2068)
{
	m_port_ff_data = 0;
	m_port_f4_data = 0;

	std::string region_tag;
	m_dock_crt = memregion(region_tag.assign(m_dock->tag()).append(GENERIC_ROM_REGION_TAG).c_str());
	m_dock_cart_type = m_dock_crt ? TIMEX_CART_DOCK : TIMEX_CART_NONE;

	ts2068_update_memory();
	MACHINE_RESET_CALL_MEMBER(spectrum);
}