diff --git a/.gitattributes b/.gitattributes index 40214a75a6a..42750e68aa5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/src/mess/drivers/br8641.c b/src/mess/drivers/br8641.c new file mode 100644 index 00000000000..b5706caa493 --- /dev/null +++ b/src/mess/drivers/br8641.c @@ -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 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) diff --git a/src/mess/mess.lst b/src/mess/mess.lst index 96bbd393953..66a721c60eb 100644 --- a/src/mess/mess.lst +++ b/src/mess/mess.lst @@ -2184,3 +2184,4 @@ ts803h modellot tim100 pencil2 +br8641 diff --git a/src/mess/mess.mak b/src/mess/mess.mak index 30d2a750a1d..0cfb29847ce 100644 --- a/src/mess/mess.mak +++ b/src/mess/mess.mak @@ -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 \