| Previous | 199869 Revisions | Next |
| r26656 Wednesday 18th December, 2013 at 20:15:09 UTC by smf |
|---|
| MCFG_MODIFY_DEVICE(DEVICE_SELF) is no longer required in machine configs used in a slot option (nw) |
| [src/emu] | mconfig.c |
| [src/emu/bus/a2bus] | a2hsscsi.c a2scsi.c |
| [src/mame/drivers] | rastersp.c |
| [src/mess/drivers] | next.c |
| r26655 | r26656 | |
|---|---|---|
| 845 | 845 | } |
| 846 | 846 | |
| 847 | 847 | static MACHINE_CONFIG_FRAGMENT( ncr53c700 ) |
| 848 | MCFG_DEVICE_MODIFY(DEVICE_SELF) | |
| 849 | 848 | MCFG_DEVICE_CLOCK(66000000) |
| 850 | 849 | MCFG_NCR53C7XX_IRQ_HANDLER(DEVWRITELINE(":", rastersp_state, scsi_irq)) |
| 851 | 850 | MCFG_NCR53C7XX_HOST_READ(DEVREAD32(":", rastersp_state, ncr53c700_read)) |
| r26655 | r26656 | |
|---|---|---|
| 64 | 64 | |
| 65 | 65 | machine_config_constructor additions = option->machine_config(); |
| 66 | 66 | if (additions != NULL) |
| 67 | (*additions)(const_cast<machine_config &>(*this), new_dev, | |
| 67 | (*additions)(const_cast<machine_config &>(*this), new_dev, new_dev); | |
| 68 | 68 | |
| 69 | 69 | const input_device_default *input_device_defaults = option->input_device_defaults(); |
| 70 | 70 | if (input_device_defaults) |
| r26655 | r26656 | |
|---|---|---|
| 50 | 50 | #define SCSI_5380_TAG "scsibus:7:ncr5380" |
| 51 | 51 | |
| 52 | 52 | static MACHINE_CONFIG_FRAGMENT( ncr5380 ) |
| 53 | MCFG_DEVICE_MODIFY(DEVICE_SELF) | |
| 54 | 53 | MCFG_DEVICE_CLOCK(10000000) |
| 55 | 54 | MCFG_NCR5380N_DRQ_HANDLER(DEVWRITELINE("^^", a2bus_scsi_device, drq_w)) |
| 56 | 55 | MACHINE_CONFIG_END |
| r26655 | r26656 | |
|---|---|---|
| 57 | 57 | #define SCSI_5380_TAG "scsibus:7:ncr5380" |
| 58 | 58 | |
| 59 | 59 | static MACHINE_CONFIG_FRAGMENT( ncr5380 ) |
| 60 | MCFG_DEVICE_MODIFY(DEVICE_SELF) | |
| 61 | 60 | MCFG_DEVICE_CLOCK(10000000) |
| 62 | 61 | MCFG_NCR5380N_DRQ_HANDLER(DEVWRITELINE("^^", a2bus_hsscsi_device, drq_w)) |
| 63 | 62 | MACHINE_CONFIG_END |
| r26655 | r26656 | |
|---|---|---|
| 948 | 948 | SLOT_INTERFACE_END |
| 949 | 949 | |
| 950 | 950 | static MACHINE_CONFIG_FRAGMENT( ncr5390 ) |
| 951 | MCFG_DEVICE_MODIFY(DEVICE_SELF) | |
| 952 | 951 | MCFG_DEVICE_CLOCK(10000000) |
| 953 | 952 | MCFG_NCR5390_IRQ_HANDLER(DEVWRITELINE(":", next_state, scsi_irq)) |
| 954 | 953 | MCFG_NCR5390_DRQ_HANDLER(DEVWRITELINE(":", next_state, scsi_drq)) |
| Previous | 199869 Revisions | Next |