diff options
| author | 2025-11-26 04:54:11 +1100 | |
|---|---|---|
| committer | 2025-11-26 04:54:11 +1100 | |
| commit | cb05aca5ca006c70dfaeb6fb11c4523b1d00c319 (patch) | |
| tree | b9c2a3ff6bd9bb59b5b5d36f452dd4896db4a80d | |
| parent | c5f3f48f8be1c2d140f1f1c7acae6cf5204bf6ab (diff) | |
Various fixes:
* Corrected some system descriptions.
* Fixed some truly bizarre tag manipulation.
* Mark slot cards as not supporting save states if there's absolutely no
effort to do so.
* Things that are not DIP switches should not be DIP switches and should
not have DIP switch locations.
| -rw-r--r--[-rwxr-xr-x] | hash/ibmpcjx.xml | 0 | ||||
| -rw-r--r-- | src/devices/bus/qbus/bk_altpro.cpp | 39 | ||||
| -rw-r--r-- | src/devices/bus/qbus/bk_samara.cpp | 44 | ||||
| -rw-r--r-- | src/mame/handheld/evolution_handheld.cpp | 4 | ||||
| -rw-r--r-- | src/mame/nintendo/nes_vt32.cpp | 12 | ||||
| -rw-r--r-- | src/mame/sinclair/specnext.cpp | 24 | ||||
| -rw-r--r-- | src/mame/tvgames/generalplus_gpl16250_spi.cpp | 5 | ||||
| -rw-r--r-- | src/mame/tvgames/generalplus_gpl32612.cpp | 2 |
8 files changed, 67 insertions, 63 deletions
diff --git a/hash/ibmpcjx.xml b/hash/ibmpcjx.xml index 85d984b8bbd..85d984b8bbd 100755..100644 --- a/hash/ibmpcjx.xml +++ b/hash/ibmpcjx.xml diff --git a/src/devices/bus/qbus/bk_altpro.cpp b/src/devices/bus/qbus/bk_altpro.cpp index 66a2a1bf965..f5dfa9293e0 100644 --- a/src/devices/bus/qbus/bk_altpro.cpp +++ b/src/devices/bus/qbus/bk_altpro.cpp @@ -18,10 +18,11 @@ #include "bus/ata/ataintf.h" #include "cpu/t11/t11.h" -#include "formats/bk0010_dsk.h" #include "imagedev/harddriv.h" #include "machine/1801vp128.h" +#include "formats/bk0010_dsk.h" + namespace { @@ -46,6 +47,8 @@ class bk_altpro_device : public device_t, public device_qbus_card_interface { public: + static constexpr flags_type emulation_flags() { return flags::SAVE_UNSUPPORTED; } + // construction/destruction bk_altpro_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); @@ -53,7 +56,7 @@ public: void ata_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); protected: - // device-level overrides + // device_t implementation virtual void device_start() override ATTR_COLD; virtual void device_reset() override ATTR_COLD; virtual void device_add_mconfig(machine_config &config) override ATTR_COLD; @@ -107,14 +110,16 @@ const tiny_rom_entry *bk_altpro_device::device_rom_region() const void bk_altpro_device::device_add_mconfig(machine_config &config) { K1801VP128(config, m_fdc, XTAL(4'000'000)); - m_fdc->ds_in_callback().set([] (uint16_t data) { - switch (data & 15) - { - case 1: return 0; - case 2: return 1; - default: return -1; - } - }); + m_fdc->ds_in_callback().set( + [] (uint16_t data) + { + switch (data & 15) + { + case 1: return 0; + case 2: return 1; + default: return -1; + } + }); FLOPPY_CONNECTOR(config, "fdc:0", bk_floppies, "525qd", bk_altpro_device::floppy_formats); FLOPPY_CONNECTOR(config, "fdc:1", bk_floppies, "525qd", bk_altpro_device::floppy_formats); @@ -130,15 +135,13 @@ void bk_altpro_device::device_start() { m_ram = make_unique_clear<uint8_t[]>(4096); m_bus->install_device(0177130, 0177133, - emu::rw_delegate(m_fdc, FUNC(k1801vp128_device::read)), - emu::rw_delegate(m_fdc, FUNC(k1801vp128_device::write)) - ); + emu::rw_delegate(m_fdc, FUNC(k1801vp128_device::read)), + emu::rw_delegate(m_fdc, FUNC(k1801vp128_device::write))); m_bus->program_space().install_readwrite_handler(0177740, 0177757, - emu::rw_delegate(*this, FUNC(bk_altpro_device::ata_r)), - emu::rw_delegate(*this, FUNC(bk_altpro_device::ata_w)), - 0, 0, t11_device::UNALIGNED_WORD - ); - m_bus->program_space().install_rom(0160000, 0167777, memregion(this->subtag("maincpu").c_str())->base()); + emu::rw_delegate(*this, FUNC(bk_altpro_device::ata_r)), + emu::rw_delegate(*this, FUNC(bk_altpro_device::ata_w)), + 0, 0, t11_device::UNALIGNED_WORD); + m_bus->program_space().install_rom(0160000, 0167777, memregion("maincpu")->base()); m_bus->program_space().unmap_write(0160000, 0167777); m_bus->program_space().install_ram(0170000, 0176777, &m_ram[0]); } diff --git a/src/devices/bus/qbus/bk_samara.cpp b/src/devices/bus/qbus/bk_samara.cpp index 75d813f53a5..8203a7a95df 100644 --- a/src/devices/bus/qbus/bk_samara.cpp +++ b/src/devices/bus/qbus/bk_samara.cpp @@ -15,10 +15,11 @@ #include "bk_samara.h" #include "bus/ata/ataintf.h" -#include "formats/bk0010_dsk.h" #include "imagedev/harddriv.h" #include "machine/1801vp128.h" +#include "formats/bk0010_dsk.h" + namespace { @@ -48,7 +49,7 @@ public: void cs1_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); protected: - // device-level overrides + // device_t implementation virtual void device_start() override ATTR_COLD; virtual void device_add_mconfig(machine_config &config) override ATTR_COLD; virtual const tiny_rom_entry *device_rom_region() const override ATTR_COLD; @@ -96,16 +97,18 @@ const tiny_rom_entry *bk_samara_device::device_rom_region() const void bk_samara_device::device_add_mconfig(machine_config &config) { K1801VP128(config, m_fdc, XTAL(4'000'000)); - m_fdc->ds_in_callback().set([] (uint16_t data) { - switch (data & 15) - { - case 1: return 0; - case 2: return 1; - case 4: return 2; - case 8: return 3; - default: return -1; - } - }); + m_fdc->ds_in_callback().set( + [] (uint16_t data) + { + switch (data & 15) + { + case 1: return 0; + case 2: return 1; + case 4: return 2; + case 8: return 3; + default: return -1; + } + }); FLOPPY_CONNECTOR(config, "fdc:0", bk_floppies, "525qd", bk_samara_device::floppy_formats); FLOPPY_CONNECTOR(config, "fdc:1", bk_floppies, "525qd", bk_samara_device::floppy_formats); FLOPPY_CONNECTOR(config, "fdc:2", bk_floppies, "525qd", bk_samara_device::floppy_formats); @@ -122,18 +125,15 @@ void bk_samara_device::device_add_mconfig(machine_config &config) void bk_samara_device::device_start() { m_bus->install_device(0177130, 0177133, - emu::rw_delegate(m_fdc, FUNC(k1801vp128_device::read)), - emu::rw_delegate(m_fdc, FUNC(k1801vp128_device::write)) - ); + emu::rw_delegate(m_fdc, FUNC(k1801vp128_device::read)), + emu::rw_delegate(m_fdc, FUNC(k1801vp128_device::write))); m_bus->program_space().install_readwrite_handler(0177620, 0177623, - emu::rw_delegate(*this, FUNC(bk_samara_device::cs1_r)), - emu::rw_delegate(*this, FUNC(bk_samara_device::cs1_w)) - ); + emu::rw_delegate(*this, FUNC(bk_samara_device::cs1_r)), + emu::rw_delegate(*this, FUNC(bk_samara_device::cs1_w))); m_bus->program_space().install_readwrite_handler(0177640, 0177657, - emu::rw_delegate(*this, FUNC(bk_samara_device::cs0_r)), - emu::rw_delegate(*this, FUNC(bk_samara_device::cs0_w)) - ); - m_bus->program_space().install_rom(0160000, 0167777, memregion(this->subtag("maincpu").c_str())->base()); + emu::rw_delegate(*this, FUNC(bk_samara_device::cs0_r)), + emu::rw_delegate(*this, FUNC(bk_samara_device::cs0_w))); + m_bus->program_space().install_rom(0160000, 0167777, memregion("maincpu")->base()); m_bus->program_space().unmap_write(0160000, 0167777); } diff --git a/src/mame/handheld/evolution_handheld.cpp b/src/mame/handheld/evolution_handheld.cpp index c6e9b57a43c..0a851c8fb1a 100644 --- a/src/mame/handheld/evolution_handheld.cpp +++ b/src/mame/handheld/evolution_handheld.cpp @@ -145,12 +145,12 @@ CONS( 2020, buttdtct, 0, 0, evolhh, evolhh, evolution_handheldgame CONS( 2015, pokexyqz, 0, 0, evolhh, evolhh, evolution_handheldgame_state, empty_init, "Takara Tomy", "Pokemon Encyclopedia Z Pokemon XY Quiz Game Rotom (Japan)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING ) // ロトム図鑑 サン&ムーン ポケモン クイズ -CONS( 2015, pokesmqz, 0, 0, evolhh, evolhh, evolution_handheldgame_state, empty_init, "Takara Tomy", "Pokedex Sun & Moon Pokemon Quiz Rotom (Japan)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING ) +CONS( 2015, pokesmqz, 0, 0, evolhh, evolhh, evolution_handheldgame_state, empty_init, "Takara Tomy", "Rotom Zukan Sun & Moon Pokemon Quiz (Japan)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING ) CONS( 201?, tomyspt, 0, 0, evolhh, evolhh, evolution_handheldgame_state, empty_init, "Takara Tomy", "Pretty Rhythm Smart Pod Touch (Japan)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING ) // ほっぺちゃん スイ☆コレ ホワイト -CONS( 201?, hoppech, 0, 0, evolhh, evolhh, evolution_handheldgame_state, empty_init, "Takara Tomy", "Hoppe-chan Sweet Collection (white, Japan)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING ) +CONS( 201?, hoppech, 0, 0, evolhh, evolhh, evolution_handheldgame_state, empty_init, "Takara Tomy", "Hoppe-chan SuiColle (white, Japan)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING ) // 星座电子宠物机 (virtual pet by 育乐元) CONS( 2022, yuleyuan, 0, 0, evolhh, evolhh, evolution_handheldgame_state, init_yuleyuan, "Yule Yuan", "Xingzuo Dianzi Chongwu Ji", MACHINE_NO_SOUND | MACHINE_NOT_WORKING ) // dumped from yellow model diff --git a/src/mame/nintendo/nes_vt32.cpp b/src/mame/nintendo/nes_vt32.cpp index c671b94051c..f101e2bbb10 100644 --- a/src/mame/nintendo/nes_vt32.cpp +++ b/src/mame/nintendo/nes_vt32.cpp @@ -537,13 +537,13 @@ CONS( 2020, lxpcpp, 0, 0, nes_vt32_32mb, nes_vt32, nes_vt32_unk_state, empt // said game also requires either extra RAM on the PCB (none visible) or a SoC that natively supports that // // not set as clones as each other because the games lists are different -CONS( 201?, k10_5l, 0, 0, nes_vt32_16mb, nes_vt32, nes_vt32_unk_state, empty_init, "<unknown>", "Games Power 500-in-1 Ultra Thin Handheld Game (K10) (5 languages)", MACHINE_NOT_WORKING ) -CONS( 201?, k10_2l, 0, 0, nes_vt32_16mb, nes_vt32, nes_vt32_unk_state, empty_init, "<unknown>", "Games Power 500-in-1 Ultra Thin Handheld Game (K10) (2 languages)", MACHINE_NOT_WORKING ) +CONS( 201?, k10_5l, 0, 0, nes_vt32_16mb, nes_vt32, nes_vt32_unk_state, empty_init, "<unknown>", "Games Power 500-in-1 Ultra Thin Handheld Game (K10) (5 languages)", MACHINE_NOT_WORKING ) +CONS( 201?, k10_2l, 0, 0, nes_vt32_16mb, nes_vt32, nes_vt32_unk_state, empty_init, "<unknown>", "Games Power 500-in-1 Ultra Thin Handheld Game (K10) (2 languages)", MACHINE_NOT_WORKING ) -CONS( 2022, tvkunio1, 0, 0, nes_vt32_2mb, nes_vt32, nes_vt32_unk_state, empty_init, "Arc System Works", "Kunio-kun TV! Bikkuri Nekketsu Shin Kiroku! Harukanaru Kin Medal (Japan)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS ) // yellow unit +// びっくり熱血新記録!はるかなる金メダル +CONS( 2022, tvkunio1, 0, 0, nes_vt32_2mb, nes_vt32, nes_vt32_unk_state, empty_init, "Arc System Works", "Kunio-kun TV! Bikkuri Nekketsu Shin Kiroku! Harukanaru Kin Medal (Japan)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS ) // yellow unit -CONS( 202?, micac250, 0, 0, nes_vt32_16mb, nes_vt32, nes_vt32_unk_state, empty_init, "<unknown>", "Micro Arcade 250-in-1", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS ) +CONS( 202?, micac250, 0, 0, nes_vt32_16mb, nes_vt32, nes_vt32_unk_state, empty_init, "<unknown>", "Micro Arcade 250-in-1", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS ) // title screen shows Finger Pump, box shows Finger Dancing -CONS( 201?, fingerd, 0, 0, nes_vt32_32mb, nes_vt32, nes_vt32_unk_state, empty_init, "Orb Gaming", "Finger Dancing", MACHINE_NOT_WORKING ) - +CONS( 201?, fingerd, 0, 0, nes_vt32_32mb, nes_vt32, nes_vt32_unk_state, empty_init, "Orb Gaming", "Finger Dancing", MACHINE_NOT_WORKING ) diff --git a/src/mame/sinclair/specnext.cpp b/src/mame/sinclair/specnext.cpp index 08304c8431b..93964bdc2ad 100644 --- a/src/mame/sinclair/specnext.cpp +++ b/src/mame/sinclair/specnext.cpp @@ -3068,18 +3068,18 @@ INPUT_PORTS_START(specnext) PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("NMI DivMMC") PORT_CODE(KEYCODE_F11) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(specnext_state::on_divmmc_nmi), 0) PORT_START("LYRS") - PORT_DIPNAME( 0x08, 0x00, "No Sprites" ) PORT_DIPLOCATION("LYRS:4") - PORT_DIPSETTING( 0x00, DEF_STR(Off)) - PORT_DIPSETTING( 0x08, DEF_STR(On)) - PORT_DIPNAME( 0x04, 0x00, "No Layer2" ) PORT_DIPLOCATION("LYRS:5") - PORT_DIPSETTING( 0x00, DEF_STR(Off)) - PORT_DIPSETTING( 0x04, DEF_STR(On)) - PORT_DIPNAME( 0x02, 0x00, "No ULA/LoRes" ) PORT_DIPLOCATION("LYRS:6") - PORT_DIPSETTING( 0x00, DEF_STR(Off)) - PORT_DIPSETTING( 0x02, DEF_STR(On)) - PORT_DIPNAME( 0x01, 0x00, "No Tiles" ) PORT_DIPLOCATION("LYRS:7") - PORT_DIPSETTING( 0x00, DEF_STR(Off)) - PORT_DIPSETTING( 0x01, DEF_STR(On)) + PORT_CONFNAME(0x08, 0x00, "Disable Sprites") + PORT_CONFSETTING( 0x00, DEF_STR(Off)) + PORT_CONFSETTING( 0x08, DEF_STR(On)) + PORT_CONFNAME(0x04, 0x00, "Disable Layer2") + PORT_CONFSETTING( 0x00, DEF_STR(Off)) + PORT_CONFSETTING( 0x04, DEF_STR(On)) + PORT_CONFNAME(0x02, 0x00, "Disable ULA/LoRes") + PORT_CONFSETTING( 0x00, DEF_STR(Off)) + PORT_CONFSETTING( 0x02, DEF_STR(On)) + PORT_CONFNAME(0x01, 0x00, "Disable Tiles") + PORT_CONFSETTING( 0x00, DEF_STR(Off)) + PORT_CONFSETTING( 0x01, DEF_STR(On)) INPUT_PORTS_END diff --git a/src/mame/tvgames/generalplus_gpl16250_spi.cpp b/src/mame/tvgames/generalplus_gpl16250_spi.cpp index 931f0f5fc30..0b828290a20 100644 --- a/src/mame/tvgames/generalplus_gpl16250_spi.cpp +++ b/src/mame/tvgames/generalplus_gpl16250_spi.cpp @@ -288,10 +288,11 @@ CONS(2015, prailpls, 0, 0, generalplus_gpspispi, gcm394, generalplus_gps // this is a half-head shaped unit, SHP13017-R1 main PCB - アンパンマン レッツゴー!育脳ドライブ きみものれるよ!アンパンマンごう「それいけ!アンパンマン」 CONS(2014, anpanbd, 0, 0, generalplus_gpspispi, gcm394, generalplus_gpspispi_game_state, init_spi, "JoyPalette", "Anpanman: Let's Go! Ikunou Drive (Japan)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_SOUND) -// それいけ!アンパンマン」みんなで!育脳マット +// それいけ!アンパンマン」みんなで!育脳マット CONS(2015, anpanm15, 0, 0, generalplus_gpspispi, gcm394, generalplus_gpspispi_game_state, init_spi, "JoyPalette", "Anpanman: Minnade! Ikunou Mat (Japan)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_SOUND) -CONS(2013, anpaneng, 0, 0, generalplus_gpspispi, gcm394, generalplus_gpspispi_game_state, init_spi, "Sega Toys", "Anpanman: Touch de English (Japan)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_SOUND) +// ANPANMAN タッチであそぼ!はじめてEnglish (the furigana for "Enlish" says "えいご") +CONS(2013, anpaneng, 0, 0, generalplus_gpspispi, gcm394, generalplus_gpspispi_game_state, init_spi, "Sega Toys", "Anpanman: Touch de Asobo! Hajimete English (Japan)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_SOUND) CONS(2015, bkrankp, 0, 0, generalplus_gpspispi_bkrankp, gcm394, generalplus_gpspispi_bkrankp_game_state, init_spi, "Bandai", "Karaoke Ranking Party (Japan)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_SOUND) diff --git a/src/mame/tvgames/generalplus_gpl32612.cpp b/src/mame/tvgames/generalplus_gpl32612.cpp index ba6dda7f565..46fb35ebc1d 100644 --- a/src/mame/tvgames/generalplus_gpl32612.cpp +++ b/src/mame/tvgames/generalplus_gpl32612.cpp @@ -557,7 +557,7 @@ CONS( 2014, bananlap, 0, 0, gpl32612, gpl32612, generalplus_g CONS( 2014, bandolap, 0, 0, gpl32612, gpl32612, generalplus_gpl32612_game_state, empty_init, "Bandai", "Doraemon Step Up PC (Japan)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING) // uses GPL32630A has GPspispi header マーメイドアクアポット -CONS( 2021, banaquap, 0, 0, gpl32612, gpl32612, generalplus_gpl32612_game_state, empty_init, "Bandai", "Tropical Rouge PreCure Mermaid Aqua Pot (Japan)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING) +CONS( 2021, banaquap, 0, 0, gpl32612, gpl32612, generalplus_gpl32612_game_state, empty_init, "Bandai", "Tropical Rouge! PreCure: Mermaid Aqua Pot (Japan)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING) // company is called 深圳市飞讯互动科技有限公司 // surface details erased on SoC for both of these |
