From 9ac003b23d593692c9e2a8976646d3a02ad9f8fa Mon Sep 17 00:00:00 2001 From: Joakim Larsson Edstrom Date: Sat, 24 Dec 2016 15:13:41 +0100 Subject: [PATCH] fccpu20: slight clean up --- scripts/target/mame/mess.lua | 1 + src/mame/drivers/fccpu20.cpp | 19 +++++++++---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index b2fa12977c0..6eaaaab28d2 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -1895,6 +1895,7 @@ files { createMESSProjects(_target, _subtarget, "force") files { + MAME_DIR .. "src/mame/drivers/fccpu20.cpp", MAME_DIR .. "src/mame/drivers/fccpu30.cpp", MAME_DIR .. "src/mame/drivers/force68k.cpp", } diff --git a/src/mame/drivers/fccpu20.cpp b/src/mame/drivers/fccpu20.cpp index f25890c7d82..0036da30e0e 100644 --- a/src/mame/drivers/fccpu20.cpp +++ b/src/mame/drivers/fccpu20.cpp @@ -120,10 +120,14 @@ * *--------------------------------------------------------------------------- * TODO: - * - Add VxWorks proms - * - Add more devices - * - Write VME device - * - Add variants of boards + * - Find accurate documentation and adjust memory map + * - Add layouts and system description(s) + * - Write & add 68561 UART + * - Write & add VME device + * - Write & add 68153 BIM + * - Add 68230 PIT + * - Add variants of boards in the CPU-20 and CPU-21 family + * - Add FGA, DUSCC devices and CPU-22 variants * ****************************************************************************/ @@ -131,7 +135,6 @@ #include "cpu/m68000/m68000.h" #include "bus/rs232/rs232.h" #include "machine/clock.h" -//#include "machine/timekpr.h" #define LOG_GENERAL 0x01 #define LOG_SETUP 0x02 @@ -182,10 +185,6 @@ static ADDRESS_MAP_START (cpu20_mem, AS_PROGRAM, 32, cpu20_state) AM_RANGE (0x00000008, 0x003fffff) AM_RAM /* RAM installed in machine start */ AM_RANGE (0xff040000, 0xff04ffff) AM_RAM /* RAM installed in machine start */ AM_RANGE (0xff000000, 0xff00ffff) AM_ROM AM_REGION("roms", 0x0000) -// AM_RANGE (0xffff0000, 0xffffffff) AM_ROM AM_REGION("roms", 0x0000) - -//AM_RANGE(0x100000, 0xfeffff) AM_READWRITE(vme_a24_r, vme_a24_w) /* VMEbus Rev B addresses (24 bits) - not verified */ -//AM_RANGE(0xff0000, 0xffffff) AM_READWRITE(vme_a16_r, vme_a16_w) /* VMEbus Rev B addresses (16 bits) - not verified */ ADDRESS_MAP_END /* Input ports */ @@ -264,7 +263,7 @@ void cpu20_state::update_irq_to_maincpu() */ static MACHINE_CONFIG_START (cpu20, cpu20_state) /* basic machine hardware */ - MCFG_CPU_ADD ("maincpu", M68020, XTAL_20MHz) + MCFG_CPU_ADD ("maincpu", M68020, XTAL_16MHz) /* Crytstal not verified */ MCFG_CPU_PROGRAM_MAP (cpu20_mem) MACHINE_CONFIG_END