Previous 15994 Revisions Next

r3540 Tuesday 11th November, 2008 at 20:45:26 UTC by Curt Coder
[CONKORT] Moved FDC initialization to device start.
[src/mess/machine]conkort.c

src/mess/machine/conkort.c
r3539r3540
6969 
7070   TODO:
7171 
72   - "memory_set_bank called for bank 1 with invalid bank entry 0"
7372   - floppy drive selection
7473   - floppy side selection
7574   - DS/DD SS/DS jumpers
r3539r3540
488487   }
489488}
490489 
491/* Machine Start */
492 
493static MACHINE_START( slow )
494{
495   wd17xx_init(machine, WD_TYPE_179X, slow_wd1791_callback, NULL); // FD1791-01
496}
497 
498static MACHINE_START( fast )
499{
500   wd17xx_init(machine, WD_TYPE_1793, fast_wd1793_callback, NULL); // FD1793-01
501}
502 
503490/* Machine Driver */
504491 
505492static MACHINE_DRIVER_START( luxor_55_10828 )
r3539r3540
509496   MDRV_CPU_CONFIG(slow_daisy_chain)
510497 
511498   MDRV_Z80PIO_ADD(CONKORT_Z80PIO_TAG, pio_intf)
512   
513   MDRV_MACHINE_START(slow)
514499MACHINE_DRIVER_END
515500 
516501static MACHINE_DRIVER_START( luxor_55_21046 )
r3539r3540
521506 
522507   MDRV_DEVICE_ADD(CONKORT_Z80DMA_TAG, Z80DMA)
523508   MDRV_DEVICE_CONFIG(dma_intf)
524   
525   MDRV_MACHINE_START(fast)
526509MACHINE_DRIVER_END
527510 
528511/* ROMs */
r3539r3540
580563   conkort->cpunum = mame_find_cpu_index(device->machine, astring_c(tempstring));
581564   astring_free(tempstring);
582565 
566   /* initialize FDC */
567 
568   wd17xx_init(device->machine, WD_TYPE_179X, slow_wd1791_callback, NULL); // FD1791-01
569 
583570   /* register for state saving */
584571 
585572   state_save_combine_module_and_tag(unique_tag, "conkort", device->tag);
r3539r3540
646633   conkort->cpunum = mame_find_cpu_index(device->machine, astring_c(tempstring));
647634   astring_free(tempstring);
648635 
636   /* initialize FDC */
637 
638   wd17xx_init(device->machine, WD_TYPE_1793, fast_wd1793_callback, NULL); // FD1793-01
639 
649640   /* register for state saving */
650641 
651642   state_save_combine_module_and_tag(unique_tag, "conkort", device->tag);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team