diff --git a/src/mame/bmc/koftball.cpp b/src/mame/bmc/koftball.cpp index 71c9f157a075b..18972af6c6f20 100644 --- a/src/mame/bmc/koftball.cpp +++ b/src/mame/bmc/koftball.cpp @@ -319,7 +319,7 @@ ROM_START( koftball ) ROM_END /******************************************************************* -Jin Xiu Zhong Hua, BMC 1996 +錦繡中華 (Jǐnxiù Zhōnghuá), BMC 1996 Hardware Info by Guru --------------------- @@ -428,4 +428,4 @@ void koftball_state::init_koftball() GAME( 1995, koftball, 0, koftball, koftball, koftball_state, init_koftball, ROT0, "BMC", "King of Football", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE ) -GAME( 1996, jxzh, 0, jxzh, koftball, koftball_state, empty_init, ROT0, "BMC", "Jin Xiu Zhong Hua", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE ) +GAME( 1996, jxzh, 0, jxzh, koftball, koftball_state, empty_init, ROT0, "BMC", "Jinxiu Zhonghua", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/igs/igs017.cpp b/src/mame/igs/igs017.cpp index 79c2c55771c2f..c45d66ffef78d 100644 --- a/src/mame/igs/igs017.cpp +++ b/src/mame/igs/igs017.cpp @@ -5305,7 +5305,7 @@ ROM_END /*************************************************************************** Chaoji Damanguan II (China, V754C) -超級大滿貫(Chāojí dàmǎnguàn) +超級大滿貫 (Chāojí Dàmǎnguàn) IGS, 1997 PCB Layout @@ -5653,7 +5653,8 @@ ROM_END /*************************************************************************** -Taishan (Tarzan) Chuang Tian Guan (V109C) +Tarzan Chuang Tian Guan (V109C) +泰山闯天关 (Tàishān Chuǎng Tiān Guān) IGS 1999 PCB Layout diff --git a/src/mame/nmk/nmk16.cpp b/src/mame/nmk/nmk16.cpp index edd4e91a5f7ef..7e0185c7879a9 100644 --- a/src/mame/nmk/nmk16.cpp +++ b/src/mame/nmk/nmk16.cpp @@ -7042,7 +7042,7 @@ ROM_START( macross ) ROM_LOAD( "921a01", 0x000000, 0x020000, CRC(bbd8242d) SHA1(7cf4897be1278e1190f499f00bc78384817a5160) ) // 8x8 tiles ROM_REGION( 0x02000, "protcpu", 0 ) - // has 'SABOTEN' for the game name string, uploads data to '214' for sprite decryption + // has 'SABOTEN' for the game name string, sends commands to '214' to configure graphics unscrambling ROM_LOAD( "nmk-215.bin", 0x00000, 0x02000, CRC(d355a06f) SHA1(ebb7b1ff35a97599550f6f3524124246f2d718c5) ) ROM_REGION( 0x200000, "bgtile", 0 ) @@ -7143,7 +7143,7 @@ ROM_START( gunnail ) ROM_LOAD( "1.u21", 0x000000, 0x020000, CRC(3d00a9f4) SHA1(91a82e3e74c8774d7f8b2adceb228b97010facfd) ) // 8x8 tiles ROM_REGION( 0x02000, "protcpu", 0 ) - // has 'SABOTEN' for the game name string, uploads data to '214' for sprite decryption + // has 'SABOTEN' for the game name string, sends commands to '214' to configure graphics unscrambling ROM_LOAD( "nmk-215.bin", 0x00000, 0x02000, CRC(d355a06f) SHA1(ebb7b1ff35a97599550f6f3524124246f2d718c5) ) ROM_REGION( 0x100000, "bgtile", 0 ) @@ -7175,7 +7175,7 @@ ROM_START( gunnailp ) ROM_LOAD( "1.u21", 0x000000, 0x020000, CRC(bdf427e4) SHA1(e9cd178d1d9e2ed72f0fb013385d935f334b8fe3) ) // 8x8 tiles ROM_REGION( 0x02000, "protcpu", 0 ) - // has 'SABOTEN' for the game name string, uploads data to '214' for sprite decryption + // has 'SABOTEN' for the game name string, sends commands to '214' to configure graphics unscrambling ROM_LOAD( "nmk-215.bin", 0x00000, 0x02000, CRC(d355a06f) SHA1(ebb7b1ff35a97599550f6f3524124246f2d718c5) ) ROM_REGION( 0x100000, "bgtile", 0 ) @@ -7612,7 +7612,7 @@ ROM_START( sabotenb ) ROM_LOAD( "ic35.sb3", 0x000000, 0x010000, CRC(eb7bc99d) SHA1(b3063afd58025a441d4750c22483e9129da402e7) ) // 8x8 tiles ROM_REGION( 0x02000, "protcpu", 0 ) - // has 'SABOTEN' for the game name string, uploads data to '214' for sprite decryption + // has 'SABOTEN' for the game name string, sends commands to '214' to configure graphics unscrambling ROM_LOAD( "nmk-215.bin", 0x00000, 0x02000, CRC(d355a06f) SHA1(ebb7b1ff35a97599550f6f3524124246f2d718c5) ) ROM_REGION( 0x200000, "bgtile", 0 ) @@ -7638,7 +7638,7 @@ ROM_START( sabotenba ) ROM_LOAD16_BYTE( "sb2.75", 0x00001, 0x40000, CRC(0d2c1ab8) SHA1(abb43a8c5398195c0ad48d8d772ef47635bf25c2) ) ROM_REGION( 0x02000, "protcpu", 0 ) - // has 'SABOTEN' for the game name string, uploads data to '214' for sprite decryption + // has 'SABOTEN' for the game name string, sends commands to '214' to configure graphics unscrambling ROM_LOAD( "nmk-215.bin", 0x00000, 0x02000, CRC(d355a06f) SHA1(ebb7b1ff35a97599550f6f3524124246f2d718c5) ) ROM_REGION( 0x010000, "fgtile", 0 ) @@ -7693,7 +7693,7 @@ ROM_START( bjtwin ) ROM_LOAD( "93087-3.bin", 0x000000, 0x010000, CRC(aa13df7c) SHA1(162d4f12364c68028e86fe97ee75c262daa4c699) ) // 8x8 tiles ROM_REGION( 0x02000, "protcpu", 0 ) - // has 'SABOTEN' for the game name string, uploads data to '214' for sprite decryption + // has 'SABOTEN' for the game name string, sends commands to '214' to configure graphics unscrambling ROM_LOAD( "nmk-215.bin", 0x00000, 0x02000, CRC(d355a06f) SHA1(ebb7b1ff35a97599550f6f3524124246f2d718c5) ) ROM_REGION( 0x100000, "bgtile", 0 ) @@ -7722,7 +7722,7 @@ ROM_START( bjtwina ) ROM_LOAD( "93087-3.bin", 0x000000, 0x010000, CRC(aa13df7c) SHA1(162d4f12364c68028e86fe97ee75c262daa4c699) ) // 8x8 tiles ROM_REGION( 0x02000, "protcpu", 0 ) - // has 'SABOTEN' for the game name string, uploads data to '214' for sprite decryption + // has 'SABOTEN' for the game name string, sends commands to '214' to configure graphics unscrambling ROM_LOAD( "nmk-215.bin", 0x00000, 0x02000, CRC(d355a06f) SHA1(ebb7b1ff35a97599550f6f3524124246f2d718c5) ) ROM_REGION( 0x100000, "bgtile", 0 ) @@ -7779,7 +7779,7 @@ ROM_START( bjtwinpa ) ROM_LOAD( "ic35.bin", 0x000000, 0x010000, CRC(aa13df7c) SHA1(162d4f12364c68028e86fe97ee75c262daa4c699) ) // 8x8 tiles ROM_REGION( 0x02000, "protcpu", 0 ) - // has 'SABOTEN' for the game name string, uploads data to '214' for sprite decryption + // has 'SABOTEN' for the game name string, sends commands to '214' to configure graphics unscrambling ROM_LOAD( "nmk-215.bin", 0x00000, 0x02000, CRC(d355a06f) SHA1(ebb7b1ff35a97599550f6f3524124246f2d718c5) ) ROM_REGION( 0x200000, "bgtile", 0 ) @@ -7809,7 +7809,7 @@ ROM_START( nouryoku ) ROM_LOAD( "ic35.3", 0x000000, 0x010000, CRC(03d0c3b1) SHA1(4d5427c324e2141d0a953cc5133d10b327827e0b) ) // 8x8 tiles ROM_REGION( 0x02000, "protcpu", 0 ) - // has 'SABOTEN' for the game name string, uploads data to '214' for sprite decryption + // has 'SABOTEN' for the game name string, sends commands to '214' to configure graphics unscrambling ROM_LOAD( "nmk-215.bin", 0x00000, 0x02000, CRC(d355a06f) SHA1(ebb7b1ff35a97599550f6f3524124246f2d718c5) ) ROM_REGION( 0x200000, "bgtile", 0 ) diff --git a/src/mame/visual/v50_kbd.cpp b/src/mame/visual/v50_kbd.cpp index 9aa52e80c1368..612bc24ce27cc 100644 --- a/src/mame/visual/v50_kbd.cpp +++ b/src/mame/visual/v50_kbd.cpp @@ -19,6 +19,7 @@ #include "emu.h" #include "v50_kbd.h" + #include "speaker.h" @@ -34,7 +35,9 @@ v50_kbd_device::v50_kbd_device(const machine_config &mconfig, const char *tag, d m_buzzer(*this, "buzzer"), m_keys(*this, "row_%x", 0U), m_txd_cb(*this), - m_cts_cb(*this) + m_cts_cb(*this), + m_prog(true), + m_key_row(0x0f) { } @@ -80,12 +83,12 @@ static INPUT_PORTS_START( keyboard ) PORT_START("row_0") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RCONTROL) PORT_NAME("FUNCTION") PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1) // or RSHIFT? - PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RSHIFT) PORT_CHAR(UCHAR_SHIFT_1) // or LSHIFT? + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RSHIFT) // or LSHIFT? PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL) PORT_CHAR(UCHAR_SHIFT_2) PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_CAPSLOCK) PORT_CHAR(UCHAR_MAMEKEY(CAPSLOCK)) PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_COMMA_PAD) PORT_CHAR(UCHAR_MAMEKEY(COMMA_PAD)) PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_UNUSED) // 94 - PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_DOWN) PORT_CHAR(UCHAR_MAMEKEY(DOWN)) PORT_NAME(u8"\u2193 AUX") + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_DOWN) PORT_CHAR(UCHAR_MAMEKEY(DOWN)) PORT_NAME(u8"\u2193 AUX") // ↓ PORT_START("row_1") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_9_PAD) PORT_CHAR(UCHAR_MAMEKEY(9_PAD)) @@ -94,8 +97,8 @@ static INPUT_PORTS_START( keyboard ) PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER_PAD) PORT_CHAR(UCHAR_MAMEKEY(ENTER_PAD)) PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_2_PAD) PORT_CHAR(UCHAR_MAMEKEY(2_PAD)) PORT_NAME("Keypad 2 CP") PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_5_PAD) PORT_CHAR(UCHAR_MAMEKEY(5_PAD)) PORT_NAME("Keypad 5 EL") - PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_UP) PORT_CHAR(UCHAR_MAMEKEY(UP)) PORT_NAME(u8"\u2191 F3") - PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RIGHT) PORT_CHAR(UCHAR_MAMEKEY(RIGHT)) PORT_NAME(u8"\u2192 F2") + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_UP) PORT_CHAR(UCHAR_MAMEKEY(UP)) PORT_NAME(u8"\u2191 F3") // ↑ + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RIGHT) PORT_CHAR(UCHAR_MAMEKEY(RIGHT)) PORT_NAME(u8"\u2192 F2") // → PORT_START("row_2") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8) @@ -104,7 +107,7 @@ static INPUT_PORTS_START( keyboard ) PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_6_PAD) PORT_CHAR(UCHAR_MAMEKEY(6_PAD)) PORT_NAME("Keypad 6 EP") PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_3_PAD) PORT_CHAR(UCHAR_MAMEKEY(3_PAD)) PORT_NAME("Keypad 3 DL") PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_DEL) PORT_CHAR(UCHAR_MAMEKEY(DEL)) - PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LEFT) PORT_CHAR(UCHAR_MAMEKEY(LEFT)) PORT_NAME(u8"\u2190 F1") + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LEFT) PORT_CHAR(UCHAR_MAMEKEY(LEFT)) PORT_NAME(u8"\u2190 F1") // ← PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_UNUSED) // f0 PORT_START("row_3") diff --git a/src/mame/visual/v50_kbd.h b/src/mame/visual/v50_kbd.h index 9d2a3584c33da..f5114773ad8f1 100644 --- a/src/mame/visual/v50_kbd.h +++ b/src/mame/visual/v50_kbd.h @@ -48,15 +48,15 @@ class v50_kbd_device : public device_t devcb_write_line m_txd_cb; devcb_write_line m_cts_cb; - bool m_prog = true; - uint8_t m_key_row = 0x0f; + bool m_prog; + uint8_t m_key_row; uint8_t p1_r(); void p2_w(uint8_t data); void prog_w(int state); }; -// device type definition +// device type declaration DECLARE_DEVICE_TYPE(V50_KBD, v50_kbd_device) #endif // MAME_VISUAL_V50_KBD_H