src/mess/machine/conkort.c
| r9089 | r9090 | |
| 176 | 176 | |
| 177 | 177 | Fast Controller |
| 178 | 178 | --------------- |
| 179 | | - status bit 0 (busy) |
| 180 | | - SW2 reading |
| 181 | | - "track 0 sector 25 not found!" -> SW2 options were wrong, though always ABC838 |
| 182 | | - INT/NMI to ABC800 ? |
| 183 | | - Z80 DMA INT on end of block ? |
| 179 | - Z80 DMA reset command is broken (it keeps resetting A/B port addresses) |
| 180 | - status bit 0 (busy) ? |
| 184 | 181 | |
| 185 | 182 | */ |
| 186 | 183 | |
| r9089 | r9090 | |
| 648 | 645 | 1 _DRVSB |
| 649 | 646 | 2 _DRVSA |
| 650 | 647 | 3 _MOTEB |
| 651 | | 4 ? |
| 648 | 4 pin 2 of 50-pin floppy connector, not used |
| 652 | 649 | 5 _SIDE1 |
| 653 | 650 | 6 |
| 654 | 651 | 7 |
| r9089 | r9090 | |
| 1010 | 1007 | DEVCB_MEMORY_HANDLER(Z80_TAG, IO, memory_write_byte) |
| 1011 | 1008 | }; |
| 1012 | 1009 | |
| 1013 | | static const z80_daisy_config fast_daisy_chain[] = |
| 1014 | | { |
| 1015 | | { Z80DMA_TAG }, |
| 1016 | | { NULL } |
| 1017 | | }; |
| 1018 | | |
| 1019 | 1010 | /* FD1791 */ |
| 1020 | 1011 | |
| 1021 | 1012 | static WRITE_LINE_DEVICE_HANDLER( slow_fd1791_intrq_w ) |
| r9089 | r9090 | |
| 1060 | 1051 | fast_t *conkort = get_safe_token_fast(device->owner()); |
| 1061 | 1052 | |
| 1062 | 1053 | conkort->fdc_irq = state; |
| 1063 | | |
| 1054 | logerror("FDC interrupt %u\n", state); |
| 1064 | 1055 | cpu_set_input_line(conkort->cpu, INPUT_LINE_IRQ0, conkort->fdc_irq | conkort->dma_irq); |
| 1065 | 1056 | } |
| 1066 | 1057 | |
| r9089 | r9090 | |
| 1102 | 1093 | MDRV_CPU_ADD(Z80_TAG, Z80, XTAL_16MHz/4) |
| 1103 | 1094 | MDRV_CPU_PROGRAM_MAP(fast_map) |
| 1104 | 1095 | MDRV_CPU_IO_MAP(fast_io_map) |
| 1105 | | MDRV_CPU_CONFIG(fast_daisy_chain) |
| 1106 | 1096 | |
| 1107 | 1097 | MDRV_Z80DMA_ADD(Z80DMA_TAG, XTAL_16MHz/4, dma_intf) |
| 1108 | 1098 | MDRV_WD1793_ADD(SAB1793_TAG, fast_wd17xx_interface) |