Previous 15994 Revisions Next

r12175 Saturday 9th July, 2011 at 14:08:38 UTC by Miodrag Milanović
Removed need for numbering isa slots (no whatsnew)
[src/mess/drivers]at.c genpc.c ibmpc.c
[src/mess/machine]isa.c isa.h

src/mess/machine/isa.c
r12174r12175
3434{
3535}
3636
37void isa8_slot_device::static_set_isa8_slot(device_t &device, const char *tag, int num)
37void isa8_slot_device::static_set_isa8_slot(device_t &device, const char *tag)
3838{
3939   isa8_slot_device &isa_card = dynamic_cast<isa8_slot_device &>(device);
4040   isa_card.m_isa_tag = tag;
41   isa_card.m_isa_num = num;
4241}
4342
4443//-------------------------------------------------
r12174r12175
4948{
5049   m_isa = machine().device<isa8_device>(m_isa_tag);
5150   device_isa8_card_interface *dev = dynamic_cast<device_isa8_card_interface *>(get_card_device());
52   if (dev) m_isa->add_isa_card(dev, m_isa_num);
51   if (dev) m_isa->add_isa_card(dev);
5352}
5453
5554
r12174r12175
7271{
7372}
7473
75void isa16_slot_device::static_set_isa16_slot(device_t &device, const char *tag, int num)
74void isa16_slot_device::static_set_isa16_slot(device_t &device, const char *tag)
7675{
7776   isa16_slot_device &isa_card = dynamic_cast<isa16_slot_device &>(device);
7877   isa_card.m_isa_tag = tag;
79   isa_card.m_isa_num = num;
8078}
8179
8280//-------------------------------------------------
r12174r12175
8785{
8886   m_isa16 = machine().device<isa16_device>(m_isa_tag);
8987   device_isa16_card_interface *dev = dynamic_cast<device_isa16_card_interface *>(get_card_device());
90   if (dev) m_isa16->add_isa_card(dev, m_isa_num);
88   if (dev) m_isa16->add_isa_card(dev);
9189}
9290
9391
r12174r12175
144142isa8_device::isa8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
145143        device_t(mconfig, ISA8, "ISA8", tag, owner, clock)
146144{
147   for(int i = 0; i < 8; i++)
148      m_isa_device[i] = NULL;
149}
145}   
150146
151147isa8_device::isa8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
152148        device_t(mconfig, type, name, tag, owner, clock)
153149{
154   for(int i = 0; i < 8; i++)
155      m_isa_device[i] = NULL;
156150}
157151//-------------------------------------------------
158152//  device_start - device-specific startup
r12174r12175
181175{
182176}
183177
184void isa8_device::add_isa_card(device_isa8_card_interface *card,int pos)
178void isa8_device::add_isa_card(device_isa8_card_interface *card)
185179{
186   m_isa_device[pos] = card;
180   m_device_list.append(*card);
187181}
188182
189183void isa8_device::install_device(device_t *dev, offs_t start, offs_t end, offs_t mask, offs_t mirror, read8_device_func rhandler, const char* rhandler_name, write8_device_func whandler, const char *whandler_name)
r12174r12175
241235UINT8 isa8_device::dack_r(int line)
242236{
243237   UINT8 retVal = 0xff;
244   for(int i=0;i<8;i++) {
245      if (m_isa_device[i] != NULL && m_isa_device[i]->have_dack(line)) {
246         retVal = m_isa_device[i]->dack_r(line);
238   device_isa8_card_interface *entry = m_device_list.first();
239   while(entry) {
240      if (entry->have_dack(line)) {
241         retVal = entry->dack_r(line);
242         break;
247243      }
244      entry = entry->next();
248245   }
249246   return retVal;
250247}
251248
252249void isa8_device::dack_w(int line,UINT8 data)
253250{
254   for(int i=0;i<8;i++) {
255      if (m_isa_device[i] != NULL && m_isa_device[i]->have_dack(line)) {
256         m_isa_device[i]->dack_w(line,data);
251   device_isa8_card_interface *entry = m_device_list.first();
252   while(entry) {
253      if (entry->have_dack(line)) {
254         entry->dack_w(line,data);
257255      }
256      entry = entry->next();
258257   }
259258}
260259
261260void isa8_device::eop_w(int state)
262261{
263   for(int i=0;i<8;i++) {
264      if (m_isa_device[i] != NULL) m_isa_device[i]->eop_w(state);
262   device_isa8_card_interface *entry = m_device_list.first();
263   while(entry) {
264      entry->eop_w(state);
265      entry = entry->next();
265266   }
266267}
267268
r12174r12175
321322{
322323   if(m_isa_tag) {
323324      m_isa = dynamic_cast<isa8_device *>(device().machine().device(m_isa_tag));
325      m_isa->add_isa_card(this);
324326   } else {
325327      m_isa = (dynamic_cast<isa8_slot_device *>(device().owner()))->get_isa_device();
326328   }
r12174r12175
464466{
465467   if(m_isa_tag) {
466468      m_isa = dynamic_cast<isa16_device *>(device().machine().device(m_isa_tag));
469      m_isa->add_isa_card(this);
467470   } else {
468471      m_isa = (dynamic_cast<isa16_slot_device *>(device().owner()))->get_isa_device();
469472   }
src/mess/machine/isa.h
r12174r12175
7777    MCFG_DEVICE_CONFIG(_config) \
7878    isa8_device::static_set_cputag(*device, _cputag); \
7979
80#define MCFG_ISA8_SLOT_ADD(_isatag, _num, _tag, _slot_intf, _def_slot, _def_inp) \
80#define MCFG_ISA8_SLOT_ADD(_isatag, _tag, _slot_intf, _def_slot, _def_inp) \
8181    MCFG_DEVICE_ADD(_tag, ISA8_SLOT, 0) \
8282   MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, _def_inp) \
83   isa8_slot_device::static_set_isa8_slot(*device, _isatag, _num); \
83   isa8_slot_device::static_set_isa8_slot(*device, _isatag); \
8484
8585#define MCFG_ISA8_ONBOARD_ADD(_isatag, _tag, _dev_type, _def_inp) \
8686    MCFG_DEVICE_ADD(_tag, _dev_type, 0) \
r12174r12175
9393    MCFG_DEVICE_CONFIG(_config) \
9494    isa8_device::static_set_cputag(*device, _cputag); \
9595
96#define MCFG_ISA16_SLOT_ADD(_isatag, _num, _tag, _slot_intf, _def_slot, _def_inp) \
96#define MCFG_ISA16_SLOT_ADD(_isatag, _tag, _slot_intf, _def_slot, _def_inp) \
9797    MCFG_DEVICE_ADD(_tag, ISA16_SLOT, 0) \
9898   MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, _def_inp) \
99   isa16_slot_device::static_set_isa16_slot(*device, _isatag, _num); \
99   isa16_slot_device::static_set_isa16_slot(*device, _isatag); \
100100
101101//**************************************************************************
102102//  TYPE DEFINITIONS
r12174r12175
117117   virtual void device_start();
118118
119119    // inline configuration
120    static void static_set_isa8_slot(device_t &device, const char *tag, int num);   
120    static void static_set_isa8_slot(device_t &device, const char *tag);
121121protected:
122122   // configuration
123123   const char *m_isa_tag;
124   int m_isa_num;
125124   isa8_device  *m_isa;
126125};
127126
r12174r12175
155154   // inline configuration
156155   static void static_set_cputag(device_t &device, const char *tag);
157156
158   void add_isa_card(device_isa8_card_interface *card,int pos);
157   void add_isa_card(device_isa8_card_interface *card);
159158   void install_device(device_t *dev, offs_t start, offs_t end, offs_t mask, offs_t mirror, read8_device_func rhandler, const char* rhandler_name, write8_device_func whandler, const char *whandler_name);
160159   void install_bank(offs_t start, offs_t end, offs_t mask, offs_t mirror, const char *tag, UINT8 *data);
161160   void install_rom(device_t *dev, offs_t start, offs_t end, offs_t mask, offs_t mirror, const char *tag, const char *region);
r12174r12175
195194   devcb_resolved_write_line   m_out_drq2_func;
196195   devcb_resolved_write_line   m_out_drq3_func;
197196
198   device_isa8_card_interface *m_isa_device[8];
197   simple_list<device_isa8_card_interface> m_device_list;
199198   const char *m_cputag;
200199};
201200
r12174r12175
214213   device_isa8_card_interface(const machine_config &mconfig, device_t &device);
215214   virtual ~device_isa8_card_interface();
216215
216   device_isa8_card_interface *next() const { return m_next; }
217   
217218   void set_isa_device();
218219   // configuration access
219220   virtual UINT8 dack_r(int line);
r12174r12175
226227public:
227228   isa8_device  *m_isa;
228229   const char *m_isa_tag;
230   device_isa8_card_interface *m_next;
229231};
230232
231233// ======================> isa16bus_interface
r12174r12175
267269   virtual void device_start();
268270
269271    // inline configuration
270    static void static_set_isa16_slot(device_t &device, const char *tag, int num);   
272    static void static_set_isa16_slot(device_t &device, const char *tag);   
271273private:
272274   // configuration
273275   isa16_device  *m_isa16;
src/mess/drivers/genpc.c
r12174r12175
122122   /* video hardware */
123123   MCFG_PALETTE_LENGTH( 256 )
124124
125   MCFG_ISA8_SLOT_ADD("mb:isa", 1, "isa1", pc_isa8_cards, "mda", NULL)
126   MCFG_ISA8_SLOT_ADD("mb:isa", 2, "isa2", pc_isa8_cards, "com", NULL)
127   MCFG_ISA8_SLOT_ADD("mb:isa", 3, "isa3", pc_isa8_cards, "fdc", NULL)
128   MCFG_ISA8_SLOT_ADD("mb:isa", 4, "isa4", pc_isa8_cards, "hdc", NULL)
129   MCFG_ISA8_SLOT_ADD("mb:isa", 5, "isa5", pc_isa8_cards, "adlib", NULL)
130   MCFG_ISA8_SLOT_ADD("mb:isa", 6, "isa6", pc_isa8_cards, NULL, NULL)
125   MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, "mda", NULL)
126   MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", pc_isa8_cards, "com", NULL)
127   MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, "fdc", NULL)
128   MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, "hdc", NULL)
129   MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, "adlib", NULL)
130   MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, NULL)
131131
132132   /* keyboard */
133133   MCFG_KB_KEYTRONIC_ADD("keyboard", pc_keytronic_intf)
r12174r12175
146146
147147   MCFG_IBM5160_MOTHERBOARD_ADD("mb","maincpu",pc_keytronic_keyboard_intf)
148148
149   MCFG_ISA8_SLOT_ADD("mb:isa", 1, "isa1", pc_isa8_cards, "hercules", NULL)
150   MCFG_ISA8_SLOT_ADD("mb:isa", 2, "isa2", pc_isa8_cards, "com", NULL)
151   MCFG_ISA8_SLOT_ADD("mb:isa", 3, "isa3", pc_isa8_cards, "fdc", NULL)
152   MCFG_ISA8_SLOT_ADD("mb:isa", 4, "isa4", pc_isa8_cards, "hdc", NULL)
153   MCFG_ISA8_SLOT_ADD("mb:isa", 5, "isa5", pc_isa8_cards, "adlib", NULL)
154   MCFG_ISA8_SLOT_ADD("mb:isa", 6, "isa6", pc_isa8_cards, NULL, NULL)
149   MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, "hercules", NULL)
150   MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", pc_isa8_cards, "com", NULL)
151   MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, "fdc", NULL)
152   MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, "hdc", NULL)
153   MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, "adlib", NULL)
154   MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, NULL)
155155
156156   /* video hardware */
157157   MCFG_PALETTE_LENGTH( 256 )
r12174r12175
178178   MCFG_FRAGMENT_ADD( pcvideo_cga )
179179   MCFG_PALETTE_LENGTH( 256 )
180180
181   MCFG_ISA8_SLOT_ADD("mb:isa", 1, "isa1", pc_isa8_cards, "com", NULL)
182   MCFG_ISA8_SLOT_ADD("mb:isa", 2, "isa2", pc_isa8_cards, "fdc", NULL)
183   MCFG_ISA8_SLOT_ADD("mb:isa", 3, "isa3", pc_isa8_cards, "hdc", NULL)
184   MCFG_ISA8_SLOT_ADD("mb:isa", 4, "isa4", pc_isa8_cards, "sblaster", NULL)
185   MCFG_ISA8_SLOT_ADD("mb:isa", 5, "isa5", pc_isa8_cards, NULL, NULL)
186   MCFG_ISA8_SLOT_ADD("mb:isa", 6, "isa6", pc_isa8_cards, NULL, NULL)
181   MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, "com", NULL)
182   MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", pc_isa8_cards, "fdc", NULL)
183   MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, "hdc", NULL)
184   MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, "sblaster", NULL)
185   MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, NULL, NULL)
186   MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, NULL)
187187
188188   /* keyboard */
189189   MCFG_KB_KEYTRONIC_ADD("keyboard", pc_keytronic_intf)
r12174r12175
208208   MCFG_FRAGMENT_ADD( pcvideo_ega )
209209   MCFG_PALETTE_LENGTH( 256 )
210210
211   MCFG_ISA8_SLOT_ADD("mb:isa", 1, "isa1", pc_isa8_cards, "com", NULL)
212   MCFG_ISA8_SLOT_ADD("mb:isa", 2, "isa2", pc_isa8_cards, "fdc", NULL)
213   MCFG_ISA8_SLOT_ADD("mb:isa", 3, "isa3", pc_isa8_cards, "hdc", NULL)
214   MCFG_ISA8_SLOT_ADD("mb:isa", 4, "isa4", pc_isa8_cards, "sblaster", NULL)
215   MCFG_ISA8_SLOT_ADD("mb:isa", 5, "isa5", pc_isa8_cards, NULL, NULL)
216   MCFG_ISA8_SLOT_ADD("mb:isa", 6, "isa6", pc_isa8_cards, NULL, NULL)
211   MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", pc_isa8_cards, "com", NULL)
212   MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", pc_isa8_cards, "fdc", NULL)
213   MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", pc_isa8_cards, "hdc", NULL)
214   MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", pc_isa8_cards, "sblaster", NULL)
215   MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", pc_isa8_cards, NULL, NULL)
216   MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", pc_isa8_cards, NULL, NULL)
217217
218218   /* keyboard */
219219   MCFG_KB_KEYTRONIC_ADD("keyboard", pc_keytronic_intf)
r12174r12175
234234   MCFG_IBM5160_MOTHERBOARD_ADD("mb","maincpu",pc_keytronic_keyboard_intf)
235235   MCFG_DEVICE_INPUT_DEFAULTS(vga)
236236
237   MCFG_ISA8_SLOT_ADD("mb:isa", 1, "isa1", pc_isa8_cards, "com", NULL)
238   MCFG_ISA8_SLOT_ADD("mb:isa", 2, "isa2", pc_isa8_cards, "fdc", NULL)
239   MCFG_ISA8_SLOT_ADD("mb:isa", 3, "isa3", pc_isa8_cards, "hdc", NULL)
240   MCFG_ISA8_SLOT_ADD("mb:isa", 4, "isa4", pc_isa8_cards, "sblaster", NULL)
241   MCFG_ISA8_SLOT_ADD("mb:isa", 5, "isa5", pc_isa8_cards, NULL, NULL)
242   MCFG_ISA8_SLOT_ADD("mb:isa", 6, "isa6", pc_isa8_cards, NULL, NULL)
237   MCFG_ISA8_SLOT_ADD("mb:isa","isa1", pc_isa8_cards, "com", NULL)
238   MCFG_ISA8_SLOT_ADD("mb:isa","isa2", pc_isa8_cards, "fdc", NULL)
239   MCFG_ISA8_SLOT_ADD("mb:isa","isa3", pc_isa8_cards, "hdc", NULL)
240   MCFG_ISA8_SLOT_ADD("mb:isa","isa4", pc_isa8_cards, "sblaster", NULL)
241   MCFG_ISA8_SLOT_ADD("mb:isa","isa5", pc_isa8_cards, NULL, NULL)
242   MCFG_ISA8_SLOT_ADD("mb:isa","isa6", pc_isa8_cards, NULL, NULL)
243243
244244   /* video hardware */
245245   MCFG_IBM_VGA_ADD( "vga" )
src/mess/drivers/at.c
r12174r12175
449449
450450   MCFG_FRAGMENT_ADD( at_motherboard )
451451   MCFG_ISA16_BUS_ADD("isabus", "maincpu", isabus_intf)
452   MCFG_ISA8_SLOT_ADD("isabus", 1, "isa1", pc_isa8_cards, "fdc", NULL)
453   MCFG_ISA16_SLOT_ADD("isabus", 2, "isa2", pc_isa16_cards, "ide", NULL)
452   MCFG_ISA8_SLOT_ADD("isabus", "isa1", pc_isa8_cards, "fdc", NULL)
453   MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, "ide", NULL)
454454   
455455   MCFG_FRAGMENT_ADD( pcvideo_ega )
456456
r12174r12175
485485   MCFG_FRAGMENT_ADD( at_motherboard )
486486
487487   MCFG_ISA16_BUS_ADD("isabus", "maincpu", isabus_intf)
488   MCFG_ISA8_SLOT_ADD("isabus", 1, "isa1", pc_isa8_cards, "fdc", NULL)
489   MCFG_ISA16_SLOT_ADD("isabus", 2, "isa2", pc_isa16_cards, "ide", NULL)
488   MCFG_ISA8_SLOT_ADD("isabus", "isa1", pc_isa8_cards, "fdc", NULL)
489   MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, "ide", NULL)
490490
491491   MCFG_FRAGMENT_ADD( pcvideo_cga )
492492   
r12174r12175
506506   MCFG_FRAGMENT_ADD( at_motherboard )
507507
508508   MCFG_ISA16_BUS_ADD("isabus", "maincpu", isabus_intf)
509   MCFG_ISA8_SLOT_ADD("isabus", 1, "isa1", pc_isa8_cards, "fdc", NULL)
510   MCFG_ISA16_SLOT_ADD("isabus", 2, "isa2", pc_isa16_cards, "ide", NULL)
509   MCFG_ISA8_SLOT_ADD("isabus", "isa1", pc_isa8_cards, "fdc", NULL)
510   MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, "ide", NULL)
511511
512512   MCFG_FRAGMENT_ADD( pcvideo_vga )
513513
r12174r12175
527527   MCFG_FRAGMENT_ADD( at_motherboard )
528528
529529   MCFG_ISA16_BUS_ADD("isabus", "maincpu", isabus_intf)
530   MCFG_ISA8_SLOT_ADD("isabus", 1, "isa1", pc_isa8_cards, "fdc", NULL)
531   MCFG_ISA16_SLOT_ADD("isabus", 2, "isa2", pc_isa16_cards, "ide", NULL)
530   MCFG_ISA8_SLOT_ADD("isabus", "isa1", pc_isa8_cards, "fdc", NULL)
531   MCFG_ISA16_SLOT_ADD("isabus", "isa2", pc_isa16_cards, "ide", NULL)
532532
533533   MCFG_FRAGMENT_ADD( pcvideo_cga )
534534
r12174r12175
549549   MCFG_FRAGMENT_ADD( at_motherboard )
550550
551551   MCFG_ISA16_BUS_ADD("isabus", "maincpu", isabus_intf)
552   MCFG_ISA8_SLOT_ADD("isabus", 1, "isa1", pc_isa8_cards, "fdc", NULL)
553   MCFG_ISA16_SLOT_ADD("isabus", 2, "isa2", pc_isa16_cards, "ide", NULL)
552   MCFG_ISA8_SLOT_ADD("isabus", "isa1", pc_isa8_cards, "fdc", NULL)
553   MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, "ide", NULL)
554554
555555   MCFG_FRAGMENT_ADD( pcvideo_vga )
556556
r12174r12175
568568   MCFG_NVRAM_ADD_0FILL("nvram")
569569
570570   MCFG_ISA16_BUS_ADD("isabus", "maincpu", isabus_intf)
571   //MCFG_ISA8_ONBOARD_ADD("isabus", "fdc", ISA8_FDC, NULL)
572   MCFG_ISA8_SLOT_ADD("isabus", 1, "isa1", pc_isa8_cards, "fdc", NULL)
571   MCFG_ISA8_ONBOARD_ADD("isabus", "fdc", ISA8_FDC, NULL)
573572
574573   MCFG_FRAGMENT_ADD( pcvideo_vga )
575574
src/mess/drivers/ibmpc.c
r12174r12175
337337   /* video hardware */
338338   MCFG_FRAGMENT_ADD( pcvideo_cga )
339339
340   MCFG_ISA8_SLOT_ADD("mb:isa", 1, "isa1", ibm_isa8_cards, "com", NULL)
341   MCFG_ISA8_SLOT_ADD("mb:isa", 2, "isa2", ibm_isa8_cards, "fdc", NULL)
342   MCFG_ISA8_SLOT_ADD("mb:isa", 3, "isa3", ibm_isa8_cards, "hdc", NULL)
343   MCFG_ISA8_SLOT_ADD("mb:isa", 4, "isa4", ibm_isa8_cards, NULL, NULL)
344   MCFG_ISA8_SLOT_ADD("mb:isa", 5, "isa5", ibm_isa8_cards, NULL, NULL)
345   MCFG_ISA8_SLOT_ADD("mb:isa", 6, "isa6", ibm_isa8_cards, NULL, NULL)
340   MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", ibm_isa8_cards, "com", NULL)
341   MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", ibm_isa8_cards, "fdc", NULL)
342   MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", ibm_isa8_cards, "hdc", NULL)
343   MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", ibm_isa8_cards, NULL, NULL)
344   MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", ibm_isa8_cards, NULL, NULL)
345   MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", ibm_isa8_cards, NULL, NULL)
346346
347347   /* keyboard */
348348   MCFG_KB_KEYTRONIC_ADD("keyboard", pc_keytronic_intf)
r12174r12175
368368   /* video hardware */
369369   MCFG_FRAGMENT_ADD( pcvideo_cga )
370370
371   MCFG_ISA8_SLOT_ADD("mb:isa", 1, "isa1", ibm_isa8_cards, "com", NULL)
372   MCFG_ISA8_SLOT_ADD("mb:isa", 2, "isa2", ibm_isa8_cards, "fdc", NULL)
373   MCFG_ISA8_SLOT_ADD("mb:isa", 3, "isa3", ibm_isa8_cards, "hdc", NULL)
374   MCFG_ISA8_SLOT_ADD("mb:isa", 4, "isa4", ibm_isa8_cards, NULL, NULL)
375   MCFG_ISA8_SLOT_ADD("mb:isa", 5, "isa5", ibm_isa8_cards, NULL, NULL)
376   MCFG_ISA8_SLOT_ADD("mb:isa", 6, "isa6", ibm_isa8_cards, NULL, NULL)
371   MCFG_ISA8_SLOT_ADD("mb:isa", "isa1", ibm_isa8_cards, "com", NULL)
372   MCFG_ISA8_SLOT_ADD("mb:isa", "isa2", ibm_isa8_cards, "fdc", NULL)
373   MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", ibm_isa8_cards, "hdc", NULL)
374   MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", ibm_isa8_cards, NULL, NULL)
375   MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", ibm_isa8_cards, NULL, NULL)
376   MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", ibm_isa8_cards, NULL, NULL)
377377
378378   /* keyboard */
379379   MCFG_KB_KEYTRONIC_ADD("keyboard", pc_keytronic_intf)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team