Previous 15994 Revisions Next

r14363 Monday 6th February, 2012 at 10:12:29 UTC by Miodrag Milanović
Added ISA IBM PC Music Feature Card [Phil Bennett]
[src/emu/drivers]xtal.h
[src/emu/machine]i8251.c
[src/mess]mess.mak
[src/mess/drivers]at.c genpc.c ibmpc.c
[src/mess/includes]at.h
[src/mess/machine]isa_ibm_mfc.c* isa_ibm_mfc.h*

src/emu/drivers/xtal.h
r14362r14363
105105   XTAL_11_2MHz      = 11200000,      /* New York, New York */
106106   XTAL_11_289MHz     = 11289000,      /* Vanguard */
107107   XTAL_11_6688MHz    = 11668800,      /* Gameplan pixel clock */
108   XTAL_11_8MHz      = 11800000,      /* IBM PC Music Feature Card */
108109   XTAL_12MHz        = 12000000,      /* Extremely common, used on 100's of PCBs */
109110   XTAL_12_096MHz      = 12096000,      /* Some early 80's Atari games */
110111   XTAL_12_288MHz     = 12288000,      /* Sega Model 3 digital audio board */
src/emu/machine/i8251.c
r14362r14363
101101   // resolve callbacks
102102   m_in_rxd_func.resolve(m_in_rxd_cb,*this);
103103   m_out_txd_func.resolve(m_out_txd_cb,*this);
104   m_in_dsr_func.resolve(m_in_dsr_cb,*this);
104105   m_out_rxrdy_func.resolve(m_out_rxrdy_cb, *this);
105106   m_out_txrdy_func.resolve(m_out_txrdy_cb, *this);
106107   m_out_txempty_func.resolve(m_out_txempty_cb, *this);
r14362r14363
641642
642643READ8_MEMBER(i8251_device::status_r)
643644{
644   LOG(("status: %02x\n", m_status));
645   return m_status;
645   UINT8 dsr = !(m_in_dsr_func.isnull() ? 0 : m_in_dsr_func() != 0);
646   UINT8 status = (dsr << 7) | m_status;
647
648   LOG(("status: %02x\n", status));
649   return status;
646650}
647651
648652
src/mess/machine/isa_ibm_mfc.c
r0r14363
1/***************************************************************************
2
3  ISA 8 bit IBM PC Music Feature Card
4
5  TODO:
6   - YM-2164
7   - MIDI
8   - IRQ/base address selection
9
10  Notes:
11   - Some software does not function correctly at higher CPU speeds
12  (e.g. the Sierra games and Yamaha Compose/PlayRec)
13
14***************************************************************************/
15
16#define ADDRESS_MAP_MODERN
17
18#include "emu.h"
19#include "isa_ibm_mfc.h"
20#include "cpu/z80/z80.h"
21#include "machine/pit8253.h"
22#include "sound/speaker.h"
23
24
25//-------------------------------------------------
26//  Constants
27//-------------------------------------------------
28
29#define TCR_TAC               0x01
30#define TCR_TBC               0x02
31#define TCR_TAE               0x04
32#define TCR_TBE               0x08
33#define TCR_EXT8            0x10
34#define TCR_TMSK            0x40
35#define TCR_IBE               0x80
36
37#define TSR_TAS               0x01
38#define TSR_TBS               0x02
39#define TSR_TCS               0x80
40
41enum
42{
43   PC_IRQ_TIMERA,
44   PC_IRQ_TIMERB,
45   PC_IRQ_RXRDY,
46   PC_IRQ_TXRDY,   
47};
48
49enum
50{
51   Z80_IRQ_YM,
52   Z80_IRQ_RXRDY,
53   Z80_IRQ_TXRDY,
54   Z80_IRQ_MIDI_RXRDY,
55   Z80_IRQ_MIDI_TXRDY,
56};
57
58
59//-------------------------------------------------
60//  Globals
61//-------------------------------------------------
62
63const device_type ISA8_IBM_MFC = &device_creator<isa8_ibm_mfc_device>;
64
65
66//-------------------------------------------------
67//  Interrupt handling
68//-------------------------------------------------
69
70void isa8_ibm_mfc_device::set_pc_interrupt(int src, int state)
71{
72   if (state)
73      m_pc_irq_state |= 1 << src;
74   else
75      m_pc_irq_state &= ~(1 << src);
76     
77   update_pc_interrupts();
78}
79
80void isa8_ibm_mfc_device::update_pc_interrupts(void)
81{
82   // IRQs enabled?
83   if (m_tcr & TCR_IBE)
84   {
85      // IRQs unmasked?
86      if (m_tcr & TCR_TMSK)
87      {
88         m_isa->irq3_w(m_pc_irq_state ? ASSERT_LINE : CLEAR_LINE);         
89      }
90   }
91}
92
93void isa8_ibm_mfc_device::set_z80_interrupt(int src, int state)
94{
95   if (state)
96      m_z80_irq_state |= 1 << src;
97   else
98      m_z80_irq_state &= ~(1 << src);
99     
100   update_z80_interrupts();
101}
102
103void isa8_ibm_mfc_device::update_z80_interrupts(void)
104{
105   m_cpu->set_input_line(0, m_z80_irq_state ? ASSERT_LINE : CLEAR_LINE);
106}
107
108
109//-------------------------------------------------
110//  Z80 memory map
111//-------------------------------------------------
112
113static ADDRESS_MAP_START( prg_map, AS_PROGRAM, 8, isa8_ibm_mfc_device )
114   AM_RANGE(0x0000, 0x7fff) AM_ROM
115   AM_RANGE(0x8000, 0x8000) AM_RAM // Unknown - tested on startup
116   AM_RANGE(0xbfff, 0xbfff) AM_RAM // Unknown - tested on startup
117   AM_RANGE(0xc000, 0xdfff) AM_RAM
118   AM_RANGE(0xe000, 0xffff) AM_RAM
119ADDRESS_MAP_END
120
121static ADDRESS_MAP_START( io_map, AS_IO, 8, isa8_ibm_mfc_device )
122   ADDRESS_MAP_UNMAP_HIGH
123   ADDRESS_MAP_GLOBAL_MASK(0xff)
124   AM_RANGE(0x00, 0x01) AM_DEVREADWRITE_LEGACY("ym2151", ym2151_r, ym2151_w)
125   AM_RANGE(0x10, 0x10) AM_DEVREADWRITE("d71051", i8251_device, data_r, data_w)
126   AM_RANGE(0x11, 0x11) AM_DEVREADWRITE("d71051", i8251_device, status_r, control_w)
127   AM_RANGE(0x20, 0x23) AM_DEVREADWRITE("d71055c_1", i8255_device, read, write)
128ADDRESS_MAP_END
129
130
131//-------------------------------------------------
132//  Jumpers and DIP switches
133//-------------------------------------------------
134
135static INPUT_PORTS_START( ibm_mfc )
136   PORT_START("J1")
137   PORT_DIPNAME( 0x07, 0x03, "IBM MFC J1: IRQ" )
138   PORT_DIPSETTING(    0x02, "2" )
139   PORT_DIPSETTING(    0x03, "3" )
140   PORT_DIPSETTING(    0x04, "4" )
141   PORT_DIPSETTING(    0x05, "5" )
142   PORT_DIPSETTING(    0x06, "6" )
143   PORT_DIPSETTING(    0x07, "7" )
144
145   PORT_START("SW1")
146   PORT_DIPNAME( 0x03, 0x00, "IBM MFC SW1: Base Address" )
147   PORT_DIPSETTING(   0x00, "2A00" )
148   PORT_DIPSETTING(   0x01, "2A10" )
149   PORT_DIPSETTING(   0x02, "2A20" )
150   PORT_DIPSETTING(   0x03, "2A30" )
151INPUT_PORTS_END
152
153//-------------------------------------------------
154//  D71055C PPI (PC)
155//-------------------------------------------------
156
157READ8_MEMBER( isa8_ibm_mfc_device::ppi0_i_a )
158{
159   // Read data from the Z80 PIU
160   return m_d71055c_1->pa_r();
161}
162
163WRITE8_MEMBER( isa8_ibm_mfc_device::ppi0_o_b )
164{
165   // Write data to the Z80 PIU - no action required
166}
167
168WRITE8_MEMBER( isa8_ibm_mfc_device::ppi0_o_c )
169{
170   // PC Port B /OBF (C1) -> Z80 Port B /STB (C2)
171   m_d71055c_1->pc2_w(BIT(data, 1));
172
173   // PC Port A IBF (C5) -> Z80 Port A /ACK (C6)
174#if 0 // TODO
175   m_d71055c_1->pc6_w(!BIT(data, 5));
176#else
177   if (!BIT(data, 5) && BIT(m_pc_ppi_c, 5))
178      m_d71055c_1->pc6_w(0);
179#endif
180
181   // Bit 0 (INTRB) is TxRDY
182   set_pc_interrupt(PC_IRQ_TXRDY, BIT(data, 0));
183
184   // Bit 3 (INTRA) is RxRDY
185   set_pc_interrupt(PC_IRQ_RXRDY, BIT(data, 3));
186
187   m_pc_ppi_c = data;
188}
189
190READ8_MEMBER( isa8_ibm_mfc_device::ppi0_i_c )
191{
192   // Receive data bit 8
193   return BIT(m_z80_ppi_c, 5) << 7;
194}
195
196static I8255_INTERFACE( d71055c_0_intf )
197{
198   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, ppi0_i_a),
199   DEVCB_NULL,
200   DEVCB_NULL,
201   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, ppi0_o_b),
202   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, ppi0_i_c),
203   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, ppi0_o_c),
204};
205
206
207//-------------------------------------------------
208//  D71055C PPI (Z80)
209//-------------------------------------------------
210
211WRITE8_MEMBER( isa8_ibm_mfc_device::ppi1_o_a )
212{
213   // Write data to the PC PIU - no action required
214}
215
216READ8_MEMBER( isa8_ibm_mfc_device::ppi1_i_b )
217{
218   // Read data from the PC PIU
219   return m_d71055c_0->pb_r();
220}
221
222WRITE8_MEMBER( isa8_ibm_mfc_device::ppi1_o_c )
223{
224   // PortA /OBF (C7) -> PortA /STB (C2)
225   m_d71055c_0->pc4_w(BIT(data, 7));
226
227   // PortB IBF (C1) -> PortB /ACK (C2)
228#if 0 // TODO
229   m_d71055c_0->pc2_w(!BIT(data, 1));
230#else
231   if (!BIT(data, 1) && BIT(m_z80_ppi_c, 1))
232      m_d71055c_0->pc2_w(0);
233#endif
234
235   set_z80_interrupt(Z80_IRQ_TXRDY, BIT(data, 3));
236   set_z80_interrupt(Z80_IRQ_RXRDY, BIT(data, 0));
237   
238   m_z80_ppi_c = data;
239}
240
241static I8255_INTERFACE( d71055c_1_intf )
242{
243   DEVCB_NULL,
244   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, ppi1_o_a),
245   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, ppi1_i_b),
246   DEVCB_NULL,
247   DEVCB_NULL,
248   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, ppi1_o_c),
249};
250
251
252//-------------------------------------------------
253//  D8253 PIT
254//-------------------------------------------------
255
256WRITE_LINE_MEMBER( isa8_ibm_mfc_device::d8253_clk0_out )
257{
258   if (m_tcr & TCR_TAE)
259      set_pc_interrupt(PC_IRQ_TIMERA, 1);
260}
261
262WRITE_LINE_MEMBER( isa8_ibm_mfc_device::d8253_clk1_out )
263{
264   if (m_tcr & TCR_TBE)
265      set_pc_interrupt(PC_IRQ_TIMERB, 1);
266}
267
268WRITE_LINE_MEMBER( isa8_ibm_mfc_device::d8253_clk2_out )
269{
270   pit8253_clk1_w(m_d8253, state);
271}
272
273static const struct pit8253_config d8253_intf =
274{
275   {
276      {
277         XTAL_4MHz / 8,
278         DEVCB_NULL,
279         DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, d8253_clk0_out)
280      },
281      {
282         0,
283         DEVCB_NULL,
284         DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, d8253_clk1_out)
285      },
286      {
287         XTAL_4MHz / 2,
288         DEVCB_NULL,
289         DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, d8253_clk2_out)
290      }
291   }
292};
293
294
295//-------------------------------------------------
296//  uPD71051 USART
297//-------------------------------------------------
298
299READ_LINE_MEMBER( isa8_ibm_mfc_device::d70151_dsr_r )
300{
301   return (m_tcr & TCR_EXT8) ? 1 : 0;
302}
303
304void isa8_ibm_mfc_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
305{
306   m_d71051->transmit_clock();
307   m_d71051->receive_clock();
308}
309
310static const i8251_interface d71051_intf =
311{
312   DEVCB_NULL,
313   DEVCB_NULL,
314   DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, isa8_ibm_mfc_device, d70151_dsr_r),
315   DEVCB_NULL,
316   DEVCB_NULL,
317   DEVCB_NULL,
318   DEVCB_NULL,
319   DEVCB_NULL,
320   DEVCB_NULL
321};
322
323
324//-------------------------------------------------
325//  YM-2164
326//-------------------------------------------------
327
328static void ibm_mfc_ym_irq(device_t *device, int state)
329{
330   isa8_ibm_mfc_device *mfc = downcast<isa8_ibm_mfc_device *>(device->owner());
331
332   mfc->set_z80_interrupt(Z80_IRQ_YM, state);
333}
334
335static const ym2151_interface ibm_mfc_ym2151_interface =
336{
337   ibm_mfc_ym_irq
338};
339
340
341//-------------------------------------------------
342//  Machine config
343//-------------------------------------------------
344
345static MACHINE_CONFIG_FRAGMENT( ibm_mfc )
346   MCFG_CPU_ADD("ibm_mfc", Z80, XTAL_11_8MHz / 2)
347   MCFG_CPU_PROGRAM_MAP(prg_map)
348   MCFG_CPU_IO_MAP(io_map)
349
350   MCFG_I8255_ADD("d71055c_0", d71055c_0_intf)
351   MCFG_I8255_ADD("d71055c_1", d71055c_1_intf)
352   MCFG_I8251_ADD("d71051", d71051_intf)
353   MCFG_PIT8253_ADD("d8253", d8253_intf)
354
355   MCFG_SPEAKER_STANDARD_STEREO("left", "right")
356   MCFG_SOUND_ADD("ym2151", YM2151, XTAL_4MHz)
357   MCFG_SOUND_CONFIG(ibm_mfc_ym2151_interface)
358   MCFG_SOUND_ROUTE(0, "left", 1.00)
359   MCFG_SOUND_ROUTE(1, "right", 1.00)
360MACHINE_CONFIG_END
361
362
363//-------------------------------------------------
364//  ISA interface
365//-------------------------------------------------
366
367READ8_MEMBER( isa8_ibm_mfc_device::ibm_mfc_r )
368{
369   UINT8 val = 0xff;
370
371   switch (offset)
372   {
373      case 0x0:
374      case 0x1:
375      case 0x2:
376      case 0x3:
377      {
378         val = m_d71055c_0->read(space, offset);
379         break;
380      }
381     
382      case 0xc:
383      case 0xd:
384      case 0xe:
385      case 0xf:
386      {
387         val = (m_pc_irq_state ? 0x80 : 0) | (m_pc_irq_state & 3);   
388         break;
389      }
390
391      default:
392      {
393         fatalerror("Unhandled IBM MFC read from %d\n", offset);
394      }
395   }
396   
397   return val;
398}
399
400WRITE8_MEMBER( isa8_ibm_mfc_device::ibm_mfc_w )
401{
402   switch (offset)
403   {
404      case 0x0:
405      case 0x1:
406      case 0x2:
407      case 0x3:
408      {
409         machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(1000));
410         m_d71055c_0->write(space, offset, data);
411         break;
412      }
413
414      case 0x4:
415      case 0x5:
416      case 0x6:
417      case 0x7:
418      {
419         pit8253_w(m_d8253, offset & 3, data);
420         break;
421      }
422
423      case 0x8:
424      case 0x9:
425      case 0xa:
426      case 0xb:
427      {
428         m_tcr = data;
429
430         if (~m_tcr & TCR_TAC)
431            set_pc_interrupt(PC_IRQ_TIMERA, 0);
432
433         if (~m_tcr & TCR_TBC)
434            set_pc_interrupt(PC_IRQ_TIMERB, 0);
435
436         break;
437      }
438
439      case 0xc:
440      case 0xd:
441      case 0xe:
442      case 0xf:
443      {
444         // TSR is read-only but Yamaha software attempts to write to it
445         break;
446      }
447   }
448}
449
450
451//-------------------------------------------------
452//  ROM definition
453//-------------------------------------------------
454
455ROM_START( ibm_mfc )
456   ROM_REGION( 0x8000, "ibm_mfc", 0 )
457   ROM_LOAD( "xc215 c 0.bin", 0x0000, 0x8000, CRC(28c58a4f) SHA1(e7edf28d20e6c146e3144526c89cd6beea64663b) )
458ROM_END
459
460
461//-------------------------------------------------
462//  machine_config_additions - device-specific
463//  machine configurations
464//-------------------------------------------------
465
466machine_config_constructor isa8_ibm_mfc_device::device_mconfig_additions() const
467{
468   return MACHINE_CONFIG_NAME( ibm_mfc );
469}
470
471
472//-------------------------------------------------
473//  input_ports - device-specific input ports
474//-------------------------------------------------
475
476ioport_constructor isa8_ibm_mfc_device::device_input_ports() const
477{
478   return INPUT_PORTS_NAME( ibm_mfc );
479}
480
481
482//-------------------------------------------------
483//  rom_region - return a pointer to the device's
484//  internal ROM region
485//-------------------------------------------------
486
487const rom_entry *isa8_ibm_mfc_device::device_rom_region() const
488{
489   return ROM_NAME( ibm_mfc );
490}
491
492
493//**************************************************************************
494//  LIVE DEVICE
495//**************************************************************************
496
497//-------------------------------------------------
498//  isa8_ibm_mfc_device - constructor
499//-------------------------------------------------
500
501isa8_ibm_mfc_device::isa8_ibm_mfc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
502        device_t(mconfig, ISA8_IBM_MFC, "ibm_mfc", tag, owner, clock),
503      device_isa8_card_interface(mconfig, *this),
504      m_cpu(*this, "ibm_mfc"),
505      m_ym2151(*this, "ym2151"),
506      m_d8253(*this, "d8253"),
507      m_d71051(*this, "d71051"),
508      m_d71055c_0(*this, "d71055c_0"),
509      m_d71055c_1(*this, "d71055c_1")
510{
511}
512
513
514//-------------------------------------------------
515//  device_start - device-specific startup
516//-------------------------------------------------
517
518void isa8_ibm_mfc_device::device_start()
519{
520   set_isa_device();
521   m_isa->install_device(0x2a20, 0x2a20 + 15, 0, 0, read8_delegate(FUNC(isa8_ibm_mfc_device::ibm_mfc_r), this), write8_delegate(FUNC(isa8_ibm_mfc_device::ibm_mfc_w), this));
522
523   // Create a 500KHz timer for the USART
524   m_serial_timer = timer_alloc();
525   m_serial_timer->adjust(attotime::zero, 0, attotime::from_hz(XTAL_4MHz / 8));
526}
527
528
529//-------------------------------------------------
530//  device_reset - device-specific reset
531//-------------------------------------------------
532
533void isa8_ibm_mfc_device::device_reset()
534{
535   m_tcr = 0;
536   m_pc_irq_state = 0;
537   m_z80_irq_state = 0;
538}
No newline at end of file
src/mess/machine/isa_ibm_mfc.h
r0r14363
1/***************************************************************************
2
3  ISA 8 bit IBM PC Music Feature Card
4
5***************************************************************************/
6
7#pragma once
8
9#ifndef __ISA_IBM_MUSIC_FEATURE_CARD_H__
10#define __ISA_IBM_MUSIC_FEATURE_CARD_H__
11
12
13#include "emu.h"
14#include "machine/isa.h"
15#include "machine/i8255.h"
16#include "machine/i8251.h"
17#include "sound/2151intf.h"
18
19//**************************************************************************
20//  TYPE DEFINITIONS
21//**************************************************************************
22
23// ======================> isa8_ibm_mfc_device
24
25class isa8_ibm_mfc_device :
26      public device_t,
27      public device_isa8_card_interface
28{
29public:
30
31        // Construction/destruction
32        isa8_ibm_mfc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
33
34      // Optional information overrides
35      virtual machine_config_constructor   device_mconfig_additions() const;
36      virtual ioport_constructor         device_input_ports() const;
37     
38      DECLARE_READ8_MEMBER( ppi0_i_a );
39      DECLARE_WRITE8_MEMBER( ppi0_o_b );
40      DECLARE_READ8_MEMBER( ppi0_i_c );
41      DECLARE_WRITE8_MEMBER( ppi0_o_c );
42
43      DECLARE_WRITE8_MEMBER( ppi1_o_a );
44      DECLARE_READ8_MEMBER( ppi1_i_b );
45         
46      DECLARE_WRITE8_MEMBER( ppi1_o_c );
47     
48      DECLARE_READ8_MEMBER( ibm_mfc_r );
49      DECLARE_WRITE8_MEMBER( ibm_mfc_w );
50     
51      DECLARE_READ_LINE_MEMBER( d70151_dsr_r );
52                                                                                                 
53      DECLARE_WRITE_LINE_MEMBER( d8253_clk0_out );
54      DECLARE_WRITE_LINE_MEMBER( d8253_clk1_out );
55      DECLARE_WRITE_LINE_MEMBER( d8253_clk2_out );     
56     
57      void                     set_z80_interrupt(int src, int state);
58
59protected:
60
61        // Device-level overrides
62        virtual void               device_start();
63        virtual void               device_reset();
64      virtual void               device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
65
66      const rom_entry*            device_rom_region() const;
67
68private:
69      void                     set_pc_interrupt(int src, int state);
70      void                     update_pc_interrupts(void);
71      void                     update_z80_interrupts(void);
72
73      UINT8                     m_tcr;
74      UINT8                     m_pc_ppi_c;
75      UINT8                     m_z80_ppi_c;
76
77      UINT8                     m_pc_irq_state;
78      UINT8                     m_z80_irq_state;
79
80      emu_timer                  *m_serial_timer;
81
82      required_device<cpu_device>      m_cpu;
83      required_device<ym2151_device>   m_ym2151;
84      required_device<device_t>      m_d8253;
85      required_device<i8251_device>   m_d71051;
86      required_device<i8255_device>   m_d71055c_0;
87      required_device<i8255_device>   m_d71055c_1;
88};
89
90
91// Device type definition
92extern const device_type ISA8_IBM_MFC;
93
94#endif  /* __ISA_IBM_MUSIC_FEATURE_CARD_H__ */
src/mess/includes/at.h
r14362r14363
5656#include "machine/ne2000.h"
5757#include "video/isa_mda.h"
5858#include "machine/isa_mpu401.h"
59#include "machine/isa_ibm_mfc.h"
5960
6061#include "machine/isa_ide.h"
6162
src/mess/mess.mak
r14362r14363
13171317   $(MESS_MACHINE)/isa_finalchs.o   \
13181318   $(MESS_MACHINE)/isa_gblaster.o   \
13191319   $(MESS_MACHINE)/isa_hdc.o   \
1320   $(MESS_MACHINE)/isa_ibm_mfc.o   \
13201321   $(MESS_MACHINE)/isa_mpu401.o   \
13211322   $(MESS_MACHINE)/isa_sblaster.o   \
13221323   $(MESS_MACHINE)/isa_ide.o   \
src/mess/drivers/genpc.c
r14362r14363
3333#include "machine/isa_mpu401.h"
3434#include "machine/3c503.h"
3535#include "machine/ne1000.h"
36#include "machine/isa_ibm_mfc.h"
37#include "machine/pc_lpt.h"
3638
3739#include "machine/kb_keytro.h"
3840
r14362r14363
126128   SLOT_INTERFACE("mpu401", ISA8_MPU401)
127129   SLOT_INTERFACE("ne1000", NE1000)
128130   SLOT_INTERFACE("3c503", EL2_3C503)
131   SLOT_INTERFACE("lpt", ISA8_LPT)
132   SLOT_INTERFACE("ibm_mfc", ISA8_IBM_MFC)
129133SLOT_INTERFACE_END
130134
131135static MACHINE_CONFIG_START( pcmda, genpc_state )
src/mess/drivers/at.c
r14362r14363
367367   SLOT_INTERFACE("3c503", EL2_3C503)
368368   SLOT_INTERFACE("mpu401", ISA8_MPU401)
369369   SLOT_INTERFACE("lpt", ISA8_LPT)
370   SLOT_INTERFACE("ibm_mfc", ISA8_IBM_MFC)
370371   // ISA 16 bit
371372   SLOT_INTERFACE("ide", ISA16_IDE)
372373   SLOT_INTERFACE("ne2000", NE2000)
src/mess/drivers/ibmpc.c
r14362r14363
270270#include "video/isa_mda.h"
271271#include "machine/ne1000.h"
272272#include "machine/isa_mpu401.h"
273#include "machine/isa_ibm_mfc.h"
274#include "machine/pc_lpt.h"
273275
274276#include "machine/kb_keytro.h"
275277#include "includes/genpc.h"
r14362r14363
339341   SLOT_INTERFACE("ne1000", NE1000)
340342   SLOT_INTERFACE("3c503", EL2_3C503)
341343   SLOT_INTERFACE("mpu401", ISA8_MPU401)
344   SLOT_INTERFACE("lpt", ISA8_LPT)
345   SLOT_INTERFACE("ibm_mfc", ISA8_IBM_MFC)
342346SLOT_INTERFACE_END
343347
344348static MACHINE_CONFIG_START( ibm5150, ibmpc_state )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team