Previous 199869 Revisions Next

r17711 Saturday 8th September, 2012 at 06:28:08 UTC by Robbbert
saving current work
[src/mame/drivers]g627.c kissproto.c micropin.c play_1.c play_3.c sleic.c techno.c
[src/mame/layout]techno.lay

trunk/src/mame/layout/techno.lay
r17710r17711
66
77   <element name="digit" defstate="0">
88      <led16seg>
9         <color red="1.0" green="1.0" blue="0.0" />
9         <color red="1.0" green="0.75" blue="0.0" />
1010      </led16seg>
1111   </element>
1212
r17710r17711
2121
2222      <!-- Background -->
2323      <backdrop element="background">
24         <bounds left="0" top="35" right="714" bottom="394" />
24         <bounds left="0" top="35" right="714" bottom="154" />
2525      </backdrop>
2626
2727      <!-- LEDs -->
r17710r17711
8080      <!-- Bottom Row -->
8181
8282      <bezel name="digit45" element="digit">
83         <bounds left="10" top="105" right="44" bottom="184" />
83         <bounds left="10" top="105" right="44" bottom="144" />
8484      </bezel>
8585      <bezel name="digit44" element="digit">
86         <bounds left="54" top="105" right="88" bottom="184" />
86         <bounds left="54" top="105" right="88" bottom="144" />
8787      </bezel>
8888      <bezel name="digit43" element="digit">
89         <bounds left="98" top="105" right="132" bottom="184" />
89         <bounds left="98" top="105" right="132" bottom="144" />
9090      </bezel>
9191      <bezel name="digit42" element="digit">
92         <bounds left="142" top="105" right="176" bottom="184" />
92         <bounds left="142" top="105" right="176" bottom="144" />
9393      </bezel>
9494      <bezel name="digit41" element="digit">
95         <bounds left="186" top="105" right="220" bottom="184" />
95         <bounds left="186" top="105" right="220" bottom="144" />
9696      </bezel>
9797      <bezel name="digit40" element="digit">
98         <bounds left="230" top="105" right="264" bottom="184" />
98         <bounds left="230" top="105" right="264" bottom="144" />
9999      </bezel>
100100      <bezel name="digit39" element="digit">
101         <bounds left="274" top="105" right="308" bottom="184" />
101         <bounds left="274" top="105" right="308" bottom="144" />
102102      </bezel>
103103      <bezel name="digit38" element="digit">
104         <bounds left="318" top="105" right="352" bottom="184" />
104         <bounds left="318" top="105" right="352" bottom="144" />
105105      </bezel>
106106      <bezel name="digit37" element="digit">
107         <bounds left="362" top="105" right="396" bottom="184" />
107         <bounds left="362" top="105" right="396" bottom="144" />
108108      </bezel>
109109      <bezel name="digit36" element="digit">
110         <bounds left="406" top="105" right="440" bottom="184" />
110         <bounds left="406" top="105" right="440" bottom="144" />
111111      </bezel>
112112      <bezel name="digit35" element="digit">
113         <bounds left="450" top="105" right="484" bottom="184" />
113         <bounds left="450" top="105" right="484" bottom="144" />
114114      </bezel>
115115      <bezel name="digit34" element="digit">
116         <bounds left="494" top="105" right="528" bottom="184" />
116         <bounds left="494" top="105" right="528" bottom="144" />
117117      </bezel>
118118      <bezel name="digit33" element="digit">
119         <bounds left="538" top="105" right="572" bottom="184" />
119         <bounds left="538" top="105" right="572" bottom="144" />
120120      </bezel>
121121      <bezel name="digit32" element="digit">
122         <bounds left="582" top="105" right="616" bottom="184" />
122         <bounds left="582" top="105" right="616" bottom="144" />
123123      </bezel>
124124      <bezel name="digit31" element="digit">
125         <bounds left="626" top="105" right="660" bottom="184" />
125         <bounds left="626" top="105" right="660" bottom="144" />
126126      </bezel>
127127      <bezel name="digit30" element="digit">
128         <bounds left="670" top="105" right="704" bottom="184" />
128         <bounds left="670" top="105" right="704" bottom="144" />
129129      </bezel>
130130   </view>
131131</mamelayout>
trunk/src/mame/drivers/sleic.c
r17710r17711
1/**********************************************************************************
12
3Pinball
4Sleic
5
6***********************************************************************************/
7
28#include "emu.h"
39#include "cpu/i86/i86.h"
410
trunk/src/mame/drivers/techno.c
r17710r17711
1/*
1/**********************************************************************************
2
23    Pinball
34    Technoplay "2-2C 8008 LS" (68000 CPU)
4*/
5    Schematic and PinMAME used as references
56
7***********************************************************************************/
68
9
710#include "emu.h"
811#include "cpu/m68000/m68000.h"
12#include "techno.lh"
913
1014class techno_state : public driver_device
1115{
1216public:
1317   techno_state(const machine_config &mconfig, device_type type, const char *tag)
1418      : driver_device(mconfig, type, tag),
15        m_maincpu(*this, "maincpu")
19   m_maincpu(*this, "maincpu")
1620   { }
1721
22   DECLARE_WRITE16_MEMBER(disp1_w);
23   DECLARE_WRITE16_MEMBER(disp2_w);
24   DECLARE_WRITE16_MEMBER(sound_w);
25   UINT16 m_digit_1;
26   UINT16 m_digit_2;
27   UINT16 m_segment_1;
28   UINT16 m_segment_2;
29   UINT8 m_vector;
1830protected:
1931
2032   // devices
r17710r17711
2234
2335   // driver_device overrides
2436   virtual void machine_reset();
37private:
38   bool m_digwait;
2539public:
2640   DECLARE_DRIVER_INIT(techno);
2741};
2842
2943
3044static ADDRESS_MAP_START( techno_map, AS_PROGRAM, 16, techno_state )
31   AM_RANGE(0x0000, 0xffff) AM_ROM
32   AM_RANGE(0x4000, 0x5fff) AM_RAM
33   AM_RANGE(0x6000, 0xffff) AM_ROM
34   AM_RANGE(0x10000, 0x17801) AM_NOP // io
45   ADDRESS_MAP_GLOBAL_MASK(0x1ffff)
46   AM_RANGE(0x00000, 0x03fff) AM_ROM
47   AM_RANGE(0x04000, 0x05fff) AM_RAM // battery backed-up
48   AM_RANGE(0x06000, 0x0ffff) AM_ROM
49   //AM_RANGE(0x14000, 0x147ff) AM_READWRITE(key_r,lamp1_w)
50   //AM_RANGE(0x14800, 0x14fff) AM_READWRITE(sound_r,lamp2_w)
51   //AM_RANGE(0x15000, 0x157ff) AM_READWRITE(rtrg_r,sol1_w)
52   //AM_RANGE(0x15800, 0x15fff) AM_WRITE(sol2_w)
53   AM_RANGE(0x16000, 0x167ff) AM_WRITE(sound_w)
54   AM_RANGE(0x16800, 0x16fff) AM_WRITE(disp1_w)
55   AM_RANGE(0x17000, 0x177ff) AM_WRITE(disp2_w)
56   //AM_RANGE(0x17800, 0x17fff) AM_WRITE(setout_w)
3557ADDRESS_MAP_END
3658
59//static ADDRESS_MAP_START( techno_sub_map, AS_IO, 8, techno_state )
60//       no ram here, must be internal to the cpu
61//   AM_RANGE(0x0000, 0x3fff) AM_READ(rd_r) // to TKY2016A audio processor which has its own 3.58MHz clock
62//   AM_RANGE(0x4000, 0x7fff) AM_WRITE(wr_w) // A11=LED;A12=WR2 (DAC) ;A13=WR1 (TKY2016A as above)
63//   AM_RANGE(0x4000, 0xbfff) AM_ROM // 4000-7FFF is same as 8000-BFFF; 4x 16k ROMS bankswitched
64//   AM_RANGE(0xc000, 0xffff) AM_ROM // another 16k ROM
65//ADDRESS_MAP_END
66
67WRITE16_MEMBER( techno_state::disp1_w )
68{
69   m_segment_1 = data;
70   output_set_digit_value(m_digit_1, m_segment_1);
71}
72
73WRITE16_MEMBER( techno_state::disp2_w )
74{
75   m_segment_2 = data;
76   output_set_digit_value(m_digit_1+30, m_segment_2);
77}
78
79WRITE16_MEMBER( techno_state::sound_w )
80{
81   if (m_digwait)
82      m_digit_1 = (m_digit_1+1) % 16;
83
84   if (BIT(data, 10))
85   {
86      m_digwait = 1;
87      m_digit_1 = 0;
88   }
89}
90
3791static INPUT_PORTS_START( techno )
3892INPUT_PORTS_END
3993
94static INTERRUPT_GEN( techno_intgen )
95{
96   techno_state *state = device->machine().driver_data<techno_state>();
97   // vectors change per int: 88-8F, 98-9F)
98   if ((state->m_vector & 7) == 7)
99      state->m_vector = (state->m_vector ^ 0x10) & 0x97;
100   state->m_vector++;
101   generic_pulse_irq_line_and_vector(device, 1, state->m_vector, 1);
102   //device_set_input_line_and_vector(device, 1, ASSERT_LINE, state->m_vector);
103}
104
40105void techno_state::machine_reset()
41106{
107   m_vector = 0x88;
42108}
43109
44110DRIVER_INIT_MEMBER(techno_state,techno)
r17710r17711
49115   /* basic machine hardware */
50116   MCFG_CPU_ADD("maincpu", M68000, 8000000)
51117   MCFG_CPU_PROGRAM_MAP(techno_map)
118   MCFG_CPU_PERIODIC_INT(techno_intgen, 8000000/256) // 31250Hz
119   //MCFG_CPU_ADD("cpu2", TMS7000, 4000000)
120   //MCFG_CPU_PROGRAM_MAP(techno_sub_map)
121
122   /* Video */
123   MCFG_DEFAULT_LAYOUT(layout_techno)
52124MACHINE_CONFIG_END
53125
54126ROM_START(xforce)
55127   ROM_REGION(0x1000000, "maincpu", 0)
56128   ROM_LOAD16_BYTE("ic15", 0x000001, 0x8000, CRC(fb8d2853) SHA1(0b0004abfe32edfd3ac15d66f90695d264c97eba))
57129   ROM_LOAD16_BYTE("ic17", 0x000000, 0x8000, CRC(122ef649) SHA1(0b425f81869bc359841377a91c39f44395502bff))
130
131   //ROM_REGION(0x20000), "cpu2", 0)
132   // 5 x 27256 roms are undumped
58133ROM_END
59134
60GAME(1987,  xforce,  0,  techno,  techno, techno_state,  techno,  ROT0,  "Tecnoplay",    "X Force",    GAME_IS_SKELETON_MECHANICAL)
135GAME(1987,  xforce,  0,  techno,  techno, techno_state,  techno,  ROT0,  "Tecnoplay", "X Force", GAME_IS_SKELETON_MECHANICAL)
trunk/src/mame/drivers/micropin.c
r17710r17711
1/*************************************************************************************
12
3Pinball
4Micropin : Pentacup
5First version used a 6800, but a later revision used a 8085A.
6
7**************************************************************************************/
8
29#include "emu.h"
310#include "cpu/m6800/m6800.h"
411#include "cpu/i8085/i8085.h"
trunk/src/mame/drivers/kissproto.c
r17710r17711
1/*
1/********************************************************************************
2
3    Pinball
24    Bally Kiss 8035 prototype
3*/
45
6*********************************************************************************/
57
8
69#include "emu.h"
710#include "cpu/mcs48/mcs48.h"
811
trunk/src/mame/drivers/play_1.c
r17710r17711
1/*
1/*********************************************************************************
2
3    Pinball
24    Playmatic MPU 1
3*/
45
6**********************************************************************************/
57
8
69#include "emu.h"
710#include "cpu/cosmac/cosmac.h"
811
trunk/src/mame/drivers/play_3.c
r17710r17711
1/*
1/**********************************************************************************
2
3    Pinball
24    Playmatic MPU 3
3*/
45
6***********************************************************************************/
57
8
69#include "emu.h"
710#include "cpu/cosmac/cosmac.h"
811
trunk/src/mame/drivers/g627.c
r17710r17711
1/*
1/******************************************************************************
2
23    Pinball
34    Midway A084-91313-G627
45           A080-91313-G627
56           A082-91320-C000
67
78    Only one of its kind
8*/
99
10*******************************************************************************/
1011
12
1113#include "emu.h"
1214#include "cpu/z80/z80.h"
1315

Previous 199869 Revisions Next


© 1997-2024 The MAME Team