src/mess/machine/99_dsk.c
| r1974 | r1975 | |
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | 26 | #include "driver.h" |
| 27 | | #include "deprecat.h" |
| 28 | 27 | #include "machine/wd17xx.h" |
| 29 | 28 | #include "smc92x4.h" |
| 30 | 29 | #include "ti99_4x.h" |
| r1974 | r1975 | |
| 396 | 395 | init state of the emulator. During the normal operation, only the |
| 397 | 396 | reset routines are used. |
| 398 | 397 | */ |
| 399 | | void ti99_floppy_controllers_init_all(void) |
| 398 | void ti99_floppy_controllers_init_all(running_machine *machine) |
| 400 | 399 | { |
| 401 | 400 | /* initialize the controller chip for TI FDC, CC, BwG */ |
| 402 | | wd17xx_init(Machine, WD_TYPE_179X, fdc_callback, NULL); |
| 401 | wd17xx_init(machine, WD_TYPE_179X, fdc_callback, NULL); |
| 403 | 402 | |
| 404 | 403 | /* initialize the controller chip for HFDC */ |
| 405 | 404 | smc92x4_init(0, & hfdc_intf); |
src/mess/machine/ti99_4x.c
| r1974 | r1975 | |
| 666 | 666 | |
| 667 | 667 | MACHINE_START( ti99_4_60hz ) |
| 668 | 668 | { |
| 669 | | ti99_common_init(&tms9918_interface); |
| 669 | ti99_common_init(machine, &tms9918_interface); |
| 670 | 670 | } |
| 671 | 671 | |
| 672 | 672 | static const TMS9928a_interface tms9929_interface = |
| r1974 | r1975 | |
| 679 | 679 | |
| 680 | 680 | MACHINE_START( ti99_4_50hz ) |
| 681 | 681 | { |
| 682 | | ti99_common_init(&tms9929_interface); |
| 682 | ti99_common_init(machine, &tms9929_interface); |
| 683 | 683 | } |
| 684 | 684 | |
| 685 | 685 | static const TMS9928a_interface tms9918a_interface = |
| r1974 | r1975 | |
| 692 | 692 | |
| 693 | 693 | MACHINE_START( ti99_4a_60hz ) |
| 694 | 694 | { |
| 695 | | ti99_common_init(&tms9918a_interface); |
| 695 | ti99_common_init(machine, &tms9918a_interface); |
| 696 | 696 | } |
| 697 | 697 | |
| 698 | 698 | static const TMS9928a_interface tms9929a_interface = |
| r1974 | r1975 | |
| 705 | 705 | |
| 706 | 706 | MACHINE_START( ti99_4a_50hz ) |
| 707 | 707 | { |
| 708 | | ti99_common_init(&tms9929a_interface); |
| 708 | ti99_common_init(machine, &tms9929a_interface); |
| 709 | 709 | } |
| 710 | 710 | |
| 711 | 711 | MACHINE_START( ti99_4ev_60hz) |
| 712 | 712 | { |
| 713 | 713 | /* has an own VDP, so skip initing the VDP */ |
| 714 | | ti99_common_init(0); |
| 714 | ti99_common_init(machine, 0); |
| 715 | 715 | } |
| 716 | 716 | |
| 717 | | void ti99_common_init(const TMS9928a_interface *gfxparm) |
| 717 | void ti99_common_init(running_machine *machine, const TMS9928a_interface *gfxparm) |
| 718 | 718 | { |
| 719 | 719 | if (ti99_model==model_99_8) { |
| 720 | 720 | tms9901_init(0, &tms9901reset_param_ti99_8); |
| r1974 | r1975 | |
| 728 | 728 | how the switches are set. Later we use the configuration switches to |
| 729 | 729 | determine which one to use. */ |
| 730 | 730 | ti99_peb_init(); |
| 731 | | ti99_floppy_controllers_init_all(); |
| 731 | ti99_floppy_controllers_init_all(machine); |
| 732 | 732 | ti99_ide_init(); |
| 733 | 733 | ti99_rs232_init(); |
| 734 | 734 | ti99_hsgpl_init(); |
src/mess/drivers/ti99_8.c
| r1974 | r1975 | |
| 370 | 370 | |
| 371 | 371 | static MACHINE_START(ti99_8_60hz) |
| 372 | 372 | { |
| 373 | | ti99_common_init(&tms9118_interface); |
| 373 | ti99_common_init(machine, &tms9118_interface); |
| 374 | 374 | } |
| 375 | 375 | |
| 376 | 376 | static const TMS9928a_interface tms9129_interface = |
| r1974 | r1975 | |
| 383 | 383 | |
| 384 | 384 | static MACHINE_START(ti99_8_50hz) |
| 385 | 385 | { |
| 386 | | ti99_common_init(&tms9129_interface); |
| 386 | ti99_common_init(machine, &tms9129_interface); |
| 387 | 387 | } |
| 388 | 388 | |
| 389 | 389 | static const struct tms9995reset_param ti99_8_processor_config = |