(mess) banctec: adding an Intel 80C31 as maincpu. The Motorola M6803 is the secondary MCU dedicated to controlling the Rockwell R6545 chip.

This commit is contained in:
Felipe Corrêa da Silva Sanches 2015-01-18 17:06:17 -02:00
parent 693a2730a3
commit f2b0163ea2

View File

@ -1,9 +1,25 @@
// license:MAME|GPL2+
// copyright-holders:Felipe Sanches
/***************************************************************************
This driver covers only the Operator Panel of the BancTec 91690 Document Processor equipment
Author: Felipe Sanches <juca@members.fsf.org>
Maintainence Manual: <https://garoa.net.br/w/images/PAINEL_BANCTEC_91690.PDF>
*/
#include "emu.h"
#include "cpu/mcs51/mcs51.h"
#include "cpu/m6805/m6805.h"
#include "includes/banctec.h"
#include "video/mc6845.h"
static ADDRESS_MAP_START( banctec_mem , AS_PROGRAM, 8, banctec_state )
AM_RANGE(0x0000, 0x07ff) AM_ROM
AM_RANGE(0x0800, 0xffff) AM_RAM /* Probably wrong. Must be verified on pcb! */
ADDRESS_MAP_END
static ADDRESS_MAP_START( banctec_mcu_mem , AS_PROGRAM, 8, banctec_state )
AM_RANGE(0x0000, 0x1fff) AM_ROM
AM_RANGE(0x2000, 0x7fff) AM_RAM /* Probably wrong. Must be verified on pcb! */
AM_RANGE(0x8000, 0xffff) AM_RAM AM_SHARE("videoram") /* Probably wrong. Must be verified on pcb! */
@ -67,9 +83,13 @@ GFXDECODE_END
static MACHINE_CONFIG_START( banctec, banctec_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", M6805, 4000000) /* 4000000? */
MCFG_CPU_ADD("maincpu", I80C31, XTAL_11_0592MHz)
MCFG_CPU_PROGRAM_MAP(banctec_mem)
MCFG_CPU_ADD("mcu", M6805, 4000000) /* Actual MCU is a Motorola 6803 and the clock frequency is still unknown */
MCFG_CPU_PROGRAM_MAP(banctec_mcu_mem)
// The video signal is generated by a R6545EAP character generator chip
// The U20 EPROM holds the image data for the character set.
@ -93,7 +113,10 @@ static MACHINE_CONFIG_START( banctec, banctec_state )
MACHINE_CONFIG_END
ROM_START(banctec)
ROM_REGION(0x2000,"maincpu",0)
ROM_REGION(0x800,"maincpu",0)
ROM_LOAD("banctec_eseries_panel_opnl.u20", 0x000, 0x800, CRC(c2ab9c06) SHA1(a296589034f656790ad5ffbce028dd846a40cf03))
ROM_REGION(0x2000,"mcu",0)
ROM_LOAD("banctec_eseries_panel.u8", 0x0000, 0x2000, CRC(f3335e0a) SHA1(5ca45fdcb7ef45a65c28c79abfa9ebb7a8a06619))
ROM_REGION(0x1000,"gfx",0)