mirror of
https://github.com/holub/mame
synced 2025-05-06 14:25:54 +03:00
Added VME interface to the last VME boardds fccpu1, fccpu20 and hk68v10, no VME handlers have been added except for the Mizar boards
This commit is contained in:
parent
d97e0d8592
commit
4d3413e372
@ -133,6 +133,9 @@
|
|||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
#include "cpu/m68000/m68000.h"
|
#include "cpu/m68000/m68000.h"
|
||||||
|
#include "bus/vme/vme.h"
|
||||||
|
#include "bus/vme/vme_fcisio.h"
|
||||||
|
#include "bus/vme/vme_fcscsi.h"
|
||||||
#include "bus/rs232/rs232.h"
|
#include "bus/rs232/rs232.h"
|
||||||
#include "machine/clock.h"
|
#include "machine/clock.h"
|
||||||
|
|
||||||
@ -258,6 +261,11 @@ void cpu20_state::update_irq_to_maincpu()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static SLOT_INTERFACE_START(fccpu20_vme_cards)
|
||||||
|
SLOT_INTERFACE("fcisio", VME_FCISIO1)
|
||||||
|
SLOT_INTERFACE("fcscsi", VME_FCSCSI1)
|
||||||
|
SLOT_INTERFACE_END
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Machine configuration
|
* Machine configuration
|
||||||
*/
|
*/
|
||||||
@ -265,6 +273,9 @@ static MACHINE_CONFIG_START (cpu20, cpu20_state)
|
|||||||
/* basic machine hardware */
|
/* basic machine hardware */
|
||||||
MCFG_CPU_ADD ("maincpu", M68020, XTAL_16MHz) /* Crytstal not verified */
|
MCFG_CPU_ADD ("maincpu", M68020, XTAL_16MHz) /* Crytstal not verified */
|
||||||
MCFG_CPU_PROGRAM_MAP (cpu20_mem)
|
MCFG_CPU_PROGRAM_MAP (cpu20_mem)
|
||||||
|
|
||||||
|
MCFG_VME_DEVICE_ADD("vme")
|
||||||
|
MCFG_VME_SLOT_ADD ("vme", "slot1", fccpu20_vme_cards, nullptr)
|
||||||
MACHINE_CONFIG_END
|
MACHINE_CONFIG_END
|
||||||
|
|
||||||
/* ROM definitions */
|
/* ROM definitions */
|
||||||
|
@ -86,6 +86,9 @@
|
|||||||
#include "bus/generic/slot.h"
|
#include "bus/generic/slot.h"
|
||||||
#include "bus/generic/carts.h"
|
#include "bus/generic/carts.h"
|
||||||
#include "softlist.h"
|
#include "softlist.h"
|
||||||
|
#include "bus/vme/vme.h"
|
||||||
|
#include "bus/vme/vme_fcisio.h"
|
||||||
|
#include "bus/vme/vme_fcscsi.h"
|
||||||
|
|
||||||
#define LOG(x) x
|
#define LOG(x) x
|
||||||
|
|
||||||
@ -417,6 +420,12 @@ image_init_result force68k_state::force68k_load_cart(device_image_interface &ima
|
|||||||
return image_init_result::PASS;
|
return image_init_result::PASS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static SLOT_INTERFACE_START(fccpu1_vme_cards)
|
||||||
|
SLOT_INTERFACE("fcisio", VME_FCISIO1)
|
||||||
|
SLOT_INTERFACE("fcscsi", VME_FCSCSI1)
|
||||||
|
SLOT_INTERFACE_END
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Machine configuration
|
* Machine configuration
|
||||||
*/
|
*/
|
||||||
@ -480,6 +489,10 @@ MCFG_CENTRONICS_OUTPUT_LATCH_ADD ("cent_data_out", "centronics")
|
|||||||
|
|
||||||
// EPROM sockets
|
// EPROM sockets
|
||||||
MCFG_FRAGMENT_ADD(fccpu1_eprom_sockets)
|
MCFG_FRAGMENT_ADD(fccpu1_eprom_sockets)
|
||||||
|
|
||||||
|
// VME interface
|
||||||
|
MCFG_VME_DEVICE_ADD("vme")
|
||||||
|
MCFG_VME_SLOT_ADD ("vme", "slot1", fccpu1_vme_cards, nullptr)
|
||||||
MACHINE_CONFIG_END
|
MACHINE_CONFIG_END
|
||||||
|
|
||||||
#if 0 /*
|
#if 0 /*
|
||||||
|
@ -166,6 +166,7 @@
|
|||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
#include "cpu/m68000/m68000.h"
|
#include "cpu/m68000/m68000.h"
|
||||||
|
#include "bus/vme/vme.h"
|
||||||
#include "machine/z80scc.h"
|
#include "machine/z80scc.h"
|
||||||
#include "bus/rs232/rs232.h"
|
#include "bus/rs232/rs232.h"
|
||||||
#include "machine/clock.h"
|
#include "machine/clock.h"
|
||||||
@ -325,6 +326,9 @@ WRITE16_MEMBER (hk68v10_state::vme_a16_w){
|
|||||||
* Original HBUG configuration word: 0x003D = 0000 0000 0011 1101
|
* Original HBUG configuration word: 0x003D = 0000 0000 0011 1101
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
static SLOT_INTERFACE_START(hk68_vme_cards)
|
||||||
|
SLOT_INTERFACE_END
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Machine configuration
|
* Machine configuration
|
||||||
*/
|
*/
|
||||||
@ -343,6 +347,8 @@ MCFG_RS232_PORT_ADD ("rs232trm", default_rs232_devices, "terminal")
|
|||||||
MCFG_RS232_RXD_HANDLER (DEVWRITELINE ("scc", scc8530_device, rxa_w))
|
MCFG_RS232_RXD_HANDLER (DEVWRITELINE ("scc", scc8530_device, rxa_w))
|
||||||
MCFG_RS232_CTS_HANDLER (DEVWRITELINE ("scc", scc8530_device, ctsa_w))
|
MCFG_RS232_CTS_HANDLER (DEVWRITELINE ("scc", scc8530_device, ctsa_w))
|
||||||
|
|
||||||
|
MCFG_VME_DEVICE_ADD("vme")
|
||||||
|
MCFG_VME_SLOT_ADD ("vme", "slot1", hk68_vme_cards, nullptr)
|
||||||
MACHINE_CONFIG_END
|
MACHINE_CONFIG_END
|
||||||
|
|
||||||
/* ROM definitions */
|
/* ROM definitions */
|
||||||
|
Loading…
Reference in New Issue
Block a user