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:
Joakim Larsson Edstrom 2017-01-05 21:11:10 +01:00
parent d97e0d8592
commit 4d3413e372
3 changed files with 96 additions and 66 deletions

View File

@ -133,6 +133,9 @@
#include "emu.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 "machine/clock.h"
@ -258,6 +261,11 @@ void cpu20_state::update_irq_to_maincpu()
}
#endif
static SLOT_INTERFACE_START(fccpu20_vme_cards)
SLOT_INTERFACE("fcisio", VME_FCISIO1)
SLOT_INTERFACE("fcscsi", VME_FCSCSI1)
SLOT_INTERFACE_END
/*
* Machine configuration
*/
@ -265,6 +273,9 @@ static MACHINE_CONFIG_START (cpu20, cpu20_state)
/* basic machine hardware */
MCFG_CPU_ADD ("maincpu", M68020, XTAL_16MHz) /* Crytstal not verified */
MCFG_CPU_PROGRAM_MAP (cpu20_mem)
MCFG_VME_DEVICE_ADD("vme")
MCFG_VME_SLOT_ADD ("vme", "slot1", fccpu20_vme_cards, nullptr)
MACHINE_CONFIG_END
/* ROM definitions */

View File

@ -86,6 +86,9 @@
#include "bus/generic/slot.h"
#include "bus/generic/carts.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
@ -417,6 +420,12 @@ image_init_result force68k_state::force68k_load_cart(device_image_interface &ima
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
*/
@ -480,6 +489,10 @@ MCFG_CENTRONICS_OUTPUT_LATCH_ADD ("cent_data_out", "centronics")
// 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
#if 0 /*

View File

@ -166,6 +166,7 @@
#include "emu.h"
#include "cpu/m68000/m68000.h"
#include "bus/vme/vme.h"
#include "machine/z80scc.h"
#include "bus/rs232/rs232.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
*/
static SLOT_INTERFACE_START(hk68_vme_cards)
SLOT_INTERFACE_END
/*
* 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_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
/* ROM definitions */