diff --git a/src/mess/drivers/msx.c b/src/mess/drivers/msx.c index 6c36cdb192d..55cf05feee1 100644 --- a/src/mess/drivers/msx.c +++ b/src/mess/drivers/msx.c @@ -3199,11 +3199,11 @@ MSX_LAYOUT_INIT (msx2) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 0, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 3, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( msx2_gen, msx2_pal ) MCFG_MSX_LAYOUT(msx2) + MCFG_MSX_RAMIO_SET_BITS(0xf8) MCFG_FRAGMENT_ADD( msx2_2_cartslots ) MCFG_FRAGMENT_ADD( msx_wd2793 ) MCFG_FRAGMENT_ADD( msx_1_35_dd_drive ) @@ -3233,11 +3233,11 @@ MSX_LAYOUT_INIT (ax350) MSX_LAYOUT_SLOT (2, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) MSX_LAYOUT_SLOT (3, 1, 1, 1, DISK_ROM2, 0x4000, 0x40000) /* Disk */ MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( ax350, msx2_pal ) MCFG_MSX_LAYOUT(ax350) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // AY8910/YM2149? // FDC: wd2793/tc8566af?, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -3270,11 +3270,11 @@ MSX_LAYOUT_INIT (ax370) MSX_LAYOUT_SLOT (3, 1, 1, 2, ROM, 0x8000, 0x20000) /* Arab */ //MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM, 0x4000, 0x40000) /* TC8566AF Disk controller*/ MSX_LAYOUT_SLOT (3, 3, 0, 4, ROM, 0x10000, 0x30000) /* Paint */ - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( ax370, msx2_pal ) MCFG_MSX_LAYOUT(ax370) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // AY8910/YM2149? // FDC: tc8566af, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_tc8566af ) @@ -3301,11 +3301,11 @@ MSX_LAYOUT_INIT (cpc300) MSX_LAYOUT_SLOT (0, 3, 0, 2, ROM, 0x8000, 0x20000) MSX_LAYOUT_SLOT (1, 0, 0, 4, CARTRIDGE1, 0x0000, 0x0000) MSX_LAYOUT_SLOT (3, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( cpc300, msx2 ) MCFG_MSX_LAYOUT(cpc300) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: None, 0 drives // 2 Cartridge slots @@ -3332,11 +3332,11 @@ MSX_LAYOUT_INIT (cpc300e) MSX_LAYOUT_SLOT (0, 3, 0, 2, ROM, 0x8000, 0x20000) MSX_LAYOUT_SLOT (1, 0, 0, 4, CARTRIDGE1, 0x0000, 0x0000) MSX_LAYOUT_SLOT (3, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( cpc300e, msx2 ) MCFG_MSX_LAYOUT(cpc300e) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: None, 0 drives // 2 Cartridge slots? @@ -3364,11 +3364,11 @@ MSX_LAYOUT_INIT (cpc400) MSX_LAYOUT_SLOT (2, 0, 1, 1, DISK_ROM2, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( cpc400, msx2 ) MCFG_MSX_LAYOUT(cpc400) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: mb8877a, 1 3.5" DS?DD drive MCFG_FRAGMENT_ADD( msx_mb8877a ) @@ -3399,11 +3399,11 @@ MSX_LAYOUT_INIT (cpc400s) MSX_LAYOUT_SLOT (2, 0, 1, 1, DISK_ROM2, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( cpc400s, msx2 ) MCFG_MSX_LAYOUT(cpc400s) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: mb8877a, 1 3.5" DS?DD drive MCFG_FRAGMENT_ADD( msx_mb8877a ) @@ -3433,11 +3433,11 @@ MSX_LAYOUT_INIT (expert20) MSX_LAYOUT_SLOT (1, 3, 1, 1, DISK_ROM, 0x4000, 0x24000) /* Microsol controller */ MSX_LAYOUT_SLOT (2, 0, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( expert20, msx2_pal ) MCFG_MSX_LAYOUT(expert20) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: microsol, 1? 3.5"? DS?DD drive MCFG_FRAGMENT_ADD( msx_microsol ) @@ -3549,11 +3549,11 @@ MSX_LAYOUT_INIT (fs4600) MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM2, 0x4000, 0xc000) MSX_LAYOUT_KANJI (0x30000) /* MSX_LAYOUT_KANJI_12 (0x50000) */ /* Matsushita 12 dots Kanji ROM must be emulated */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( fs4600, msx2 ) MCFG_MSX_LAYOUT(fs4600) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: mb8877a, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_mb8877a ) @@ -3638,11 +3638,11 @@ MSX_LAYOUT_INIT (fs5000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM2, 0x4000, 0xc000) MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( fs5000, msx2 ) MCFG_MSX_LAYOUT(fs5000) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: wd2793, 2 3.5" DSDD drives MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -3778,11 +3778,11 @@ MSX_LAYOUT_INIT (fsa1f) /* MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM, 0x4000, 0xc000) */ /* FDC Emulation of TC8566AF must be emulated */ MSX_LAYOUT_SLOT (3, 3, 1, 2, ROM, 0x8000, 0x28000) MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( fsa1f, msx2 ) MCFG_MSX_LAYOUT(fsa1f) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: tc8566af, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_tc8566af ) @@ -3816,11 +3816,11 @@ MSX_LAYOUT_INIT (fsa1fm) /* MSX_LAYOUT_SLOT (3, 3, 0, 4, FSA1FM_ROM, 0x100000, 0x80000) */ /* Panasonic FS-A1FM Mapper must be emulated */ MSX_LAYOUT_KANJI (0x40000) /* MSX_LAYOUT_KANJI_12 (0x60000) */ /* Matsushita 12 dots Kanji ROM must be emulated */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( fsa1fm, msx2 ) MCFG_MSX_LAYOUT(fsa1fm) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: tc8566af, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_tc8566af ) @@ -3852,11 +3852,11 @@ MSX_LAYOUT_INIT (fsa1mk2) MSX_LAYOUT_SLOT (3, 1, 1, 2, ROM, 0x8000, 0x20000) MSX_LAYOUT_SLOT (3, 2, 1, 1, ROM, 0x4000, 0x28000) MSX_LAYOUT_SLOT (3, 3, 1, 2, ROM, 0x8000, 0x2c000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( fsa1mk2, msx2 ) MCFG_MSX_LAYOUT(fsa1mk2) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: None, 0 drives // 2 Cartridge slots @@ -3881,11 +3881,11 @@ MSX_LAYOUT_INIT (nms8220) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( nms8220, msx2_pal ) MCFG_MSX_LAYOUT(nms8220) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // YM2149 (in S-3527 MSX Engine) // FDC: None, 0 drives // 2 Cartridge slots @@ -3911,11 +3911,11 @@ MSX_LAYOUT_INIT (nms8220a) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( nms8220a, msx2_pal ) MCFG_MSX_LAYOUT(nms8220a) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // YM2149 (in S-3527 MSX Engine) // FDC: None, 0 drives // 2 Cartridge slots @@ -3924,6 +3924,9 @@ static MACHINE_CONFIG_DERIVED( nms8220a, msx2_pal ) MACHINE_CONFIG_END /* MSX2 - Philips NMS-8245 - 2 possible sets (/00 /16) */ +/* /00 - A16 = 0 */ +/* /16 - A16 = 1 */ +/* /19 - Azerty keyboard */ ROM_START (nms8245) ROM_REGION (0x40000, "maincpu", 0) @@ -3939,11 +3942,11 @@ MSX_LAYOUT_INIT (nms8245) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x28000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0x2c000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( nms8245, msx2_pal ) MCFG_MSX_LAYOUT(nms8245) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // YM2149 (in S-3527 MSX Engine) // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -3954,6 +3957,7 @@ static MACHINE_CONFIG_DERIVED( nms8245, msx2_pal ) MACHINE_CONFIG_END /* MSX2 - Philips NMS-8245F */ +/* NMS-8245/19? */ ROM_START (nms8245f) ROM_REGION (0x40000, "maincpu", 0) @@ -3969,11 +3973,11 @@ MSX_LAYOUT_INIT (nms8245f) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x38000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0x3c000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( nms8245f, msx2_pal ) MCFG_MSX_LAYOUT(nms8245f) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // YM2149 (in S-3527 MSX Engine) // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4002,11 +4006,11 @@ MSX_LAYOUT_INIT (nms8250) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( nms8250, msx2_pal ) MCFG_MSX_LAYOUT(nms8250) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // YM2149 (in S-3527 MSX Engine) // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4063,11 +4067,11 @@ MSX_LAYOUT_INIT (nms8255) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( nms8255, msx2_pal ) MCFG_MSX_LAYOUT(nms8255) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // YM2149 (in S-3527 MSX Engine) // FDC: wd2793, 2 3.5" DSDD drives MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4095,11 +4099,11 @@ MSX_LAYOUT_INIT (nms8280) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( nms8280, msx2_pal ) MCFG_MSX_LAYOUT(nms8280) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // AY8910/YM2149? // FDC: wd2793, 2 3.5" DSDD drives MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4126,11 +4130,11 @@ MSX_LAYOUT_INIT (nms8280g) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( nms8280g, msx2_pal ) MCFG_MSX_LAYOUT(nms8280g) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // AY8910/YM2149? // FDC: wd2793, 2 3.5" DSDD drives MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4157,11 +4161,11 @@ MSX_LAYOUT_INIT (vg8230) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( vg8230, msx2_pal ) MCFG_MSX_LAYOUT(vg8230) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // YM2149 (in S-3527 MSX Engine) // FDC: wd2793, 1 3.5" SSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4220,11 +4224,11 @@ MSX_LAYOUT_INIT (vg8235) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( vg8235, msx2_pal ) MCFG_MSX_LAYOUT(vg8235) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // YM2149 (in S-3527 MSX Engine) // FDC: wd2793, 1 3.5" SSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4252,11 +4256,11 @@ MSX_LAYOUT_INIT (vg8235f) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( vg8235f, msx2_pal ) MCFG_MSX_LAYOUT(vg8235f) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // YM2149 (in S-3527 MSX Engine) // FDC: wd2793, 1 3.5" SSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4284,11 +4288,11 @@ MSX_LAYOUT_INIT (vg8240) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, DISK_ROM, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0xf8) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( vg8240, msx2_pal ) MCFG_MSX_LAYOUT(vg8240) + MCFG_MSX_RAMIO_SET_BITS(0xf8) // AY8910/YM2149? // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4398,11 +4402,11 @@ MSX_LAYOUT_INIT (hotbit20) MSX_LAYOUT_SLOT (1, 3, 1, 1, DISK_ROM, 0x4000, 0x24000) /* Microsol controller */ MSX_LAYOUT_SLOT (2, 0, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hotbit20, msx2_pal ) MCFG_MSX_LAYOUT(hotbit20) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: microsol, 1 or 2 drives? MCFG_FRAGMENT_ADD( msx_microsol ) @@ -4465,11 +4469,11 @@ MSX_LAYOUT_INIT (hbf12) MSX_LAYOUT_SLOT (3, 1, 1, 2, ROM, 0x8000, 0x24000) MSX_LAYOUT_SLOT (3, 2, 1, 2, ROM, 0x8000, 0x2c000) MSX_LAYOUT_SLOT (3, 3, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf12, msx2 ) MCFG_MSX_LAYOUT(hbf12) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: None, 0 drives // 2 Cartridge slots @@ -4494,11 +4498,11 @@ MSX_LAYOUT_INIT (hbf1xd) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 0, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 3, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf1xd, msx2 ) MCFG_MSX_LAYOUT(hbf1xd) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1895 MSX Engine) // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4526,11 +4530,11 @@ MSX_LAYOUT_INIT (hbf1xdm2) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 0, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 3, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf1xdm2, msx2 ) MCFG_MSX_LAYOUT(hbf1xdm2) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4646,11 +4650,11 @@ MSX_LAYOUT_INIT (hbf700d) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 0, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 3, 0, 4, RAM_MM, 0x40000, 0x0000) /* 256KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf700d, msx2_pal ) MCFG_MSX_LAYOUT(hbf700d) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4677,11 +4681,11 @@ MSX_LAYOUT_INIT (hbf700f) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 0, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 3, 0, 4, RAM_MM, 0x40000, 0x0000) /* 256KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf700f, msx2_pal ) MCFG_MSX_LAYOUT(hbf700f) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4707,11 +4711,11 @@ MSX_LAYOUT_INIT (hbf700p) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 0, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 3, 0, 4, RAM_MM, 0x40000, 0x0000) /* 256KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf700p, msx2_pal ) MCFG_MSX_LAYOUT(hbf700p) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4738,11 +4742,11 @@ MSX_LAYOUT_INIT (hbf700s) MSX_LAYOUT_SLOT (3, 0, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 0, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 3, 0, 4, RAM_MM, 0x40000, 0x0000) /* 256KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf700s, msx2_pal ) MCFG_MSX_LAYOUT(hbf700s) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4772,11 +4776,11 @@ MSX_LAYOUT_INIT (hbf900) MSX_LAYOUT_SLOT (3, 1, 0, 4, RAM_MM, 0x40000, 0x0000) /* 256KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, ROM, 0x4000, 0x10000) MSX_LAYOUT_KANJI (0x24000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf900, msx2 ) MCFG_MSX_LAYOUT(hbf900) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: wd2793, 2 3.5" DSDD drives MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4806,11 +4810,11 @@ MSX_LAYOUT_INIT (hbf900a) MSX_LAYOUT_SLOT (3, 1, 0, 4, RAM_MM, 0x40000, 0x0000) /* 256KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 1, 1, ROM, 0x4000, 0x10000) MSX_LAYOUT_KANJI (0x24000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf900a, msx2 ) MCFG_MSX_LAYOUT(hbf900a) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: wd2793, 2 3.5" DSDD drives MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4838,11 +4842,11 @@ MSX_LAYOUT_INIT (hbf9p) MSX_LAYOUT_SLOT (3, 0, 1, 1, ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 1, 1, 2, ROM, 0x8000, 0x20000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf9p, msx2_pal ) MCFG_MSX_LAYOUT(hbf9p) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: None, 0 drives // 2 Cartridge slots @@ -4894,11 +4898,11 @@ MSX_LAYOUT_INIT (hbf9s) MSX_LAYOUT_SLOT (3, 0, 1, 1, ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 1, 1, 2, ROM, 0x8000, 0x20000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf9s, msx2_pal ) MCFG_MSX_LAYOUT(hbf9s) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: None, 0 drives // 2 Cartridge slots @@ -4934,11 +4938,11 @@ MSX_LAYOUT_INIT (hbg900ap) MSX_LAYOUT_SLOT (1, 0, 0, 4, CARTRIDGE1, 0x0000, 0x0000) MSX_LAYOUT_SLOT (2, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) MSX_LAYOUT_SLOT (3, 0, 0, 4, RAM_MM, 0x80000, 0x0000) /* 512KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbg900ap, msx2_pal ) MCFG_MSX_LAYOUT(hbg900ap) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -4969,11 +4973,11 @@ MSX_LAYOUT_INIT (hbg900p) MSX_LAYOUT_SLOT (1, 0, 0, 4, CARTRIDGE1, 0x0000, 0x0000) MSX_LAYOUT_SLOT (2, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) MSX_LAYOUT_SLOT (3, 0, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbg900p, msx2_pal ) MCFG_MSX_LAYOUT(hbg900p) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -5002,11 +5006,11 @@ MSX_LAYOUT_INIT (tpc310) MSX_LAYOUT_SLOT (3, 0, 1, 1, ROM, 0x4000, 0x20000) MSX_LAYOUT_SLOT (3, 1, 1, 2, ROM, 0x8000, 0x24000) MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM2, 0x4000, 0xc000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( tpc310, msx2_pal ) MCFG_MSX_LAYOUT(tpc310) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: None, 0 drives // 1 Cartridge slot (slot 2) @@ -5085,11 +5089,11 @@ MSX_LAYOUT_INIT (hx23) MSX_LAYOUT_SLOT (3, 0, 0, 2, RAM, 0x8000, 0x0000) /* 32KB RAM */ MSX_LAYOUT_SLOT (3, 1, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 3, 0, 4, ROM, 0x10000, 0x20000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hx23, msx2_pal ) MCFG_MSX_LAYOUT(hx23) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: None, 0 drives // 2 Cartridge slots? @@ -5115,11 +5119,11 @@ MSX_LAYOUT_INIT (hx23f) MSX_LAYOUT_SLOT (3, 0, 0, 4, RAM_MM, 0x20000, 0x0000) /* 128KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 1, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 3, 0, 4, ROM, 0x10000, 0x20000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hx23f, msx2_pal ) MCFG_MSX_LAYOUT(hx23f) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: None, 0 drives // 2 Cartridge slots? @@ -5144,11 +5148,11 @@ MSX_LAYOUT_INIT (cx7m) MSX_LAYOUT_SLOT (2, 0, 0, 4, CARTRIDGE2, 0x0000, 0x0000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 0, 2, ROM, 0x8000, 0x20000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( cx7m, msx2_pal ) MCFG_MSX_LAYOUT(cx7m) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: None, 0 drives // 2 Cartridge slots? @@ -5175,11 +5179,11 @@ MSX_LAYOUT_INIT (cx7m128) MSX_LAYOUT_SLOT (3, 1, 1, 1, ROM, 0x4000, 0x28000) MSX_LAYOUT_SLOT (3, 2, 0, 4, RAM_MM, 0x10000, 0x0000) /* 64KB Mapper RAM */ MSX_LAYOUT_SLOT (3, 3, 0, 2, ROM, 0x8000, 0x20000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( cx7m128, msx2_pal ) MCFG_MSX_LAYOUT(cx7m128) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: None, 0 drives // 2 Cartridge slots? @@ -5209,11 +5213,11 @@ MSX_LAYOUT_INIT (msx2p) MSX_LAYOUT_SLOT (3, 1, 1, 2, ROM, 0x8000, 0x20000) MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_KANJI (0x28000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( msx2pgen, msx2p ) MCFG_MSX_LAYOUT(msx2p) + MCFG_MSX_RAMIO_SET_BITS(0x80) MCFG_FRAGMENT_ADD( msx2_2_cartslots ) MACHINE_CONFIG_END @@ -5369,11 +5373,11 @@ MSX_LAYOUT_INIT (fsa1fx) /* MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM, 0x4000, 0xc000) */ /* FDC Emulation of TC8566AF must be emulated */ MSX_LAYOUT_SLOT (3, 3, 1, 2, ROM, 0x8000, 0x28000) MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( fsa1fx, msx2p ) MCFG_MSX_LAYOUT(fsa1fx) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: tc8566af, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_tc8566af ) @@ -5409,11 +5413,11 @@ MSX_LAYOUT_INIT (fsa1wsx) /* MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM, 0x4000, 0xc000) */ /* FDC Emulation of TC8566AF must be emulated */ /* MSX_LAYOUT_SLOT (3, 3, 1, 4, PANASONIC08, 0x200000, 0x70000) */ /* Panasonic 08KB Mapper must be emulated */ MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( fsa1wsx, msx2p ) MCFG_MSX_LAYOUT(fsa1wsx) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: tc8566af, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_tc8566af ) @@ -5450,11 +5454,11 @@ MSX_LAYOUT_INIT (fsa1wx) /* MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM, 0x4000, 0xc000) */ /* FDC Emulation of TC8566AF must be emulated */ /* MSX_LAYOUT_SLOT (3, 3, 1, 4, PANASONIC08, 0x200000, 0x70000) */ /* Panasonic 08KB Mapper must be emulated */ MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( fsa1wx, msx2p ) MCFG_MSX_LAYOUT(fsa1wx) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: tc8566af, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_tc8566af ) @@ -5490,11 +5494,11 @@ MSX_LAYOUT_INIT (fsa1wxa) /* MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM, 0x4000, 0xc000) */ /* FDC Emulation of TC8566AF must be emulated */ /* MSX_LAYOUT_SLOT (3, 3, 1, 4, PANASONIC08, 0x200000, 0x70000) */ /* Panasonic 08KB Mapper must be emulated */ MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( fsa1wxa, msx2p ) MCFG_MSX_LAYOUT(fsa1wxa) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: tc8566af, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_tc8566af ) @@ -5524,11 +5528,11 @@ MSX_LAYOUT_INIT (phc35j) MSX_LAYOUT_SLOT (3, 1, 0, 1, ROM, 0x4000, 0x8000) MSX_LAYOUT_SLOT (3, 1, 1, 2, ROM, 0x8000, 0x20000) MSX_LAYOUT_KANJI (0x28000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( phc35j, msx2p ) MCFG_MSX_LAYOUT(phc35j) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: None, 0 drives // 2 Cartridge slots @@ -5561,11 +5565,11 @@ MSX_LAYOUT_INIT (phc70fd) MSX_LAYOUT_SLOT (3, 3, 1, 1, ROM, 0x4000, 0x28000) MSX_LAYOUT_SLOT (3, 3, 2, 1, ROM, 0x4000, 0x2c000) MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( phc70fd, msx2p ) MCFG_MSX_LAYOUT(phc70fd) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: tc8566af, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_tc8566af ) @@ -5600,11 +5604,11 @@ MSX_LAYOUT_INIT (phc70fd2) MSX_LAYOUT_SLOT (3, 3, 1, 1, ROM, 0x4000, 0x28000) MSX_LAYOUT_SLOT (3, 3, 2, 1, ROM, 0x4000, 0x2c000) MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( phc70fd2, msx2p ) MCFG_MSX_LAYOUT(phc70fd2) + MCFG_MSX_RAMIO_SET_BITS(0x80) // AY8910/YM2149? // FDC: tc8566af, 2 3.5" DSDD drives MCFG_FRAGMENT_ADD( msx_tc8566af ) @@ -5641,11 +5645,11 @@ MSX_LAYOUT_INIT (hbf1xdj) MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 3, 1, 1, ROM, 0x4000, 0x28000) MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf1xdj, msx2p ) MCFG_MSX_LAYOUT(hbf1xdj) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: wd2793, 1 3.5" DSDD drive MCFG_FRAGMENT_ADD( msx_wd2793 ) @@ -5683,11 +5687,11 @@ MSX_LAYOUT_INIT (hbf1xv) MSX_LAYOUT_SLOT (3, 2, 1, 1, DISK_ROM, 0x4000, 0xc000) MSX_LAYOUT_SLOT (3, 3, 1, 1, ROM, 0x4000, 0x28000) MSX_LAYOUT_KANJI (0x30000) - MSX_LAYOUT_RAMIO_SET_BITS (0x80) MSX_LAYOUT_END static MACHINE_CONFIG_DERIVED( hbf1xv, msx2p ) MCFG_MSX_LAYOUT(hbf1xv) + MCFG_MSX_RAMIO_SET_BITS(0x80) // YM2149 (in S-1985 MSX Engine) // FDC: wd2793, 1 3.5" DSDD drives MCFG_FRAGMENT_ADD( msx_wd2793 ) diff --git a/src/mess/includes/msx.h b/src/mess/includes/msx.h index f2a5319f94a..668870c4687 100644 --- a/src/mess/includes/msx.h +++ b/src/mess/includes/msx.h @@ -39,6 +39,9 @@ #define MCFG_MSX_LAYOUT(_layout) \ msx_state::set_layout(*owner, msx_slot_layout_##_layout); +#define MCFG_MSX_RAMIO_SET_BITS(_ramio_set_bits) \ + msx_state::set_ramio_set_bits(*owner, _ramio_set_bits); + class msx_state : public driver_device { public: @@ -84,6 +87,7 @@ public: // static configuration helpers static void set_layout(device_t &device, const msx_slot_layout *layout) { downcast(device).m_layout = layout; } + static void set_ramio_set_bits(device_t &device, UINT8 ramio_set_bits) { downcast(device).m_ramio_set_bits = ramio_set_bits; } DECLARE_WRITE8_MEMBER(msx_page0_w); DECLARE_WRITE8_MEMBER(msx_page0_1_w); diff --git a/src/mess/includes/msx_slot.h b/src/mess/includes/msx_slot.h index 1479504fc4f..53dc456e8a6 100644 --- a/src/mess/includes/msx_slot.h +++ b/src/mess/includes/msx_slot.h @@ -11,7 +11,6 @@ enum { MSX_LAYOUT_SLOT_ENTRY, MSX_LAYOUT_KANJI_ENTRY, - MSX_LAYOUT_RAMIO_SET_BITS_ENTRY, MSX_LAYOUT_LAST }; @@ -48,18 +47,6 @@ static const msx_slot_layout msx_slot_layout_##msx[] = { offset \ }, -#define MSX_LAYOUT_RAMIO_SET_BITS(offset) \ - { \ - MSX_LAYOUT_RAMIO_SET_BITS_ENTRY, \ - SLOT_EMPTY, \ - 0, \ - 0, \ - 0, \ - 0, \ - 0, \ - offset \ - }, - #define MSX_LAYOUT_END \ { \ MSX_LAYOUT_LAST, \ diff --git a/src/mess/machine/msx.c b/src/mess/machine/msx.c index d6c6e988cb6..a2de4f555a1 100644 --- a/src/mess/machine/msx.c +++ b/src/mess/machine/msx.c @@ -870,9 +870,6 @@ void msx_state::msx_memory_init() case MSX_LAYOUT_KANJI_ENTRY: m_kanji_mem = m_region_maincpu->base() + layout->option; break; - case MSX_LAYOUT_RAMIO_SET_BITS_ENTRY: - m_ramio_set_bits = (UINT8)layout->option; - break; } } }