mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
cp2000: put sboard interface on left side like everywhere else
This commit is contained in:
parent
d6ea641f82
commit
4da115a715
@ -3518,7 +3518,7 @@ void z80_device::execute_run()
|
|||||||
m_r++;
|
m_r++;
|
||||||
uint8_t opcode = rop();
|
uint8_t opcode = rop();
|
||||||
|
|
||||||
// when in HALT state, the fetched opcode is not executed (aka a NOP)
|
// when in HALT state, the fetched opcode is not dispatched (aka a NOP)
|
||||||
if (m_halt)
|
if (m_halt)
|
||||||
{
|
{
|
||||||
PC--;
|
PC--;
|
||||||
|
@ -116,20 +116,14 @@ private:
|
|||||||
void shift_clock_w(int state);
|
void shift_clock_w(int state);
|
||||||
void shift_data_w(int state);
|
void shift_data_w(int state);
|
||||||
|
|
||||||
u8 m_select;
|
u8 m_select = 0;
|
||||||
u8 m_led_data;
|
u8 m_led_data = 0;
|
||||||
u8 m_shift_data;
|
u8 m_shift_data = 0;
|
||||||
u8 m_shift_clock;
|
u8 m_shift_clock = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
void prodigy_state::machine_start()
|
void prodigy_state::machine_start()
|
||||||
{
|
{
|
||||||
// zerofill
|
|
||||||
m_select = 0;
|
|
||||||
m_led_data = 0;
|
|
||||||
m_shift_data = 0;
|
|
||||||
m_shift_clock = 0;
|
|
||||||
|
|
||||||
// register for savestates
|
// register for savestates
|
||||||
save_item(NAME(m_select));
|
save_item(NAME(m_select));
|
||||||
save_item(NAME(m_led_data));
|
save_item(NAME(m_led_data));
|
||||||
|
@ -86,7 +86,7 @@ Some bugs left :
|
|||||||
- Implement full Asic for CPC+ emulation. Soft scroll is rather dodgy.
|
- Implement full Asic for CPC+ emulation. Soft scroll is rather dodgy.
|
||||||
- The KC Compact should not reuse the gate array functionality. Instead z8536 support should be added. (bug #42)
|
- The KC Compact should not reuse the gate array functionality. Instead z8536 support should be added. (bug #42)
|
||||||
|
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
/* Core includes */
|
/* Core includes */
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
@ -1327,5 +1327,5 @@ COMP( 1985, cpc6128sp, cpc464, 0, cpc6128, cpc6128sp, amstrad_state, empty_
|
|||||||
COMP( 1990, cpc464p, 0, 0, cpcplus, plus, amstrad_state, empty_init, "Amstrad plc", "Amstrad CPC464+", 0 )
|
COMP( 1990, cpc464p, 0, 0, cpcplus, plus, amstrad_state, empty_init, "Amstrad plc", "Amstrad CPC464+", 0 )
|
||||||
COMP( 1990, cpc6128p, 0, 0, cpcplus, plus, amstrad_state, empty_init, "Amstrad plc", "Amstrad CPC6128+", 0 )
|
COMP( 1990, cpc6128p, 0, 0, cpcplus, plus, amstrad_state, empty_init, "Amstrad plc", "Amstrad CPC6128+", 0 )
|
||||||
CONS( 1990, gx4000, 0, 0, gx4000, gx4000, amstrad_state, empty_init, "Amstrad plc", "Amstrad GX4000", 0 )
|
CONS( 1990, gx4000, 0, 0, gx4000, gx4000, amstrad_state, empty_init, "Amstrad plc", "Amstrad GX4000", 0 )
|
||||||
COMP( 1989, kccomp, cpc464, 0, kccomp, kccomp, amstrad_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "KC Compact", 0 )
|
COMP( 1989, kccomp, cpc464, 0, kccomp, kccomp, amstrad_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "KC Compact", 0 )
|
||||||
COMP( 1993, al520ex, cpc464, 0, aleste, aleste, amstrad_state, empty_init, "Patisonic", "Aleste 520EX", MACHINE_IMPERFECT_SOUND )
|
COMP( 1993, al520ex, cpc464, 0, aleste, aleste, amstrad_state, empty_init, "Patisonic", "Aleste 520EX", MACHINE_IMPERFECT_SOUND )
|
||||||
|
@ -159,20 +159,14 @@ private:
|
|||||||
u8 ppi_portc_r();
|
u8 ppi_portc_r();
|
||||||
void ppi_portc_w(u8 data);
|
void ppi_portc_w(u8 data);
|
||||||
|
|
||||||
u8 m_led_select;
|
u8 m_led_select = 0;
|
||||||
u8 m_7seg_data;
|
u8 m_7seg_data = 0;
|
||||||
u8 m_inp_mux;
|
u8 m_inp_mux = 0;
|
||||||
u8 m_speech_bank;
|
u8 m_speech_bank = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
void vcc_state::machine_start()
|
void vcc_state::machine_start()
|
||||||
{
|
{
|
||||||
// zerofill
|
|
||||||
m_led_select = 0;
|
|
||||||
m_7seg_data = 0;
|
|
||||||
m_inp_mux = 0;
|
|
||||||
m_speech_bank = 0;
|
|
||||||
|
|
||||||
// register for savestates
|
// register for savestates
|
||||||
save_item(NAME(m_led_select));
|
save_item(NAME(m_led_select));
|
||||||
save_item(NAME(m_7seg_data));
|
save_item(NAME(m_7seg_data));
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// copyright-holders:Kevin Thacker,Sandro Ronco
|
// copyright-holders:Kevin Thacker,Sandro Ronco
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
||||||
kc.c
|
kc.cpp
|
||||||
system driver
|
system driver
|
||||||
|
|
||||||
A big thankyou to Torsten Paul for his great help with this
|
A big thankyou to Torsten Paul for his great help with this
|
||||||
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Kevin Thacker [MESS driver]
|
Kevin Thacker [MESS driver]
|
||||||
|
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
/* Core includes */
|
/* Core includes */
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
@ -292,7 +292,7 @@ ROM_START(kc85_5)
|
|||||||
ROM_END
|
ROM_END
|
||||||
|
|
||||||
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
|
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
|
||||||
COMP( 1987, kc85_2, 0, 0, kc85_3, kc85, kc_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "HC900 / KC 85/2", MACHINE_NOT_WORKING)
|
COMP( 1987, kc85_2, 0, 0, kc85_3, kc85, kc_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "HC900 / KC 85/2", MACHINE_NOT_WORKING)
|
||||||
COMP( 1987, kc85_3, kc85_2, 0, kc85_3, kc85, kc_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "KC 85/3", MACHINE_NOT_WORKING)
|
COMP( 1987, kc85_3, kc85_2, 0, kc85_3, kc85, kc_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "KC 85/3", MACHINE_NOT_WORKING)
|
||||||
COMP( 1989, kc85_4, kc85_2, 0, kc85_4, kc85, kc85_4_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "KC 85/4", MACHINE_NOT_WORKING)
|
COMP( 1989, kc85_4, kc85_2, 0, kc85_4, kc85, kc85_4_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "KC 85/4", MACHINE_NOT_WORKING)
|
||||||
COMP( 1989, kc85_5, kc85_2, 0, kc85_5, kc85, kc85_4_state, empty_init, "VEB Mikroelektronik \"Wilhelm Pieck\" Muehlhausen", "KC 85/5", MACHINE_NOT_WORKING)
|
COMP( 1989, kc85_5, kc85_2, 0, kc85_5, kc85, kc85_4_state, empty_init, u8"VEB Mikroelektronik \"Wilhelm Pieck\" Mühlhausen", "KC 85/5", MACHINE_NOT_WORKING)
|
||||||
|
@ -366,7 +366,7 @@ license:CC0
|
|||||||
<!-- build screen -->
|
<!-- build screen -->
|
||||||
|
|
||||||
<view name="Internal Layout">
|
<view name="Internal Layout">
|
||||||
<bounds left="-12" right="106.5" top="-1.5" bottom="87.5" />
|
<bounds left="-12.5" right="106.5" top="-1.5" bottom="87.5" />
|
||||||
|
|
||||||
<group ref="sb_board"><bounds x="4" y="3" width="80" height="80" /></group>
|
<group ref="sb_board"><bounds x="4" y="3" width="80" height="80" /></group>
|
||||||
<group ref="sb_ui"><bounds x="-11" y="3" width="10" height="80" /></group>
|
<group ref="sb_ui"><bounds x="-11" y="3" width="10" height="80" /></group>
|
||||||
|
@ -600,12 +600,10 @@ license:CC0
|
|||||||
<!-- build screen -->
|
<!-- build screen -->
|
||||||
|
|
||||||
<view name="Internal Layout">
|
<view name="Internal Layout">
|
||||||
<bounds left="61" right="198.25" top="0" bottom="86" />
|
<bounds left="49.75" right="186" top="0" bottom="86" />
|
||||||
|
|
||||||
<group ref="sb_board"><bounds x="102" y="2" width="82" height="82" /></group>
|
<group ref="sb_board"><bounds x="102" y="2" width="82" height="82" /></group>
|
||||||
|
<group ref="sb_ui"><bounds x="51.25" y="2" width="10.25" height="82" /></group>
|
||||||
<!-- putting sb_ui on the right side, since chesscomputer has its own ui on the left -->
|
|
||||||
<group ref="sb_ui"><bounds x="186" y="2" width="10.25" height="82" /></group>
|
|
||||||
|
|
||||||
<!-- left side display -->
|
<!-- left side display -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user