Previous 199869 Revisions Next

r19771 Monday 24th December, 2012 at 12:56:22 UTC by Miodrag Milanović
(MESS) New skeleton added :
----------------------------
Brandt 8641 - Currency Counter [Miodrag Milanovic]
[src/mess]mess.lst mess.mak
[src/mess/drivers]br8641.c*

trunk/src/mess/mess.lst
r19770r19771
21842184modellot
21852185tim100
21862186pencil2
2187br8641
trunk/src/mess/drivers/br8641.c
r0r19771
1/***************************************************************************
2
3        Brandt 8641
4
5      Currency Counter
6     
7        24/12/2012 Skeleton driver.
8     
9      There seams to be 15 buttons (according to images, I just have board)
10      also there are 8 dips currently set at 00011100 (1 is on)
11
12****************************************************************************/
13
14#include "emu.h"
15#include "cpu/z80/z80.h"
16
17class brandt8641_state : public driver_device
18{
19public:
20   brandt8641_state(const machine_config &mconfig, device_type type, const char *tag)
21      : driver_device(mconfig, type, tag),
22        m_maincpu(*this, "maincpu")
23      { }
24
25   required_device<cpu_device> m_maincpu;
26};
27
28static ADDRESS_MAP_START(brandt8641_mem, AS_PROGRAM, 8, brandt8641_state)
29   ADDRESS_MAP_UNMAP_HIGH
30   AM_RANGE(0x0000, 0x7fff) AM_ROM // 27256 at U12
31   AM_RANGE(0x8000, 0x9fff) AM_RAM // 8KB static ram 6264 at U12
32ADDRESS_MAP_END
33
34static ADDRESS_MAP_START(brandt8641_io, AS_IO, 8, brandt8641_state)
35   ADDRESS_MAP_UNMAP_HIGH
36   ADDRESS_MAP_GLOBAL_MASK(0xff)
37ADDRESS_MAP_END
38
39
40/* Input ports */
41static INPUT_PORTS_START( brandt8641 )
42INPUT_PORTS_END
43
44static MACHINE_CONFIG_START( brandt8641, brandt8641_state )
45   /* basic machine hardware */
46   MCFG_CPU_ADD("maincpu",Z80, XTAL_4MHz) // U4 ,4MHz crystal on board
47   MCFG_CPU_PROGRAM_MAP(brandt8641_mem)
48   MCFG_CPU_IO_MAP(brandt8641_io)
49   // Z80APIO U9
50   // Z80APIO U14
51   // Z80PIO U7
52   // Z80CTC U8
53MACHINE_CONFIG_END
54
55/* ROM definition */
56ROM_START( br8641 )
57   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
58   ROM_LOAD( "v0911he.u11", 0x0000, 0x8000, CRC(59a16951) SHA1(893dba60ec8bfa391fb2d2a30db5d42d601f5eb9))
59ROM_END
60
61/* Driver */
62COMP( 1986, br8641, 0, 0, brandt8641, brandt8641, driver_device, 0, "Brandt", "Brandt 8641", GAME_IS_SKELETON)
trunk/src/mess/mess.mak
r19770r19771
20012001   $(MESS_DRIVERS)/babbage.o   \
20022002   $(MESS_DRIVERS)/beehive.o   \
20032003   $(MESS_DRIVERS)/bob85.o      \
2004   $(MESS_DRIVERS)/br8641.o   \
20042005   $(MESS_DRIVERS)/busicom.o   \
20052006   $(MESS_VIDEO)/busicom.o      \
20062007   $(MESS_DRIVERS)/chaos.o    \

Previous 199869 Revisions Next


© 1997-2024 The MAME Team