From 4fa31121f2987142ec4bfe14d8663c5848522882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Corr=C3=AAa=20da=20Silva=20Sanches?= Date: Sun, 7 Feb 2016 15:44:57 -0200 Subject: [PATCH 1/2] new skeleton driver: Argox Rabbit Printer (model OS-214) --- scripts/target/mame/mess.lua | 1 + src/mame/drivers/argox.cpp | 54 ++++++++++++++++++++++++++++++++++++ src/mame/mess.lst | 1 + 3 files changed, 56 insertions(+) create mode 100644 src/mame/drivers/argox.cpp diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index cfbf4e0667a..1621febf7c7 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -3028,6 +3028,7 @@ files { MAME_DIR .. "src/mame/drivers/ampro.cpp", MAME_DIR .. "src/mame/drivers/amust.cpp", MAME_DIR .. "src/mame/drivers/applix.cpp", + MAME_DIR .. "src/mame/drivers/argox.cpp", MAME_DIR .. "src/mame/drivers/attache.cpp", MAME_DIR .. "src/mame/drivers/aussiebyte.cpp", MAME_DIR .. "src/mame/includes/aussiebyte.h", diff --git a/src/mame/drivers/argox.cpp b/src/mame/drivers/argox.cpp new file mode 100644 index 00000000000..1e760a2c389 --- /dev/null +++ b/src/mame/drivers/argox.cpp @@ -0,0 +1,54 @@ +// license:GPL2+ +// copyright-holders:Felipe Sanches +/*************************************************************************** + + Argox Rabbit Printer + model: 0S-214 + + Skeleton driver by Felipe Correa da Silva Sanches + +***************************************************************************/ + +#include "emu.h" +#include "cpu/h8/h83002.h" + +class os214_state : public driver_device +{ +public: + os214_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu") + { } + + DECLARE_DRIVER_INIT(os214); + required_device m_maincpu; +}; + +static ADDRESS_MAP_START( os214_prg_map, AS_PROGRAM, 16, os214_state ) + AM_RANGE(0x000000, 0x07ffff) AM_ROM +ADDRESS_MAP_END + +static ADDRESS_MAP_START( os214_io_map, AS_IO, 8, os214_state ) +// ADDRESS_MAP_GLOBAL_MASK(0xff) +ADDRESS_MAP_END + +static MACHINE_CONFIG_START( os214, os214_state ) + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", H83002, XTAL_16MHz) /* X1 xtal value is correct, + but there can be some clock divider perhaps ? */ + MCFG_CPU_PROGRAM_MAP(os214_prg_map) + MCFG_CPU_IO_MAP(os214_io_map) +MACHINE_CONFIG_END + +DRIVER_INIT_MEMBER( os214_state, os214 ) +{ +} + +ROM_START( os214 ) + ROM_REGION( 0x080000, "maincpu", 0 ) + ROM_LOAD16_BYTE( "u9_s2a2-4.03_argox_am.u9", 0x000000, 0x040000, CRC(3bd8b2b1) SHA1(546f9fd8d7e1f589f6e594a332a3429041b49eea) ) + ROM_LOAD16_BYTE( "u8_s2a2-4.03_argox_am.u8", 0x000001, 0x040000, CRC(d49f52af) SHA1(0ca5a70c6c3995f275226af26db965f6ba7ed123) ) +ROM_END + +/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ +COMP( 1996, os214, 0, 0, os214, 0, os214_state, os214, "Argox", "Rabbit Printer (model OS-214)", MACHINE_IS_SKELETON) diff --git a/src/mame/mess.lst b/src/mame/mess.lst index b681d947a1c..ab9173f3110 100644 --- a/src/mame/mess.lst +++ b/src/mame/mess.lst @@ -2427,6 +2427,7 @@ hec2mdhrx hec2mx80 hec2mx40 hector1 +os214 victor poly880 sc1 From a3e1adf275a9ce26f26279acd827d5ed42ab9a81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Corr=C3=AAa=20da=20Silva=20Sanches?= Date: Sun, 7 Feb 2016 16:35:10 -0200 Subject: [PATCH 2/2] [argox os214] overall description of the PCB --- src/mame/drivers/argox.cpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/mame/drivers/argox.cpp b/src/mame/drivers/argox.cpp index 1e760a2c389..737afea4be2 100644 --- a/src/mame/drivers/argox.cpp +++ b/src/mame/drivers/argox.cpp @@ -7,6 +7,37 @@ Skeleton driver by Felipe Correa da Silva Sanches + OVERALL HARDWARE DESCRIPTION: + + There's a sticker labeled "V4.21" + The board is labeled "ARGOX INFORMATION 48.20401.002 DATE:2003/03/20 REV:4.2" + + There's a soldered IC at U10 which is labeled "A511 093060006 55-20401-003 E" and "OK" + I guess it may be another flash ROM + + External interfaces: + * RS232 serial interface + * Centronics port + + Connectors: + * 4-pin labeled "PEELER" (unused) + * 4-pin labeled "RIBBON" + * 4-pin labeled "MEDIA" + * 4-pin labeled "MOTOR" + * 6-pin labeled "MOTOR" (unpopulated) + * 4-pin labeled "CUTTER" (unused) + * 18-pin unlabeled JP18 (with 4 unused pins) Connects to the printing subassembly + * 9-pin labeled "KEYPAD" (unpopulated) + * 6-pin labeled "LED/KEY" (connects to FEED button, POWER LED and READY LED) + + Jumpers: + * set of 2 jumpers (JP1 and JP2) with a jumper inserted at JP2 + * set of 6 unlabelled with jumpers inserted at position #0 and #3 + + DIP sockets: + * u8 and u9 hold the FLASH ROM chips + * U19 is an unpopulated DIP16 socket + ***************************************************************************/ #include "emu.h"