src/mess/machine/svi318.c
| r2246 | r2247 | |
| 448 | 448 | return INIT_FAIL; |
| 449 | 449 | |
| 450 | 450 | basicdsk_set_geometry(image, 40, svi318_fdc.heads[id], 17, 256, 1, 0, FALSE); |
| 451 | | if (dsktype == 0) { |
| 452 | | basicdsk_set_calcoffset(image, svi318_calcoffset); |
| 453 | | } |
| 454 | 451 | |
| 452 | if (dsktype == 0) basicdsk_set_calcoffset(image, svi318_calcoffset); |
| 453 | |
| 455 | 454 | return INIT_PASS; |
| 456 | 455 | } |
| 457 | 456 | |
| r2246 | r2247 | |
| 623 | 622 | cpunum_set_info_ptr(0, CPUINFO_PTR_Z80_CYCLE_TABLE + z80_cycle_table[i], (void*)table); |
| 624 | 623 | } |
| 625 | 624 | |
| 626 | | /* floppy */ |
| 627 | | wd17xx_init(machine, WD_TYPE_179X, svi_fdc_callback, NULL); |
| 628 | | |
| 629 | 625 | /* serial */ |
| 630 | 626 | uart8250_init(0, svi318_uart8250_interface); |
| 631 | 627 | uart8250_init(1, svi318_uart8250_interface+1); |
| r2246 | r2247 | |
| 652 | 648 | MACHINE_START( svi318_ntsc ) |
| 653 | 649 | { |
| 654 | 650 | TMS9928A_configure(&svi318_tms9928a_interface); |
| 651 | wd17xx_init(machine, WD_TYPE_179X, svi_fdc_callback, NULL); |
| 655 | 652 | } |
| 656 | 653 | |
| 657 | 654 | MACHINE_START( svi318_pal ) |
| 658 | 655 | { |
| 659 | 656 | TMS9928A_configure(&svi318_tms9929a_interface); |
| 657 | wd17xx_init(machine, WD_TYPE_179X, svi_fdc_callback, NULL); |
| 660 | 658 | } |
| 661 | 659 | |
| 662 | 660 | MACHINE_RESET( svi318 ) |