(MESS) ec1841 updates: [shattered]

- Emulated the original keyboard
- DIP switches added
- Improved memory mapping
This commit is contained in:
R. Belmont 2013-09-29 15:30:43 +00:00
parent 8cf2c2c122
commit d1349077e6
9 changed files with 657 additions and 14 deletions

2
.gitattributes vendored
View File

@ -7593,6 +7593,8 @@ src/mess/machine/kaypro.c svneol=native#text/plain
src/mess/machine/kb3600.c svneol=native#text/plain src/mess/machine/kb3600.c svneol=native#text/plain
src/mess/machine/kb3600.h svneol=native#text/plain src/mess/machine/kb3600.h svneol=native#text/plain
src/mess/machine/kb_7007_3.h svneol=native#text/plain src/mess/machine/kb_7007_3.h svneol=native#text/plain
src/mess/machine/kb_ec1841.c svneol=native#text/plain
src/mess/machine/kb_ec1841.h svneol=native#text/plain
src/mess/machine/kb_keytro.c svneol=native#text/plain src/mess/machine/kb_keytro.c svneol=native#text/plain
src/mess/machine/kb_keytro.h svneol=native#text/plain src/mess/machine/kb_keytro.h svneol=native#text/plain
src/mess/machine/kb_msnat.c svneol=native#text/plain src/mess/machine/kb_msnat.c svneol=native#text/plain

View File

@ -140,7 +140,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( ec1841_map, AS_PROGRAM, 16, pc_state ) static ADDRESS_MAP_START( ec1841_map, AS_PROGRAM, 16, pc_state )
ADDRESS_MAP_UNMAP_HIGH ADDRESS_MAP_UNMAP_HIGH
AM_RANGE(0x00000, 0x7ffff) AM_RAMBANK("bank10") // up to 4 banks AM_RANGE(0x00000, 0x7ffff) AM_RAM
AM_RANGE(0xa0000, 0xbffff) AM_NOP AM_RANGE(0xa0000, 0xbffff) AM_NOP
AM_RANGE(0xc0000, 0xc7fff) AM_ROM AM_RANGE(0xc0000, 0xc7fff) AM_ROM
AM_RANGE(0xc8000, 0xcffff) AM_ROM AM_RANGE(0xc8000, 0xcffff) AM_ROM
@ -879,6 +879,35 @@ static INPUT_PORTS_START( mc1502 ) /* fix */
PORT_INCLUDE( pcvideo_mc1502 ) PORT_INCLUDE( pcvideo_mc1502 )
INPUT_PORTS_END INPUT_PORTS_END
static INPUT_PORTS_START( ec1841 )
PORT_START("DSW0") /* SA1 */
PORT_DIPNAME( 0xc0, 0x40, "Number of floppy drives")
PORT_DIPSETTING( 0x00, "1" )
PORT_DIPSETTING( 0x40, "2" )
PORT_DIPSETTING( 0x80, "3" )
PORT_DIPSETTING( 0xc0, "4" )
PORT_DIPNAME( 0x30, 0x20, "Graphics adapter")
PORT_DIPSETTING( 0x00, "Reserved" )
PORT_DIPSETTING( 0x10, "Color 40x25" )
PORT_DIPSETTING( 0x20, "Color 80x25" )
PORT_DIPSETTING( 0x30, "Monochrome" )
PORT_BIT( 0x08, 0x08, IPT_UNUSED )
PORT_DIPNAME( 0x04, 0x04, "Floppy type")
PORT_DIPSETTING( 0x00, "80 tracks" )
PORT_DIPSETTING( 0x04, "40 tracks" )
PORT_DIPNAME( 0x02, 0x00, "8087 installed")
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
PORT_DIPSETTING( 0x02, DEF_STR( Yes ) )
PORT_DIPNAME( 0x01, 0x01, "Boot from floppy")
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
PORT_DIPSETTING( 0x01, DEF_STR( Yes ) )
// PORT_START("DSW1") /* SA2 */
PORT_INCLUDE( pcvideo_cga )
INPUT_PORTS_END
static const pc_lpt_interface pc_lpt_config = static const pc_lpt_interface pc_lpt_config =
{ {
@ -1523,14 +1552,13 @@ static MACHINE_CONFIG_START( ec1841, pc_state )
MCFG_SOFTWARE_LIST_ADD("flop_list","ec1841") MCFG_SOFTWARE_LIST_ADD("flop_list","ec1841")
/* keyboard -- needs dump */
MCFG_PC_KBDC_ADD("pc_kbdc", pc_kbdc_intf) MCFG_PC_KBDC_ADD("pc_kbdc", pc_kbdc_intf)
MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_xt_keyboards, STR_KBD_KEYTRONIC_PC3270) MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_xt_keyboards, STR_KBD_EC_1841)
/* internal ram -- up to 4 banks of 512K */ /* internal ram -- up to 4 banks of 512K */
MCFG_RAM_ADD(RAM_TAG) MCFG_RAM_ADD(RAM_TAG)
MCFG_RAM_DEFAULT_SIZE("512K") MCFG_RAM_DEFAULT_SIZE("512K")
// MCFG_RAM_EXTRA_OPTIONS("640K,1024K,1576K,2048K") MCFG_RAM_EXTRA_OPTIONS("1024K,1576K,2048K")
MACHINE_CONFIG_END MACHINE_CONFIG_END
@ -2540,7 +2568,7 @@ COMP( 1989, iskr1030m, ibm5150, 0, iskr1031, pccga, pc_state,
COMP( 1992, iskr3104, ibm5150, 0, iskr3104, pcega, pc_state, pccga, "Schetmash", "Iskra 3104", GAME_NOT_WORKING) COMP( 1992, iskr3104, ibm5150, 0, iskr3104, pcega, pc_state, pccga, "Schetmash", "Iskra 3104", GAME_NOT_WORKING)
COMP( 198?, asst128, ibm5150, 0, asst128, pccga, pc_state, pccga, "Schetmash", "Assistent 128", GAME_NOT_WORKING) COMP( 198?, asst128, ibm5150, 0, asst128, pccga, pc_state, pccga, "Schetmash", "Assistent 128", GAME_NOT_WORKING)
COMP( 1987, ec1840, ibm5150, 0, iskr1031, pccga, pc_state, pccga, "<unknown>", "EC-1840", GAME_NOT_WORKING) COMP( 1987, ec1840, ibm5150, 0, iskr1031, pccga, pc_state, pccga, "<unknown>", "EC-1840", GAME_NOT_WORKING)
COMP( 1987, ec1841, ibm5150, 0, ec1841, pccga, pc_state, pccga, "<unknown>", "EC-1841", GAME_NOT_WORKING) COMP( 1987, ec1841, ibm5150, 0, ec1841, ec1841, pc_state, ec1841, "<unknown>", "EC-1841", GAME_NOT_WORKING)
COMP( 1989, ec1845, ibm5150, 0, iskr1031, pccga, pc_state, pccga, "<unknown>", "EC-1845", GAME_NOT_WORKING) COMP( 1989, ec1845, ibm5150, 0, iskr1031, pccga, pc_state, pccga, "<unknown>", "EC-1845", GAME_NOT_WORKING)
COMP( 1989, mk88, ibm5150, 0, iskr1031, pccga, pc_state, pccga, "<unknown>", "MK-88", GAME_NOT_WORKING) COMP( 1989, mk88, ibm5150, 0, iskr1031, pccga, pc_state, pccga, "<unknown>", "MK-88", GAME_NOT_WORKING)
COMP( 1990, poisk1, ibm5150, 0, iskr1031, pccga, pc_state, pccga, "<unknown>", "Poisk-1", GAME_NOT_WORKING) COMP( 1990, poisk1, ibm5150, 0, iskr1031, pccga, pc_state, pccga, "<unknown>", "Poisk-1", GAME_NOT_WORKING)

View File

@ -52,6 +52,7 @@ public:
UINT8 m_u73_q2; UINT8 m_u73_q2;
UINT8 m_out1; UINT8 m_out1;
UINT8 m_memboard[4]; /* used only by ec1840 and ec1841 */ UINT8 m_memboard[4]; /* used only by ec1840 and ec1841 */
int m_memboards;
int m_dma_channel; int m_dma_channel;
UINT8 m_dma_offset[2][4]; UINT8 m_dma_offset[2][4];
int m_cur_eop; int m_cur_eop;
@ -91,6 +92,7 @@ public:
DECLARE_READ8_MEMBER(unk_r); DECLARE_READ8_MEMBER(unk_r);
DECLARE_READ8_MEMBER(ec1841_memboard_r); DECLARE_READ8_MEMBER(ec1841_memboard_r);
DECLARE_WRITE8_MEMBER(ec1841_memboard_w); DECLARE_WRITE8_MEMBER(ec1841_memboard_w);
DECLARE_DRIVER_INIT(ec1841);
DECLARE_DRIVER_INIT(mc1502); DECLARE_DRIVER_INIT(mc1502);
DECLARE_DRIVER_INIT(bondwell); DECLARE_DRIVER_INIT(bondwell);
DECLARE_DRIVER_INIT(pcjr); DECLARE_DRIVER_INIT(pcjr);

View File

@ -0,0 +1,489 @@
/**********************************************************************
EC-1841 92-key keyboard emulation
Sends 9 non-standard scan codes (54..5C) and reassigns 3 standard
ones (2A, 36, 3A). EC-1841 BIOS converts scan codes into Cyrillic
by default; 'Lat' key (mapped to F11) switches it to Latin mode.
'Rus' (F12) switches back.
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
*********************************************************************/
#include "kb_ec1841.h"
#define VERBOSE_DBG 0 /* general debug messages */
#define DBG_LOG(N,M,A) \
do { \
if(VERBOSE_DBG>=N) \
{ \
logerror("%11.6f at %s: ",machine().time().as_double(),machine().describe_context()); \
logerror A; \
} \
} while (0)
//**************************************************************************
// MACROS / CONSTANTS
//**************************************************************************
#define I8048_TAG "i8048"
//**************************************************************************
// DEVICE DEFINITIONS
//**************************************************************************
const device_type PC_KBD_EC_1841 = &device_creator<ec_1841_keyboard_device>;
//-------------------------------------------------
// ROM( ec_1841_keyboard )
//-------------------------------------------------
ROM_START( ec_1841_keyboard )
ROM_REGION( 0x400, I8048_TAG, 0 )
// XXX add P/N etc
ROM_LOAD( "1816be48.bin", 0x000, 0x400, CRC(e9abfe44) SHA1(1db430c72c2d007ea0b8ae2514ff15c96baba308) )
ROM_END
//-------------------------------------------------
// rom_region - device-specific ROM region
//-------------------------------------------------
const rom_entry *ec_1841_keyboard_device::device_rom_region() const
{
return ROM_NAME( ec_1841_keyboard );
}
//-------------------------------------------------
// ADDRESS_MAP( kb_io )
//-------------------------------------------------
static ADDRESS_MAP_START( ec_1841_keyboard_io, AS_IO, 8, ec_1841_keyboard_device )
AM_RANGE(MCS48_PORT_BUS, MCS48_PORT_BUS) AM_WRITE(bus_w)
AM_RANGE(MCS48_PORT_P1, MCS48_PORT_P1) AM_READWRITE(p1_r, p1_w)
AM_RANGE(MCS48_PORT_P2, MCS48_PORT_P2) AM_WRITE(p2_w)
AM_RANGE(MCS48_PORT_T1, MCS48_PORT_T1) AM_READ(t1_r)
ADDRESS_MAP_END
//-------------------------------------------------
// MACHINE_DRIVER( ec_1841_keyboard )
//-------------------------------------------------
static MACHINE_CONFIG_FRAGMENT( ec_1841_keyboard )
// XXX check
MCFG_CPU_ADD(I8048_TAG, I8048, MCS48_LC_CLOCK(IND_U(47), CAP_P(20.7)))
MCFG_CPU_IO_MAP(ec_1841_keyboard_io)
MACHINE_CONFIG_END
//-------------------------------------------------
// machine_config_additions - device-specific
// machine configurations
//-------------------------------------------------
machine_config_constructor ec_1841_keyboard_device::device_mconfig_additions() const
{
return MACHINE_CONFIG_NAME( ec_1841_keyboard );
}
//-------------------------------------------------
// INPUT_PORTS( ec_1841_keyboard )
//-------------------------------------------------
INPUT_PORTS_START( ec_1841_keyboard )
PORT_START("MD00")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_TAB) PORT_CHAR(UCHAR_MAMEKEY(TAB))
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_A) PORT_CHAR('a') PORT_CHAR('A')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Z) PORT_CHAR('z') PORT_CHAR('Z')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?59?") // 0x59 = Inf
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_MINUS_PAD) PORT_CHAR(UCHAR_MAMEKEY(MINUS_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD01")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC))
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Q) PORT_CHAR('q') PORT_CHAR('Q')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_S) PORT_CHAR('s') PORT_CHAR('S')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_X) PORT_CHAR('x') PORT_CHAR('X')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ')
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 7 Home") PORT_CODE(KEYCODE_7_PAD) PORT_CHAR(UCHAR_MAMEKEY(7_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD02")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_CHAR('1') PORT_CHAR('!')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_W) PORT_CHAR('w') PORT_CHAR('W')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_D) PORT_CHAR('d') PORT_CHAR('D')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_C) PORT_CHAR('c') PORT_CHAR('C')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_RCONTROL) // 0x5a = R/L (R)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 8 "UTF8_UP) PORT_CODE(KEYCODE_8_PAD) PORT_CHAR(UCHAR_MAMEKEY(8_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD03")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('@')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_E) PORT_CHAR('e') PORT_CHAR('E')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F) PORT_CHAR('f') PORT_CHAR('F')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_V) PORT_CHAR('v') PORT_CHAR('V')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F12) PORT_CHAR(UCHAR_MAMEKEY(F12)) // 0x5b = Rus
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 9 PgUp") PORT_CODE(KEYCODE_9_PAD) PORT_CHAR(UCHAR_MAMEKEY(9_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD04")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_R) PORT_CHAR('r') PORT_CHAR('R')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_G) PORT_CHAR('g') PORT_CHAR('G')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_B) PORT_CHAR('b') PORT_CHAR('B')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F1) PORT_CHAR(UCHAR_MAMEKEY(F1))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 4 "UTF8_LEFT) PORT_CODE(KEYCODE_4_PAD) PORT_CHAR(UCHAR_MAMEKEY(4_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD05")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('$')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_T) PORT_CHAR('t') PORT_CHAR('T')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_H) PORT_CHAR('h') PORT_CHAR('H')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_N) PORT_CHAR('n') PORT_CHAR('N')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F2) PORT_CHAR(UCHAR_MAMEKEY(F2))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_5_PAD) PORT_CHAR(UCHAR_MAMEKEY(5_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD06")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_5) PORT_CHAR('5') PORT_CHAR('%')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_Y) PORT_CHAR('y') PORT_CHAR('Y')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_M) PORT_CHAR('m') PORT_CHAR('M')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F3) PORT_CHAR(UCHAR_MAMEKEY(F3))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 6 "UTF8_RIGHT) PORT_CODE(KEYCODE_6_PAD) PORT_CHAR(UCHAR_MAMEKEY(6_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD07")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR('^')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_U) PORT_CHAR('u') PORT_CHAR('U')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_TILDE) PORT_CHAR('`') PORT_CHAR('~')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F4) PORT_CHAR(UCHAR_MAMEKEY(F4))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 1 End") PORT_CODE(KEYCODE_1_PAD) PORT_CHAR(UCHAR_MAMEKEY(1_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD08")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('&')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_I) PORT_CHAR('i') PORT_CHAR('I')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_L) PORT_CHAR('l') PORT_CHAR('L')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?2a?")
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F5) PORT_CHAR(UCHAR_MAMEKEY(F5))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 2 "UTF8_DOWN) PORT_CODE(KEYCODE_2_PAD) PORT_CHAR(UCHAR_MAMEKEY(2_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD09")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_8) PORT_CHAR('8') PORT_CHAR('*')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_O) PORT_CHAR('o') PORT_CHAR('O')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?5c?") // 0x5c = YO
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F6) PORT_CHAR(UCHAR_MAMEKEY(F6))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 3 PgDn") PORT_CODE(KEYCODE_3_PAD) PORT_CHAR(UCHAR_MAMEKEY(3_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD10")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_9) PORT_CHAR('9') PORT_CHAR('(')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_P) PORT_CHAR('p') PORT_CHAR('P')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR(']') PORT_CHAR('}')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F7) PORT_CHAR(UCHAR_MAMEKEY(F7))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad 0 Ins") PORT_CODE(KEYCODE_0_PAD) PORT_CHAR(UCHAR_MAMEKEY(0_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD11")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_0) PORT_CHAR('0') PORT_CHAR(')')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?36?")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>')
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F8) PORT_CHAR(UCHAR_MAMEKEY(F8))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Keypad . Del") PORT_CODE(KEYCODE_DEL_PAD) PORT_CHAR(UCHAR_MAMEKEY(DEL_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD12")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('_')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("?3a?")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('\'') PORT_CHAR('"')
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_RSHIFT) PORT_CHAR(UCHAR_SHIFT_1) // 0x55
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F9) PORT_CHAR(UCHAR_MAMEKEY(F9))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_PLUS_PAD) PORT_CHAR(UCHAR_MAMEKEY(PLUS_PAD))
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD13")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_EQUALS) PORT_CHAR('=') PORT_CHAR('+')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?')
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_ENTER) PORT_CHAR(13)
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_CAPSLOCK) PORT_CHAR(UCHAR_MAMEKEY(CAPSLOCK)) // 0x56
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F10) PORT_CHAR(UCHAR_MAMEKEY(F10))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD14")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('\\') PORT_CHAR('|')
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_PRTSCR)
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LALT) PORT_CHAR(UCHAR_MAMEKEY(LALT))
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F11) PORT_CHAR(UCHAR_MAMEKEY(F11)) // 0x57 = Lat
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_NUMLOCK) PORT_CHAR(UCHAR_MAMEKEY(NUMLOCK))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("MD15")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LCONTROL) PORT_CHAR(UCHAR_SHIFT_2)
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1) // 0x54
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_RALT) // 0x58 = R/L (L)
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Scroll Lock Break") PORT_CODE(KEYCODE_SCRLOCK) PORT_CHAR(UCHAR_MAMEKEY(SCRLOCK))
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
INPUT_PORTS_END
//-------------------------------------------------
// input_ports - device-specific input ports
//-------------------------------------------------
ioport_constructor ec_1841_keyboard_device::device_input_ports() const
{
return INPUT_PORTS_NAME( ec_1841_keyboard );
}
//**************************************************************************
// LIVE DEVICE
//**************************************************************************
//-------------------------------------------------
// ec_1841_keyboard_device - constructor
//-------------------------------------------------
ec_1841_keyboard_device::ec_1841_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PC_KBD_EC_1841, "EC-1841 Keyboard", tag, owner, clock, "kb_ec1841", __FILE__),
device_pc_kbd_interface(mconfig, *this),
m_maincpu(*this, I8048_TAG),
m_md00(*this, "MD00"),
m_md01(*this, "MD01"),
m_md02(*this, "MD02"),
m_md03(*this, "MD03"),
m_md04(*this, "MD04"),
m_md05(*this, "MD05"),
m_md06(*this, "MD06"),
m_md07(*this, "MD07"),
m_md08(*this, "MD08"),
m_md09(*this, "MD09"),
m_md10(*this, "MD10"),
m_md11(*this, "MD11"),
m_md12(*this, "MD12"),
m_md13(*this, "MD13"),
m_md14(*this, "MD14"),
m_md15(*this, "MD15"),
m_bus(0xff),
m_p1(0xff),
m_p2(0xff),
m_q(1)
{
}
//-------------------------------------------------
// device_start - device-specific startup
//-------------------------------------------------
void ec_1841_keyboard_device::device_start()
{
set_pc_kbdc_device();
// state saving
save_item(NAME(m_bus));
save_item(NAME(m_p1));
save_item(NAME(m_p2));
save_item(NAME(m_q));
}
//-------------------------------------------------
// device_reset - device-specific reset
//-------------------------------------------------
void ec_1841_keyboard_device::device_reset()
{
}
//-------------------------------------------------
// clock_write -
//-------------------------------------------------
WRITE_LINE_MEMBER( ec_1841_keyboard_device::clock_write )
{
DBG_LOG(1,0,( "%s: clock write %d\n", tag(), state));
}
//-------------------------------------------------
// data_write -
//-------------------------------------------------
WRITE_LINE_MEMBER( ec_1841_keyboard_device::data_write )
{
DBG_LOG(1,0,( "%s: data write %d\n", tag(), state));
}
//-------------------------------------------------
// bus_w -
//-------------------------------------------------
WRITE8_MEMBER( ec_1841_keyboard_device::bus_w )
{
DBG_LOG(2,0,( "%s: bus_w %02x\n", tag(), data));
m_bus = data;
}
//-------------------------------------------------
// p1_r -
//-------------------------------------------------
READ8_MEMBER( ec_1841_keyboard_device::p1_r )
{
/*
bit description
0 -REQ IN
1 DATA IN
2
3
4
5
6
7
*/
UINT8 data = 0;
data |= clock_signal();
data |= data_signal() << 1;
DBG_LOG(1,0,( "%s: p1_r %02x\n", tag(), data));
return data;
}
//-------------------------------------------------
// p1_w -
//-------------------------------------------------
WRITE8_MEMBER( ec_1841_keyboard_device::p1_w )
{
/*
bit description
0
1
2
3
4
5 LED XXX
6 LED XXX
7 LED XXX
*/
DBG_LOG(1,0,( "%s: p1_w %02x\n", tag(), data));
m_p1 = data;
}
//-------------------------------------------------
// p2_w -
//-------------------------------------------------
WRITE8_MEMBER( ec_1841_keyboard_device::p2_w )
{
/*
bit description
0 -STROBE (to matrix mux)
1 XXX CLOCK out 1
2 XXX DATA out 1
3
4
5 XXX DATA out 2?
6 XXX CLOCK out 2?
7 XXX
*/
DBG_LOG(1,0,( "%s: p2_w %02x\n", tag(), data));
m_pc_kbdc->data_write_from_kb(BIT(data, 2));
m_pc_kbdc->clock_write_from_kb(BIT(data, 1));
m_p2 = data;
}
//-------------------------------------------------
// t1_r -
//-------------------------------------------------
READ8_MEMBER( ec_1841_keyboard_device::t1_r )
{
if (BIT(m_p2,0)) {
m_q = 1;
} else {
UINT8 sense = 0xff;
switch(m_bus & 15) {
case 0: sense &= m_md00->read(); break;
case 1: sense &= m_md01->read(); break;
case 2: sense &= m_md02->read(); break;
case 3: sense &= m_md03->read(); break;
case 4: sense &= m_md04->read(); break;
case 5: sense &= m_md05->read(); break;
case 6: sense &= m_md06->read(); break;
case 7: sense &= m_md07->read(); break;
case 8: sense &= m_md08->read(); break;
case 9: sense &= m_md09->read(); break;
case 10: sense &= m_md10->read(); break;
case 11: sense &= m_md11->read(); break;
case 12: sense &= m_md12->read(); break;
case 13: sense &= m_md13->read(); break;
case 14: sense &= m_md14->read(); break;
case 15: sense &= m_md15->read(); break;
}
m_q = BIT(sense, (m_bus >> 4) & 7);
}
DBG_LOG(1,0,( "%s: bus %02X t1_r %d\n", tag(), m_bus, m_q));
return m_q;
}

View File

@ -0,0 +1,86 @@
/**********************************************************************
EC-1841 92-key keyboard emulation
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
*********************************************************************/
#pragma once
#ifndef __PC_KBD_EC_1841__
#define __PC_KBD_EC_1841__
#include "emu.h"
#include "cpu/mcs48/mcs48.h"
#include "machine/pc_kbdc.h"
#include "machine/rescap.h"
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
// ======================> ec_1841_keyboard_device
class ec_1841_keyboard_device : public device_t,
public device_pc_kbd_interface
{
public:
// construction/destruction
ec_1841_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual const rom_entry *device_rom_region() const;
virtual machine_config_constructor device_mconfig_additions() const;
virtual ioport_constructor device_input_ports() const;
DECLARE_WRITE8_MEMBER( bus_w );
DECLARE_READ8_MEMBER( p1_r );
DECLARE_WRITE8_MEMBER( p1_w );
DECLARE_WRITE8_MEMBER( p2_w );
DECLARE_READ8_MEMBER( t1_r );
protected:
// device-level overrides
virtual void device_start();
virtual void device_reset();
// device_pc_kbd_interface overrides
virtual DECLARE_WRITE_LINE_MEMBER( clock_write );
virtual DECLARE_WRITE_LINE_MEMBER( data_write );
private:
required_device<cpu_device> m_maincpu;
required_ioport m_md00;
required_ioport m_md01;
required_ioport m_md02;
required_ioport m_md03;
required_ioport m_md04;
required_ioport m_md05;
required_ioport m_md06;
required_ioport m_md07;
required_ioport m_md08;
required_ioport m_md09;
required_ioport m_md10;
required_ioport m_md11;
required_ioport m_md12;
required_ioport m_md13;
required_ioport m_md14;
required_ioport m_md15;
UINT8 m_bus;
UINT8 m_p1;
UINT8 m_p2;
int m_q;
};
// device type definition
extern const device_type PC_KBD_EC_1841;
#endif

View File

@ -88,7 +88,16 @@
READ8_MEMBER(pc_state::ec1841_memboard_r) READ8_MEMBER(pc_state::ec1841_memboard_r)
{ {
pc_state *st = space.machine().driver_data<pc_state>(); pc_state *st = space.machine().driver_data<pc_state>();
return st->m_memboard[(offset % 4)]; UINT8 data;
data = offset % 4;
if (data > m_memboards)
data = 0xff;
else
data = st->m_memboard[data];
DBG_LOG(1,"ec1841_memboard",("R (%d of %d) == %02X\n", offset, m_memboards, data ));
return data;
} }
WRITE8_MEMBER(pc_state::ec1841_memboard_w) WRITE8_MEMBER(pc_state::ec1841_memboard_w)
@ -97,16 +106,14 @@ WRITE8_MEMBER(pc_state::ec1841_memboard_w)
address_space &program = st->m_maincpu->space(AS_PROGRAM); address_space &program = st->m_maincpu->space(AS_PROGRAM);
UINT8 current; UINT8 current;
DBG_LOG(1,"ec1841_memboard_w",("(%d) <- %02X\n", offset, data)); current = st->m_memboard[offset];
// for now, handle only board 0 DBG_LOG(1,"ec1841_memboard",("W (%d of %d) <- %02X (%02X)\n", offset, m_memboards, data, current));
if (offset > 0) {
st->m_memboard[offset] = data; if (offset > m_memboards) {
return; return;
} }
current = st->m_memboard[offset];
if (BIT(current, 2) && !BIT(data, 2)) { if (BIT(current, 2) && !BIT(data, 2)) {
// disable read access // disable read access
program.unmap_read(0, 0x7ffff); program.unmap_read(0, 0x7ffff);
@ -120,14 +127,20 @@ WRITE8_MEMBER(pc_state::ec1841_memboard_w)
} }
if (!BIT(current, 2) && BIT(data, 2)) { if (!BIT(current, 2) && BIT(data, 2)) {
for(int i=0; i<4; i++)
st->m_memboard[i] &= 0xfb;
// enable read access // enable read access
membank("bank10")->set_base(m_ram->pointer() + offset*0x80000);
program.install_read_bank(0, 0x7ffff, "bank10"); program.install_read_bank(0, 0x7ffff, "bank10");
DBG_LOG(1,"ec1841_memboard_w",("map_read(%d)\n", offset)); DBG_LOG(1,"ec1841_memboard_w",("map_read(%d)\n", offset));
} }
if (!BIT(current, 3) && BIT(data, 3)) { if (!BIT(current, 3) && BIT(data, 3)) {
for(int i=0; i<4; i++)
st->m_memboard[i] &= 0xf7;
// enable write access // enable write access
program.install_write_bank(0, 0x7ffff, "bank10"); membank("bank20")->set_base(m_ram->pointer() + offset*0x80000);
program.install_write_bank(0, 0x7ffff, "bank20");
DBG_LOG(1,"ec1841_memboard_w",("map_write(%d)\n", offset)); DBG_LOG(1,"ec1841_memboard_w",("map_write(%d)\n", offset));
} }
@ -1470,6 +1483,18 @@ DRIVER_INIT_MEMBER(pc_state,mc1502)
mess_init_pc_common(NULL); mess_init_pc_common(NULL);
} }
DRIVER_INIT_MEMBER(pc_state,ec1841)
{
address_space &program = m_maincpu->space(AS_PROGRAM);
program.install_read_bank(0, 0x7ffff, "bank10");
program.install_write_bank(0, 0x7ffff, "bank20");
membank( "bank10" )->set_base( m_ram->pointer() );
membank( "bank20" )->set_base( m_ram->pointer() );
pc_rtc_init();
}
IRQ_CALLBACK_MEMBER(pc_state::pc_irq_callback) IRQ_CALLBACK_MEMBER(pc_state::pc_irq_callback)
{ {
@ -1507,6 +1532,14 @@ MACHINE_RESET_MEMBER(pc_state,pc)
m_ppi_shift_enable = 0; m_ppi_shift_enable = 0;
m_speaker->level_w(0); m_speaker->level_w(0);
// ec1841-specific code
m_memboards = m_ram->size()/(512*1024) - 1;
if (m_memboards > 3)
m_memboards = 3;
memset(m_memboard,0,sizeof(m_memboard));
// mark 1st board enabled
m_memboard[0]=0xc;
} }
@ -1548,7 +1581,6 @@ MACHINE_RESET_MEMBER(pc_state,pcjr)
m_pc_spkrdata = 0; m_pc_spkrdata = 0;
m_pc_input = 1; m_pc_input = 1;
m_dma_channel = -1; m_dma_channel = -1;
memset(m_memboard,0xc,sizeof(m_memboard)); // check
memset(m_dma_offset,0,sizeof(m_dma_offset)); memset(m_dma_offset,0,sizeof(m_dma_offset));
m_ppi_portc_switch_high = 0; m_ppi_portc_switch_high = 0;
m_ppi_speaker = 0; m_ppi_speaker = 0;

View File

@ -1,6 +1,7 @@
#include "emu.h" #include "emu.h"
#include "machine/pc_keyboards.h" #include "machine/pc_keyboards.h"
#include "machine/kb_ec1841.h"
#include "machine/kb_keytro.h" #include "machine/kb_keytro.h"
#include "machine/kb_msnat.h" #include "machine/kb_msnat.h"
#include "machine/kb_pc83.h" #include "machine/kb_pc83.h"
@ -11,6 +12,7 @@ SLOT_INTERFACE_START(pc_xt_keyboards)
SLOT_INTERFACE(STR_KBD_KEYTRONIC_PC3270, PC_KBD_KEYTRONIC_PC3270) SLOT_INTERFACE(STR_KBD_KEYTRONIC_PC3270, PC_KBD_KEYTRONIC_PC3270)
SLOT_INTERFACE(STR_KBD_IBM_PC_83, PC_KBD_IBM_PC_83) SLOT_INTERFACE(STR_KBD_IBM_PC_83, PC_KBD_IBM_PC_83)
SLOT_INTERFACE(STR_KBD_IBM_PC_XT_83, PC_KBD_IBM_PC_XT_83) SLOT_INTERFACE(STR_KBD_IBM_PC_XT_83, PC_KBD_IBM_PC_XT_83)
SLOT_INTERFACE(STR_KBD_EC_1841, PC_KBD_EC_1841)
SLOT_INTERFACE_END SLOT_INTERFACE_END

View File

@ -12,6 +12,7 @@
#define STR_KBD_KEYTRONIC_PC3270 "keytronc_pc3270" #define STR_KBD_KEYTRONIC_PC3270 "keytronc_pc3270"
#define STR_KBD_IBM_PC_83 "pc" #define STR_KBD_IBM_PC_83 "pc"
#define STR_KBD_IBM_PC_XT_83 "pcxt" #define STR_KBD_IBM_PC_XT_83 "pcxt"
#define STR_KBD_EC_1841 "ec1841"
SLOT_INTERFACE_EXTERN(pc_xt_keyboards); SLOT_INTERFACE_EXTERN(pc_xt_keyboards);

View File

@ -1828,6 +1828,7 @@ $(MESSOBJ)/pcshare.a: \
$(MESS_MACHINE)/pc_joy.o \ $(MESS_MACHINE)/pc_joy.o \
$(MESS_MACHINE)/pc_joy_sw.o \ $(MESS_MACHINE)/pc_joy_sw.o \
$(MESS_MACHINE)/pc_keyboards.o \ $(MESS_MACHINE)/pc_keyboards.o \
$(MESS_MACHINE)/kb_ec1841.o \
$(MESS_MACHINE)/kb_keytro.o \ $(MESS_MACHINE)/kb_keytro.o \
$(MESS_MACHINE)/kb_msnat.o \ $(MESS_MACHINE)/kb_msnat.o \
$(MESS_MACHINE)/kb_pc83.o \ $(MESS_MACHINE)/kb_pc83.o \