Previous 199869 Revisions Next

r33328 Monday 10th November, 2014 at 23:32:07 UTC by hap
added comp4 and wizatron output_pla from Sean Riddle
[src/emu/cpu/tms0980]tms0980.c
[src/mess/drivers]comp4.c merlin.c wizatron.c

trunk/src/emu/cpu/tms0980/tms0980.c
r241839r241840
1212---------+-----------+----------+--------+--------+--------|----------
1313tms0970  | 1024 *  8 |  64 *  4 |        |        |        | tms0972
1414tms0920* |  511?*  9 |  40 *  5 |        |        |        | tmc0921
15tms0980  | 2048 *  9 |  64 *  9?|        |        |        | tmc0981
15tms0980  | 2048 *  9 |  64 *  9 |        |        |        | tmc0981
1616tms1000  | 1024 *  8 |  64 *  4 |     11 |      8 |      4 | tms1001
1717tms1040* | 1024 *  8 |  64 *  4 |        |        |        | tms1043
1818tms1070  | 1024 *  8 |  64 *  4 |     11 |      8 |      4 | tms1071
r241839r241840
421421ADDRESS_MAP_END
422422
423423
424static ADDRESS_MAP_START(data_6bit, AS_DATA, 8, tms1xxx_cpu_device)
424static ADDRESS_MAP_START(data_64x4, AS_DATA, 8, tms1xxx_cpu_device)
425425   AM_RANGE( 0x00, 0x3f ) AM_RAM
426426ADDRESS_MAP_END
427427
428428
429static ADDRESS_MAP_START(data_7bit, AS_DATA, 8, tms1xxx_cpu_device)
429static ADDRESS_MAP_START(data_128x4, AS_DATA, 8, tms1xxx_cpu_device)
430430   AM_RANGE( 0x00, 0x7f ) AM_RAM
431431ADDRESS_MAP_END
432432
433433
434static ADDRESS_MAP_START(data_64x9_as4, AS_DATA, 8, tms1xxx_cpu_device)
435   AM_RANGE( 0x00, 0x8f ) AM_RAM
436   AM_RANGE( 0x90, 0xff ) AM_NOP
437ADDRESS_MAP_END
438
439
434440void tms1xxx_cpu_device::device_start()
435441{
436442   m_program = &space( AS_PROGRAM );
r241839r241840
625631  or321 = OR of pc5 and pc6, i.e. output is true if ((pc&0x60) != 0)
626632  nand322 = NAND of pc0 through pc5 plus /pc6,
627633      i.e. output is true if (pc != 0x3f)
628  nand325 = nand pf nand323, or321 and nand322
634  nand325 = nand of nand323, or321 and nand322
629635      This one is complex:
630636      / or321 means if pc&0x60 is zero, output MUST be true
631637      \ nand323 means if (pc&0x60=0x60) && (pc&0x1f != 0x1f), output MUST be true
r241839r241840
641647      UINT8   xorval = ( m_pc & 0x3F ) == 0x3F ? 1 : 0;
642648      UINT8   new_bit = ( ( m_pc ^ ( m_pc << 1 ) ) & 0x40 ) ? xorval : 1 - xorval;
643649
644      m_pc = ( m_pc << 1 ) | new_bit;
650      m_pc = ((m_pc << 1) | new_bit) & ((1 << m_pc_size) - 1);
645651   }
646652   else
647653   {
r241839r241840
10201026
10211027tms0980_cpu_device::tms0980_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
10221028   : tms1xxx_cpu_device( mconfig, TMS0980, "TMS0980", tag, owner, clock, tms0980_decode, 0x00ff, 0x07ff, 7, 9, 4
1023                  , 12, ADDRESS_MAP_NAME( program_11bit_9 ), 6, ADDRESS_MAP_NAME( data_6bit ), "tms0980", __FILE__)
1029                  , 12, ADDRESS_MAP_NAME( program_11bit_9 ), 8, ADDRESS_MAP_NAME( data_64x9_as4 ), "tms0980", __FILE__)
10241030{
10251031}
10261032
r241839r241840
10341040
10351041tms1000_cpu_device::tms1000_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
10361042   : tms1xxx_cpu_device( mconfig, TMS1000, "TMS1000", tag, owner, clock, tms1000_default_decode, 0x00ff, 0x07ff, 6, 8, 2
1037                  , 10, ADDRESS_MAP_NAME( program_10bit_8 ), 6, ADDRESS_MAP_NAME( data_6bit ), "tms1000", __FILE__)
1043                  , 10, ADDRESS_MAP_NAME( program_10bit_8 ), 6, ADDRESS_MAP_NAME( data_64x4 ), "tms1000", __FILE__)
10381044{
10391045}
10401046
10411047
10421048tms1000_cpu_device::tms1000_cpu_device(const machine_config &mconfig, device_type type, const char*name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask, const char *shortname, const char *source)
10431049   : tms1xxx_cpu_device( mconfig, type, name, tag, owner, clock, tms1000_default_decode, o_mask, r_mask, 6, 8, 2
1044                  , 10, ADDRESS_MAP_NAME( program_10bit_8 ), 6, ADDRESS_MAP_NAME( data_6bit ), shortname, source )
1050                  , 10, ADDRESS_MAP_NAME( program_10bit_8 ), 6, ADDRESS_MAP_NAME( data_64x4 ), shortname, source )
10451051{
10461052}
10471053
r241839r241840
10781084
10791085tms1100_cpu_device::tms1100_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
10801086   : tms1xxx_cpu_device( mconfig, TMS1100, "TMS1100", tag, owner, clock, tms1100_default_decode, 0x00ff, 0x07ff, 6, 8, 3
1081                  , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_7bit ), "tms1100", __FILE__ )
1087                  , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_128x4 ), "tms1100", __FILE__ )
10821088{
10831089}
10841090
10851091
10861092tms1100_cpu_device::tms1100_cpu_device(const machine_config &mconfig, device_type type, const char*name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask, const char *shortname, const char *source)
10871093   : tms1xxx_cpu_device( mconfig, type, name, tag, owner, clock, tms1100_default_decode, o_mask, r_mask, 6, 8, 3
1088                  , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_7bit ), shortname, source )
1094                  , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_128x4 ), shortname, source )
10891095{
10901096}
10911097
trunk/src/mess/drivers/comp4.c
r241839r241840
1515
1616  TODO:
1717  - write_r doesn't look right, maybe something missing in cpu emulation
18  - correct output_pla
1918  - layout
2019
2120***************************************************************************/
r241839r241840
5958READ8_MEMBER(comp4_state::read_k)
6059{
6160   UINT8 k = 0;
61
62   // read selected button rows
63   for (int i = 0; i < 3; i++)
64      if (m_o & (1 << (i + 1)))
65         k |= m_button_matrix[i]->read();
6266   
63   if (m_o == 0)
64      k |= m_button_matrix[0]->read();
65   else if (m_o == 1)
66      k |= m_button_matrix[1]->read();
67   else if (m_o == 2)
68      k |= m_button_matrix[2]->read();
69   
7067   return k;
7168}
7269
7370WRITE16_MEMBER(comp4_state::write_r)
7471{
75   // LEDs
72   // R..: LEDs
7673   m_r = data;
7774}
7875
7976WRITE16_MEMBER(comp4_state::write_o)
8077{
81   // O0: LEDs (common)
78   // O0?: LEDs (common)
8279   // O1-O3: input mux
8380   // other bits: N/C
8481   m_o = data;
r241839r241840
9491
9592static INPUT_PORTS_START( comp4 )
9693   PORT_START("IN.0")
97   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CODE(KEYCODE_R) PORT_CODE(KEYCODE_DEL_PAD) PORT_NAME("R")
98   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("4")
99   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("1")
100   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_CODE(KEYCODE_7) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("7")
94   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_R) PORT_CODE(KEYCODE_DEL_PAD) PORT_NAME("R")
95   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("4")
96   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("1")
97   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_7) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("7")
10198
10299   PORT_START("IN.1")
103   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_CODE(KEYCODE_0) PORT_CODE(KEYCODE_0_PAD) PORT_NAME("0")
104   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("5")
105   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("2")
106   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_CODE(KEYCODE_8) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("8")
100   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_0) PORT_CODE(KEYCODE_0_PAD) PORT_NAME("0")
101   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("5")
102   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("2")
103   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_8) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("8")
107104
108105   PORT_START("IN.2")
109   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_CODE(KEYCODE_E) PORT_CODE(KEYCODE_ENTER_PAD) PORT_NAME("E")
110   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON10 ) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("6")
111   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON11 ) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("3")
112   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON12 ) PORT_CODE(KEYCODE_9) PORT_CODE(KEYCODE_9_PAD) PORT_NAME("9")
106   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_E) PORT_CODE(KEYCODE_ENTER_PAD) PORT_NAME("E")
107   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("6")
108   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("3")
109   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_9) PORT_CODE(KEYCODE_9_PAD) PORT_NAME("9")
113110INPUT_PORTS_END
114111
115112
r241839r241840
132129
133130static const UINT16 comp4_output_pla[0x20] =
134131{
135   /* O output PLA configuration currently unknown */
136   0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
137   0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
138   0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
139   0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f
132   // many unused bits, only O0 is actually used as external out
133   0xda, 0x96, 0x9b, 0x97, 0x98, 0x94, 0x99, 0x95,
134   0x9a, 0xa0, 0x94, 0x02, 0x35, 0x4a, 0x41, 0x00,
135   0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00,
136   0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00
140137};
141138
142139
trunk/src/mess/drivers/merlin.c
r241839r241840
144144
145145static INPUT_PORTS_START( merlin )
146146   PORT_START("O.0")
147   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_CODE(KEYCODE_0) PORT_CODE(KEYCODE_SLASH_PAD) PORT_NAME("Button 0")
148   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON2) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("Button 1")
149   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON4) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_9_PAD) PORT_NAME("Button 3")
150   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON3) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Button 2")
147   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_0) PORT_CODE(KEYCODE_SLASH_PAD) PORT_NAME("Button 0")
148   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("Button 1")
149   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_9_PAD) PORT_NAME("Button 3")
150   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Button 2")
151151
152152   PORT_START("O.1")
153   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON5) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("Button 4")
154   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON6) PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("Button 5")
155   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON8) PORT_CODE(KEYCODE_7) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("Button 7")
156   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON7) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("Button 6")
153   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("Button 4")
154   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("Button 5")
155   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_7) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("Button 7")
156   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("Button 6")
157157
158158   PORT_START("O.2")
159   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_BUTTON9) PORT_CODE(KEYCODE_8) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("Button 8")
160   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_CODE(KEYCODE_9) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("Button 9")
161   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON13) PORT_CODE(KEYCODE_S) PORT_NAME("Same Game")
162   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_CODE(KEYCODE_MINUS) PORT_CODE(KEYCODE_0_PAD) PORT_NAME("Button 10")
159   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_8) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("Button 8")
160   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_9) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("Button 9")
161   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_S) PORT_NAME("Same Game")
162   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_MINUS) PORT_CODE(KEYCODE_0_PAD) PORT_NAME("Button 10")
163163
164164   PORT_START("O.3")
165165   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_UNUSED)
166   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_BUTTON15) PORT_CODE(KEYCODE_C) PORT_NAME("Comp Turn")
167   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_BUTTON14) PORT_CODE(KEYCODE_H) PORT_NAME("Hit Me")
168   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_BUTTON12) PORT_CODE(KEYCODE_N) PORT_NAME("New Game")
166   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_C) PORT_NAME("Comp Turn")
167   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_H) PORT_NAME("Hit Me")
168   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_N) PORT_NAME("New Game")
169169INPUT_PORTS_END
170170
171171
trunk/src/mess/drivers/wizatron.c
r241839r241840
33/***************************************************************************
44
55  Texas Instruments WIZ-A-TRON
6  * TMC0907NL ZA0379 (die labeled 0970F-07B)
6  * TMC0907NL DP0907BS (die labeled 0970F-07B)
77
88  Other handhelds assumed to be on similar hardware:
99  - Math Magic
r241839r241840
2727public:
2828   wizatron_state(const machine_config &mconfig, device_type type, const char *tag)
2929      : driver_device(mconfig, type, tag),
30      m_maincpu(*this, "maincpu")
30      m_maincpu(*this, "maincpu"),
31      m_button_matrix(*this, "IN")
3132   { }
3233
3334   required_device<cpu_device> m_maincpu;
35   required_ioport_array<4> m_button_matrix;
3436
3537   UINT16 m_r;
3638   UINT16 m_o;
r241839r241840
5254READ8_MEMBER(wizatron_state::read_k)
5355{
5456   UINT8 k = 0;
57
58   // read selected button rows
59   for (int i = 0; i < 4; i++)
60      if (m_o & (1 << (i + 1)))
61         k |= m_button_matrix[i]->read();
5562   
5663   return k;
5764}
5865
5966WRITE16_MEMBER(wizatron_state::write_r)
6067{
68   // R..: select digit
6169   m_r = data;
6270}
6371
6472WRITE16_MEMBER(wizatron_state::write_o)
6573{
74   // O0-O6: digit segments A-G
75   // O1-O4: input mux
6676   m_o = data;
6777}
6878
r241839r241840
7585***************************************************************************/
7686
7787static INPUT_PORTS_START( wizatron )
88   PORT_START("IN.0")
89   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 )
90   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON2 )
91   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON3 )
92   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON4 )
93
94   PORT_START("IN.1")
95   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER )
96   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER )
97   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER )
98   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER )
99
100   PORT_START("IN.2")
101   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER )
102   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER )
103   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER )
104   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER )
105
106   PORT_START("IN.3")
107   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER )
108   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER )
109   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER )
110   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER )
78111INPUT_PORTS_END
79112
80113
r241839r241840
97130
98131static const UINT16 wizatron_output_pla[0x20] =
99132{
100   /* O output PLA configuration currently unknown */
101   0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
102   0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
103   0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
104   0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f
133   // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, +, -, X, /, r
134   0x7e, 0x30, 0x6d, 0x79, 0x33, 0x5b, 0x5f, 0x70,
135   0x7f, 0x7b, 0x26, 0x02, 0x35, 0x4a, 0x05, 0x00,
136   0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00,
137   0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00, 0xff00
105138};
106139
107140
r241839r241840
128161***************************************************************************/
129162
130163ROM_START( wizatron )
131   ROM_REGION( 0x0400, "maincpu", ROMREGION_ERASE00 )
132   ROM_LOAD( "za0379", 0x0000, 0x0400, CRC(5a6af094) SHA1(b1f27e1f13f4db3b052dd50fb08dbf9c4d8db26e) )
164   ROM_REGION( 0x0400, "maincpu", 0 )
165   ROM_LOAD( "dp0907bs", 0x0000, 0x0400, CRC(5a6af094) SHA1(b1f27e1f13f4db3b052dd50fb08dbf9c4d8db26e) )
133166ROM_END
134167
135168


Previous 199869 Revisions Next


© 1997-2024 The MAME Team