Merge pull request #611 from felipesanches/argox_os214

skeleton driver for Argox OS-214 Rabbit Printer [Felipe Sanches]
This commit is contained in:
Miodrag Milanović 2016-02-08 11:53:37 +01:00
commit 670596c4b6
3 changed files with 87 additions and 0 deletions

View File

@ -3029,6 +3029,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",

View File

@ -0,0 +1,85 @@
// license:GPL2+
// copyright-holders:Felipe Sanches
/***************************************************************************
Argox Rabbit Printer
model: 0S-214
Skeleton driver by Felipe Correa da Silva Sanches <juca@members.fsf.org>
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"
#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<cpu_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)

View File

@ -2442,6 +2442,7 @@ hec2mdhrx
hec2mx80
hec2mx40
hector1
os214
victor
poly880
sc1