Previous 199869 Revisions Next

r24572 Tuesday 30th July, 2013 at 11:04:32 UTC by Curt Coder
(MESS) ieee488: Removed device address information from the IEEE-488 bus, allowing devices to be chained. [Curt Coder]
[src/mess/drivers]pet.c
[src/mess/machine]c2031.c c2031.h c2040.c c2040.h c8280.c c8280.h cbmipt.h d9060.c d9060.h hardbox.c hardbox.h ieee488.c ieee488.h shark.c shark.h softbox.c

trunk/src/mess/machine/c2031.c
r24571r24572
358358
359359   MCFG_LEGACY_FLOPPY_DRIVE_ADD(FLOPPY_0, c1541_floppy_interface)
360360   MCFG_64H156_ADD(C64H156_TAG, XTAL_16MHz, ga_intf)
361
362   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
361363MACHINE_CONFIG_END
362364
363365
r24571r24572
372374}
373375
374376
377//-------------------------------------------------
378//  INPUT_PORTS( c2031 )
379//-------------------------------------------------
375380
381static INPUT_PORTS_START( c2031 )
382   PORT_START("ADDRESS")
383   PORT_DIPNAME( 0x03, 0x00, "Device Address" )
384   PORT_DIPSETTING(    0x00, "8" )
385   PORT_DIPSETTING(    0x01, "9" )
386   PORT_DIPSETTING(    0x02, "10" )
387   PORT_DIPSETTING(    0x03, "11" )
388INPUT_PORTS_END
389
390
391//-------------------------------------------------
392//  input_ports - device-specific input ports
393//-------------------------------------------------
394
395ioport_constructor c2031_device::device_input_ports() const
396{
397   return INPUT_PORTS_NAME( c2031 );
398}
399
400
401
376402//**************************************************************************
377403//  INLINE HELPERS
378404//**************************************************************************
r24571r24572
385411{
386412   int state = 1;
387413
388   switch (m_address)
414   switch (m_address->read() & 0x03)
389415   {
390   case 8: state = (m_atna && m_nrfd_out); break;
391   case 9: state = m_nrfd_out;             break;
392   case 10: state = m_atna;                break;
393   case 11: state = 1;                     break;
416   case 0: state = (m_atna && m_nrfd_out); break;
417   case 1: state = m_nrfd_out;             break;
418   case 2: state = m_atna;                 break;
419   case 3: state = 1;                      break;
394420   }
395421
396422   return state;
r24571r24572
414440      m_via1(*this, M6522_1_TAG),
415441      m_ga(*this, C64H156_TAG),
416442      m_image(*this, FLOPPY_0),
443      m_address(*this, "ADDRESS"),
417444      m_nrfd_out(1),
418445      m_ndac_out(1),
419446      m_atna(1),
trunk/src/mess/machine/c2031.h
r24571r24572
2020#include "formats/g64_dsk.h"
2121#include "machine/64h156.h"
2222#include "machine/6522via.h"
23#include "machine/cbmipt.h"
2324#include "machine/ieee488.h"
2425
2526
r24571r24572
5253   // optional information overrides
5354   virtual const rom_entry *device_rom_region() const;
5455   virtual machine_config_constructor device_mconfig_additions() const;
56   virtual ioport_constructor device_input_ports() const;
5557
5658protected:
5759   // device-level overrides
r24571r24572
6971   required_device<via6522_device> m_via1;
7072   required_device<c64h156_device> m_ga;
7173   required_device<legacy_floppy_image_device> m_image;
74   required_ioport m_address;
7275
7376   // IEEE-488 bus
7477   int m_nrfd_out;             // not ready for data
trunk/src/mess/machine/c2040.c
r24571r24572
505505       PB0     DEVICE NUMBER SELECTION
506506       PB1     DEVICE NUMBER SELECTION
507507       PB2     DEVICE NUMBER SELECTION
508       PB3     ACT LED 1
509       PB4     ACT LED 0
510       PB5     ERR LED
508       PB3     
509       PB4     
510       PB5     
511511       PB6     DACI
512512       PB7     RFDI
513513
r24571r24572
516516   UINT8 data = 0;
517517
518518   // device number selection
519   data |= m_address - 8;
519   data |= m_address->read() & 0x07;
520520
521521   // data accepted in
522522   data |= m_bus->ndac_r() << 6;
r24571r24572
533533
534534       bit     description
535535
536       PB0     DEVICE NUMBER SELECTION
537       PB1     DEVICE NUMBER SELECTION
538       PB2     DEVICE NUMBER SELECTION
536       PB0     
537       PB1     
538       PB2     
539539       PB3     ACT LED 1
540540       PB4     ACT LED 0
541541       PB5     ERR LED
542       PB6     DACI
543       PB7     RFDI
542       PB6     
543       PB7     
544544
545545   */
546546
r24571r24572
10991099   MCFG_MOS6530_ADD(M6530_TAG, XTAL_16MHz/16, miot_intf)
11001100
11011101   MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(c2040_floppy_interface)
1102
1103   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
11021104MACHINE_CONFIG_END
11031105
11041106
r24571r24572
11331135   MCFG_MOS6530_ADD(M6530_TAG, XTAL_16MHz/16, miot_intf)
11341136
11351137   MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(c4040_floppy_interface)
1138
1139   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
11361140MACHINE_CONFIG_END
11371141
11381142
r24571r24572
11671171   MCFG_MOS6530_ADD(M6530_TAG, XTAL_12MHz/12, c8050_miot_intf)
11681172
11691173   MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(c8050_floppy_interface)
1174
1175   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
11701176MACHINE_CONFIG_END
11711177
11721178
r24571r24572
12011207   MCFG_MOS6530_ADD(M6530_TAG, XTAL_12MHz/12, c8050_miot_intf)
12021208
12031209   MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(c8250_floppy_interface)
1210
1211   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
12041212MACHINE_CONFIG_END
12051213
12061214
r24571r24572
12351243   MCFG_MOS6530_ADD(M6530_TAG, XTAL_12MHz/12, c8050_miot_intf)
12361244
12371245   MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(c8250_floppy_interface)
1246
1247   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
12381248MACHINE_CONFIG_END
12391249
12401250
r24571r24572
12691279   MCFG_MOS6530_ADD(M6530_TAG, XTAL_12MHz/12, c8050_miot_intf)
12701280
12711281   MCFG_LEGACY_FLOPPY_DRIVE_ADD(FLOPPY_0, c8250_floppy_interface)
1282
1283   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
12721284MACHINE_CONFIG_END
12731285
12741286
r24571r24572
12831295}
12841296
12851297
1298//-------------------------------------------------
1299//  INPUT_PORTS( c2040 )
1300//-------------------------------------------------
12861301
1302static INPUT_PORTS_START( c2040 )
1303   PORT_START("ADDRESS")
1304   PORT_DIPNAME( 0x07, 0x00, "Device Address" )
1305   PORT_DIPSETTING(    0x00, "8" )
1306   PORT_DIPSETTING(    0x01, "9" )
1307   PORT_DIPSETTING(    0x02, "10" )
1308   PORT_DIPSETTING(    0x03, "11" )
1309   PORT_DIPSETTING(    0x04, "12" )
1310   PORT_DIPSETTING(    0x05, "13" )
1311   PORT_DIPSETTING(    0x06, "14" )
1312   PORT_DIPSETTING(    0x07, "15" )
1313INPUT_PORTS_END
1314
1315
1316//-------------------------------------------------
1317//  input_ports - device-specific input ports
1318//-------------------------------------------------
1319
1320ioport_constructor c2040_device::device_input_ports() const
1321{
1322   return INPUT_PORTS_NAME( c2040 );
1323}
1324
1325
1326
12871327//**************************************************************************
12881328//  INLINE HELPERS
12891329//**************************************************************************
r24571r24572
14831523      m_image0(*this, FLOPPY_0),
14841524      m_image1(*this, FLOPPY_1),
14851525      m_gcr(*this, "gcr"),
1526      m_address(*this, "ADDRESS"),
14861527      m_drive(0),
14871528      m_side(0),
14881529      m_rfdo(1),
r24571r24572
15201561      m_image0(*this, FLOPPY_0),
15211562      m_image1(*this, FLOPPY_1),
15221563      m_gcr(*this, "gcr"),
1564      m_address(*this, "ADDRESS"),
15231565      m_drive(0),
15241566      m_side(0),
15251567      m_rfdo(1),
trunk/src/mess/machine/c2040.h
r24571r24572
2121#include "formats/g64_dsk.h"
2222#include "machine/6522via.h"
2323#include "machine/6532riot.h"
24#include "machine/cbmipt.h"
2425#include "machine/mos6530.h"
2526#include "machine/ieee488.h"
2627
r24571r24572
4344   // optional information overrides
4445   virtual const rom_entry *device_rom_region() const;
4546   virtual machine_config_constructor device_mconfig_additions() const;
47   virtual ioport_constructor device_input_ports() const;
4648
4749   // not really public
4850   static void on_disk0_change(device_image_interface &image);
r24571r24572
9294   required_device<legacy_floppy_image_device> m_image0;
9395   optional_device<legacy_floppy_image_device> m_image1;
9496   required_memory_region m_gcr;
97   required_ioport m_address;
9598
9699   struct {
97100      // motors
trunk/src/mess/machine/cbmipt.h
r24571r24572
115115
116116
117117#define MCFG_CBM_IEEE488_ADD(_default_drive) \
118   MCFG_IEEE488_SLOT_ADD("ieee8", 8, cbm_ieee488_devices, _default_drive) \
119   MCFG_IEEE488_SLOT_ADD("ieee9", 9, cbm_ieee488_devices, NULL) \
120   MCFG_IEEE488_SLOT_ADD("ieee10", 10, cbm_ieee488_devices, NULL) \
121   MCFG_IEEE488_SLOT_ADD("ieee11", 11, cbm_ieee488_devices, NULL) \
118   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, _default_drive) \
122119   MCFG_IEEE488_BUS_ADD()
123120
124121
trunk/src/mess/machine/shark.c
r24571r24572
112112   // devices
113113   MCFG_HARDDISK_ADD("harddisk1")
114114   MCFG_RS232_PORT_ADD(RS232_TAG, rs232_intf, default_rs232_devices, NULL)
115
116   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
115117MACHINE_CONFIG_END
116118
117119
trunk/src/mess/machine/shark.h
r24571r24572
1717#include "emu.h"
1818#include "cpu/i8085/i8085.h"
1919#include "imagedev/harddriv.h"
20#include "machine/cbmipt.h"
2021#include "machine/ieee488.h"
2122#include "machine/serial.h"
2223
trunk/src/mess/machine/ieee488.c
r24571r24572
7272
7373
7474//-------------------------------------------------
75//  static_set_slot -
75//  device_start - device-specific startup
7676//-------------------------------------------------
7777
78void ieee488_slot_device::static_set_slot(device_t &device, int address)
78void ieee488_slot_device::device_start()
7979{
80   ieee488_slot_device &ieee488_card = dynamic_cast<ieee488_slot_device &>(device);
81   ieee488_card.m_address = address;
82}
80   ieee488_device* bus = NULL;
8381
82   for (device_t *device = owner(); device != NULL; device = device->owner())
83   {
84      bus = device->subdevice<ieee488_device>(IEEE488_TAG);
85      if (bus != NULL) break;
86   }
8487
85//-------------------------------------------------
86//  device_start - device-specific startup
87//-------------------------------------------------
88   assert(bus);
8889
89void ieee488_slot_device::device_start()
90{
91   ieee488_device* bus = owner()->subdevice<ieee488_device>(IEEE488_TAG);
9290   device_ieee488_interface *dev = dynamic_cast<device_ieee488_interface *>(get_card_device());
93   if (dev) bus->add_device(get_card_device(), m_address);
91   if (dev) bus->add_device(get_card_device());
9492}
9593
9694
r24571r24572
104102//-------------------------------------------------
105103
106104ieee488_device::ieee488_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
107   : device_t(mconfig, IEEE488, "IEEE488 bus", tag, owner, clock, "ieee488", __FILE__),
105   : device_t(mconfig, IEEE488, "IEEE-488 bus", tag, owner, clock, "ieee488", __FILE__),
108106      m_write_eoi(*this),
109107      m_write_dav(*this),
110108      m_write_nrfd(*this),
r24571r24572
154152//  add_device -
155153//-------------------------------------------------
156154
157void ieee488_device::add_device(device_t *target, int address)
155void ieee488_device::add_device(device_t *target)
158156{
159157   daisy_entry *entry = auto_alloc(machine(), daisy_entry(target));
160158
161159   entry->m_interface->m_bus = this;
162   entry->m_interface->m_address = address;
163160
164161   m_device_list.append(*entry);
165162}
trunk/src/mess/machine/ieee488.h
r24571r24572
5858   downcast<ieee488_device *>(device)->set_ren_callback(DEVCB2_##_write);
5959
6060
61#define MCFG_IEEE488_SLOT_ADD(_tag, _num, _slot_intf, _def_slot) \
61#define MCFG_IEEE488_SLOT_ADD(_tag, _slot_intf, _def_slot) \
6262   MCFG_DEVICE_ADD(_tag, IEEE488_SLOT, 0) \
63   MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) \
64   ieee488_slot_device::static_set_slot(*device, _num);
63   MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false)
6564
6665
6766
r24571r24572
8887   template<class _write> void set_atn_callback(_write wr) { m_write_atn.set_callback(wr); }
8988   template<class _write> void set_ren_callback(_write wr) { m_write_ren.set_callback(wr); }
9089
91   void add_device(device_t *target, int address);
90   void add_device(device_t *target);
9291
9392   // reads for both host and peripherals
9493   UINT8 dio_r() { return get_data(); }
r24571r24572
190189
191190   // device-level overrides
192191   virtual void device_start();
193
194   // inline configuration
195   static void static_set_slot(device_t &device, int address);
196
197private:
198   // configuration
199   int m_address;
200192};
201193
202194
r24571r24572
225217   virtual void ieee488_ren(int state) { };
226218
227219   ieee488_device  *m_bus;
228   int m_address;
229220};
230221
231222
trunk/src/mess/machine/d9060.c
r24571r24572
267267   UINT8 data = 0;
268268
269269   // device number selection
270   data |= m_address - 8;
270   data |= m_address->read() & 0x07;
271271
272272   // data accepted in
273273   data |= m_bus->ndac_r() << 6;
r24571r24572
446446   MCFG_SCSIDEV_ADD(SASIBUS_TAG ":harddisk0", D9060HD, SCSI_ID_0)
447447   MCFG_SCSICB_ADD(SASIBUS_TAG ":host")
448448   MCFG_SCSICB_REQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, base_d9060_device, req_w))
449
450   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
449451MACHINE_CONFIG_END
450452
451453
r24571r24572
460462}
461463
462464
465//-------------------------------------------------
466//  INPUT_PORTS( d9060 )
467//-------------------------------------------------
463468
469static INPUT_PORTS_START( d9060 )
470   PORT_START("ADDRESS")
471   PORT_DIPNAME( 0x07, 0x01, "Device Address" )
472   PORT_DIPSETTING(    0x00, "8" )
473   PORT_DIPSETTING(    0x01, "9" )
474   PORT_DIPSETTING(    0x02, "10" )
475   PORT_DIPSETTING(    0x03, "11" )
476   PORT_DIPSETTING(    0x04, "12" )
477   PORT_DIPSETTING(    0x05, "13" )
478   PORT_DIPSETTING(    0x06, "14" )
479   PORT_DIPSETTING(    0x07, "15" )
480INPUT_PORTS_END
481
482
483//-------------------------------------------------
484//  input_ports - device-specific input ports
485//-------------------------------------------------
486
487ioport_constructor base_d9060_device::device_input_ports() const
488{
489   return INPUT_PORTS_NAME( d9060 );
490}
491
492
493
464494//**************************************************************************
465495//  INLINE HELPERS
466496//**************************************************************************
r24571r24572
498528      m_riot1(*this, M6532_1_TAG),
499529      m_via(*this, M6522_TAG),
500530      m_sasibus(*this, SASIBUS_TAG ":host"),
531      m_address(*this, "ADDRESS"),
501532      m_rfdo(1),
502533      m_daco(1),
503534      m_atna(1),
trunk/src/mess/machine/d9060.h
r24571r24572
2828#include "cpu/m6502/m6502.h"
2929#include "machine/6522via.h"
3030#include "machine/6532riot.h"
31#include "machine/cbmipt.h"
3132#include "machine/ieee488.h"
3233#include "machine/scsicb.h"
3334
r24571r24572
5657   // optional information overrides
5758   virtual const rom_entry *device_rom_region() const;
5859   virtual machine_config_constructor device_mconfig_additions() const;
60   virtual ioport_constructor device_input_ports() const;
5961
6062   // not really public
6163   DECLARE_WRITE_LINE_MEMBER( req_w );
r24571r24572
9092   required_device<riot6532_device> m_riot1;
9193   required_device<via6522_device> m_via;
9294   required_device<scsicb_device> m_sasibus;
95   required_ioport m_address;
9396
9497   // IEEE-488 bus
9598   int m_rfdo;                         // not ready for data output
trunk/src/mess/machine/c8280.c
r24571r24572
257257   UINT8 data = 0;
258258
259259   // device number selection
260   data |= m_address - 8;
260   data |= m_address->read() & 0x07;
261261
262262   // data accepted in
263263   data |= m_bus->ndac_r() << 6;
r24571r24572
340340   MCFG_CPU_PROGRAM_MAP(c8280_fdc_mem)
341341
342342   MCFG_FD1797x_ADD(WD1797_TAG, XTAL_12MHz/6) // clock?
343
344343   MCFG_FLOPPY_DRIVE_ADD(WD1797_TAG":0", c8280_floppies, "8dsdd", floppy_image_device::default_floppy_formats)
345344   MCFG_FLOPPY_DRIVE_ADD(WD1797_TAG":1", c8280_floppies, "8dsdd", floppy_image_device::default_floppy_formats)
345
346   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
346347MACHINE_CONFIG_END
347348
348349
r24571r24572
357358}
358359
359360
361//-------------------------------------------------
362//  INPUT_PORTS( c8280 )
363//-------------------------------------------------
364
365static INPUT_PORTS_START( c8280 )
366   PORT_START("ADDRESS")
367   PORT_DIPNAME( 0x07, 0x00, "Device Address" )
368   PORT_DIPSETTING(    0x00, "8" )
369   PORT_DIPSETTING(    0x01, "9" )
370   PORT_DIPSETTING(    0x02, "10" )
371   PORT_DIPSETTING(    0x03, "11" )
372   PORT_DIPSETTING(    0x04, "12" )
373   PORT_DIPSETTING(    0x05, "13" )
374   PORT_DIPSETTING(    0x06, "14" )
375   PORT_DIPSETTING(    0x07, "15" )
376INPUT_PORTS_END
377
378
379//-------------------------------------------------
380//  input_ports - device-specific input ports
381//-------------------------------------------------
382
383ioport_constructor c8280_device::device_input_ports() const
384{
385   return INPUT_PORTS_NAME( c8280 );
386}
387
388
389
360390//**************************************************************************
361391//  INLINE HELPERS
362392//**************************************************************************
r24571r24572
395425      m_fdc(*this, WD1797_TAG),
396426      m_floppy0(*this, WD1797_TAG":0"),
397427      m_floppy1(*this, WD1797_TAG":1"),
428      m_address(*this, "ADDRESS"),
398429      m_rfdo(1),
399430      m_daco(1),
400431      m_atna(1)
trunk/src/mess/machine/c8280.h
r24571r24572
1616#include "emu.h"
1717#include "cpu/m6502/m6502.h"
1818#include "machine/6532riot.h"
19#include "machine/cbmipt.h"
1920#include "machine/ieee488.h"
2021#include "machine/wd_fdc.h"
2122
r24571r24572
3738   // optional information overrides
3839   virtual const rom_entry *device_rom_region() const;
3940   virtual machine_config_constructor device_mconfig_additions() const;
41   virtual ioport_constructor device_input_ports() const;
4042
4143   // not really public
4244   DECLARE_READ8_MEMBER( dio_r );
r24571r24572
6971   required_device<fd1797_t> m_fdc;
7072   required_device<floppy_connector> m_floppy0;
7173   required_device<floppy_connector> m_floppy1;
74   required_ioport m_address;
7275   floppy_image_device *m_floppy;
7376
7477   // IEEE-488 bus
trunk/src/mess/machine/hardbox.c
r24571r24572
1919   Start the pet8032 emulator with the HardBox attached as device 9,
2020   with the new CHD and the utilities floppy mounted:
2121
22   $ mess pet8032 -ieee9 hardbox \
22   $ mess pet8032 -ieee:c8050:ieee hardbox \
2323               -hard1 /path/to/corvus20mb.chd \
2424               -flop1 /path/to/hardbox-utils.d80
2525   
r24571r24572
132132   m_bus->dio_w(this, data ^ 0xff);
133133}
134134
135READ8_MEMBER( hardbox_device::ppi0_pc_r )
136{
137    UINT8 data = ioport("SW1")->read();
138
139   /* DIP switches on PC1,PC2,PC3 configure the IEEE-488 primary address. 
140      We get the address from m_address instead. */
141    data |= ((m_address - 8) << 1) ^ 0xff;
142
143   return data;
144}
145
146135static I8255A_INTERFACE( ppi0_intf )
147136{
148137   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, hardbox_device, ppi0_pa_r),
149138   DEVCB_NULL, // Port A write
150139   DEVCB_NULL, // Port B read
151140   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, hardbox_device, ppi0_pb_w),
152   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, hardbox_device, ppi0_pc_r),
141   DEVCB_INPUT_PORT("SW1"), // Port C read
153142   DEVCB_NULL  // Port C write
154143};
155144
r24571r24572
294283   MCFG_HARDDISK_ADD("harddisk2")
295284   MCFG_HARDDISK_ADD("harddisk3")
296285   MCFG_HARDDISK_ADD("harddisk4")
286
287   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
297288MACHINE_CONFIG_END
298289
299290
r24571r24572
315306INPUT_PORTS_START( hardbox )
316307   PORT_START("SW1")
317308   PORT_DIPUNKNOWN_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW1:1" )
318
319    /* SW1:2,3,4 are missing intentionally.  These switches would control
320       IEEE-488 primary address.  See the note in hardbox_device::ppi0_pc_r. */
321
309   PORT_DIPNAME( 0x0e, 0x0c, "Device Address" ) PORT_DIPLOCATION("SW1:2,3,4")
310   PORT_DIPSETTING(    0x0e, "8" )
311   PORT_DIPSETTING(    0x0c, "9" )
312   PORT_DIPSETTING(    0x0a, "10" )
313   PORT_DIPSETTING(    0x08, "11" )
314   PORT_DIPSETTING(    0x06, "12" )
315   PORT_DIPSETTING(    0x04, "13" )
316   PORT_DIPSETTING(    0x02, "14" )
317   PORT_DIPSETTING(    0x00, "15" )
322318   PORT_DIPUNKNOWN_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW1:5" )
323319   PORT_DIPUNKNOWN_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW1:6" )
324320   PORT_DIPUNKNOWN_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW1:7" )
trunk/src/mess/machine/hardbox.h
r24571r24572
4343
4444   DECLARE_READ8_MEMBER( ppi0_pa_r );
4545   DECLARE_WRITE8_MEMBER( ppi0_pb_w );
46   DECLARE_READ8_MEMBER( ppi0_pc_r );
4746
4847   DECLARE_READ8_MEMBER( ppi1_pa_r );
4948   DECLARE_WRITE8_MEMBER( ppi1_pb_w );
trunk/src/mess/machine/softbox.c
r24571r24572
281281   MCFG_HARDDISK_ADD("harddisk3")
282282   MCFG_HARDDISK_ADD("harddisk4")
283283   MCFG_RS232_PORT_ADD(RS232_TAG, rs232_intf, default_rs232_devices, NULL)
284
285   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, NULL)
284286MACHINE_CONFIG_END
285287
286288
trunk/src/mess/drivers/pet.c
r24571r24572
18271827   MCFG_DEVICE_MODIFY(MC6845_TAG)
18281828   MCFG_DEVICE_CONFIG(cbm8296_crtc_intf)
18291829
1830   MCFG_DEVICE_REMOVE("ieee8")
1831   MCFG_IEEE488_SLOT_ADD("ieee8", 8, cbm_ieee488_devices, "c8250")
1830   MCFG_DEVICE_REMOVE("ieee")
1831   MCFG_IEEE488_SLOT_ADD("ieee", cbm_ieee488_devices, "c8250")
18321832
18331833   MCFG_RAM_ADD(RAM_TAG)
18341834   MCFG_RAM_DEFAULT_SIZE("128K")
r24571r24572
18421842//-------------------------------------------------
18431843
18441844static MACHINE_CONFIG_DERIVED( cbm8296d, cbm8296 )
1845   MCFG_DEVICE_REMOVE("ieee8")
1846   MCFG_IEEE488_SLOT_ADD("ieee8", 8, cbm8296d_ieee488_devices, "c8250lp")
1845   MCFG_DEVICE_REMOVE("ieee")
1846   MCFG_IEEE488_SLOT_ADD("ieee", cbm8296d_ieee488_devices, "c8250lp")
18471847MACHINE_CONFIG_END
18481848
18491849

Previous 199869 Revisions Next


© 1997-2024 The MAME Team