From 4c91fb25b32b89d7d0b8aa5dfc1fd4879aeb12e5 Mon Sep 17 00:00:00 2001 From: angelosa Date: Sun, 28 Jan 2018 05:53:11 +0100 Subject: x1twin fix validation (nw) --- src/mame/drivers/x1.cpp | 3 ++- src/mame/drivers/x1twin.cpp | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/mame/drivers/x1.cpp b/src/mame/drivers/x1.cpp index fdea4859a56..ed05abcc317 100644 --- a/src/mame/drivers/x1.cpp +++ b/src/mame/drivers/x1.cpp @@ -2227,7 +2227,8 @@ MACHINE_CONFIG_START(x1_state::x1) MCFG_VIDEO_START_OVERRIDE(x1_state,x1) MCFG_MB8877_ADD("fdc", MAIN_CLOCK / 16) - MCFG_WD_FDC_HLD_CALLBACK(WRITELINE(x1_state, hdl_w)) // XXX: wag + // TODO: guesswork, try to implicitily start the motor + MCFG_WD_FDC_HLD_CALLBACK(WRITELINE(x1_state, hdl_w)) MCFG_FLOPPY_DRIVE_ADD("fdc:0", x1_floppies, "dd", x1_state::floppy_formats) MCFG_FLOPPY_DRIVE_ADD("fdc:1", x1_floppies, "dd", x1_state::floppy_formats) diff --git a/src/mame/drivers/x1twin.cpp b/src/mame/drivers/x1twin.cpp index 3dbf58b3c9b..0534fba2612 100644 --- a/src/mame/drivers/x1twin.cpp +++ b/src/mame/drivers/x1twin.cpp @@ -437,7 +437,7 @@ MACHINE_CONFIG_START(x1twin_state::x1twin) MCFG_DEFAULT_LAYOUT(layout_dualhsxs) /* video hardware */ - MCFG_SCREEN_ADD("x1_screen", RASTER) + MCFG_SCREEN_ADD("screen", RASTER) MCFG_SCREEN_REFRESH_RATE(60) MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */ MCFG_SCREEN_SIZE(640, 480) @@ -450,8 +450,8 @@ MACHINE_CONFIG_START(x1twin_state::x1twin) MCFG_SCREEN_RAW_PARAMS(PCE_MAIN_CLOCK/2, huc6260_device::WPF, 70, 70 + 512 + 32, huc6260_device::LPF, 14, 14+242) MCFG_SCREEN_UPDATE_DRIVER(x1twin_state, screen_update_x1pce) - MCFG_MC6845_ADD("crtc", H46505, "x1_screen", (VDP_CLOCK/48)) //unknown divider - MCFG_MC6845_SHOW_BORDER_AREA(false) + MCFG_MC6845_ADD("crtc", H46505, "screen", (VDP_CLOCK/48)) //unknown divider + MCFG_MC6845_SHOW_BORDER_AREA(true) MCFG_MC6845_CHAR_WIDTH(8) MCFG_PALETTE_ADD("palette", 0x10+0x1000) @@ -462,6 +462,8 @@ MACHINE_CONFIG_START(x1twin_state::x1twin) MCFG_VIDEO_START_OVERRIDE(x1twin_state,x1) MCFG_MB8877_ADD("fdc", MAIN_CLOCK / 16) + // TODO: guesswork, try to implicitily start the motor + MCFG_WD_FDC_HLD_CALLBACK(WRITELINE(x1_state, hdl_w)) MCFG_FLOPPY_DRIVE_ADD("fdc:0", x1_floppies, "dd", x1_state::floppy_formats) MCFG_FLOPPY_DRIVE_ADD("fdc:1", x1_floppies, "dd", x1_state::floppy_formats) -- cgit v1.2.3