mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
(MESS) New skeleton added :
---------------------------- Brandt 8641 - Currency Counter [Miodrag Milanovic]
This commit is contained in:
parent
9dda561d38
commit
c462adc489
4 changed files with 65 additions and 0 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -5765,6 +5765,7 @@ src/mess/drivers/bk.c svneol=native#text/plain
|
|||
src/mess/drivers/bmjr.c svneol=native#text/plain
|
||||
src/mess/drivers/bml3.c svneol=native#text/plain
|
||||
src/mess/drivers/bob85.c svneol=native#text/plain
|
||||
src/mess/drivers/br8641.c svneol=native#text/plain
|
||||
src/mess/drivers/bullet.c svneol=native#text/plain
|
||||
src/mess/drivers/busicom.c svneol=native#text/plain
|
||||
src/mess/drivers/bw12.c svneol=native#text/plain
|
||||
|
|
62
src/mess/drivers/br8641.c
Normal file
62
src/mess/drivers/br8641.c
Normal file
|
@ -0,0 +1,62 @@
|
|||
/***************************************************************************
|
||||
|
||||
Brandt 8641
|
||||
|
||||
Currency Counter
|
||||
|
||||
24/12/2012 Skeleton driver.
|
||||
|
||||
There seams to be 15 buttons (according to images, I just have board)
|
||||
also there are 8 dips currently set at 00011100 (1 is on)
|
||||
|
||||
****************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
|
||||
class brandt8641_state : public driver_device
|
||||
{
|
||||
public:
|
||||
brandt8641_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu")
|
||||
{ }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
};
|
||||
|
||||
static ADDRESS_MAP_START(brandt8641_mem, AS_PROGRAM, 8, brandt8641_state)
|
||||
ADDRESS_MAP_UNMAP_HIGH
|
||||
AM_RANGE(0x0000, 0x7fff) AM_ROM // 27256 at U12
|
||||
AM_RANGE(0x8000, 0x9fff) AM_RAM // 8KB static ram 6264 at U12
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static ADDRESS_MAP_START(brandt8641_io, AS_IO, 8, brandt8641_state)
|
||||
ADDRESS_MAP_UNMAP_HIGH
|
||||
ADDRESS_MAP_GLOBAL_MASK(0xff)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
||||
/* Input ports */
|
||||
static INPUT_PORTS_START( brandt8641 )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static MACHINE_CONFIG_START( brandt8641, brandt8641_state )
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu",Z80, XTAL_4MHz) // U4 ,4MHz crystal on board
|
||||
MCFG_CPU_PROGRAM_MAP(brandt8641_mem)
|
||||
MCFG_CPU_IO_MAP(brandt8641_io)
|
||||
// Z80APIO U9
|
||||
// Z80APIO U14
|
||||
// Z80PIO U7
|
||||
// Z80CTC U8
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
/* ROM definition */
|
||||
ROM_START( br8641 )
|
||||
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
|
||||
ROM_LOAD( "v0911he.u11", 0x0000, 0x8000, CRC(59a16951) SHA1(893dba60ec8bfa391fb2d2a30db5d42d601f5eb9))
|
||||
ROM_END
|
||||
|
||||
/* Driver */
|
||||
COMP( 1986, br8641, 0, 0, brandt8641, brandt8641, driver_device, 0, "Brandt", "Brandt 8641", GAME_IS_SKELETON)
|
|
@ -2184,3 +2184,4 @@ ts803h
|
|||
modellot
|
||||
tim100
|
||||
pencil2
|
||||
br8641
|
||||
|
|
|
@ -2001,6 +2001,7 @@ $(MESSOBJ)/skeleton.a: \
|
|||
$(MESS_DRIVERS)/babbage.o \
|
||||
$(MESS_DRIVERS)/beehive.o \
|
||||
$(MESS_DRIVERS)/bob85.o \
|
||||
$(MESS_DRIVERS)/br8641.o \
|
||||
$(MESS_DRIVERS)/busicom.o \
|
||||
$(MESS_VIDEO)/busicom.o \
|
||||
$(MESS_DRIVERS)/chaos.o \
|
||||
|
|
Loading…
Reference in a new issue