| Previous | 15994 Revisions | Next |
| r5820 Sunday 20th September, 2009 at 18:40:41 UTC by Miodrag Milanović |
|---|
| Added "keep geometry" param to config, this fixes TI99_4a /geneve driver |
| [src/mess/devices] | flopdrv.c flopdrv.h |
| [src/mess/drivers] | abc80.c abc80x.c adam.c amstrad.c apf.c apple2.c apple2gs.c apple3.c aquarius.c at.c atarist.c atom.c b2m.c bbc.c bebox.c bw12.c bw2.c cgenie.c coco.c compis.c comx35.c concept.c dgn_beta.c einstein.c elwro800.c enterp.c exidy.c fm7.c geneve.c kaypro.c kc.c lisa.c mac.c mbee.c mikromik.c msx.c nanos.c nascom1.c nc.c newbrain.c oric.c orion.c osborne1.c osi.c partner.c pc.c pc8801.c pcw.c pcw16.c pk8020.c prof80.c pyl601.c ql.c samcoupe.c sg1000.c sord.c special.c specpls3.c svi318.c thomson.c ti990_4.c ti99_4p.c ti99_4x.c ti99_8.c tiki100.c tmc2000e.c tmc600.c trs80.c v1050.c vector06.c x1.c x68k.c xerox820.c xor100.c z80ne.c |
| [src/mess/machine] | beta.c |
| r5819 | r5820 | |
|---|---|---|
| 214 | 214 | static const floppy_config beta_floppy_config = |
| 215 | 215 | { |
| 216 | 216 | FLOPPY_DRIVE_DS_80, |
| 217 | FLOPPY_OPTIONS_NAME(trd) | |
| 217 | FLOPPY_OPTIONS_NAME(trd), | |
| 218 | DO_NOT_KEEP_GEOMETRY | |
| 218 | 219 | }; |
| 219 | 220 | |
| 220 | 221 | static MACHINE_DRIVER_START( beta_disk ) |
| r5819 | r5820 | |
|---|---|---|
| 759 | 759 | if (err) |
| 760 | 760 | goto error; |
| 761 | 761 | } |
| 762 | if (floppy_callbacks(flopimg->floppy)->get_heads_per_disk && floppy_callbacks(flopimg->floppy)->get_tracks_per_disk) | |
| 762 | if (((floppy_config*)image->static_config)->keep_drive_geometry==DO_NOT_KEEP_GEOMETRY && floppy_callbacks(flopimg->floppy)->get_heads_per_disk && floppy_callbacks(flopimg->floppy)->get_tracks_per_disk) | |
| 763 | 763 | { |
| 764 | 764 | floppy_drive_set_geometry_absolute(image, |
| 765 | 765 | floppy_get_tracks_per_disk(flopimg->floppy), |
| r5819 | r5820 | |
|---|---|---|
| 22 | 22 | FLOPPY_DRIVE_DS_80 |
| 23 | 23 | } floppy_type; |
| 24 | 24 | |
| 25 | typedef enum | |
| 26 | { | |
| 27 | DO_NOT_KEEP_GEOMETRY=0, | |
| 28 | KEEP_GEOMETRY | |
| 29 | } keep_geometry; | |
| 30 | ||
| 25 | 31 | typedef struct floppy_config_t floppy_config; |
| 26 | 32 | struct floppy_config_t |
| 27 | 33 | { |
| 28 | 34 | floppy_type floppy_type; |
| 29 | 35 | const struct FloppyFormat *formats; |
| 36 | keep_geometry keep_drive_geometry; | |
| 30 | 37 | }; |
| 31 | 38 | |
| 32 | 39 | typedef enum |
| r5819 | r5820 | |
| 109 | 116 | |
| 110 | 117 | void floppy_drive_set_controller(const device_config *img, const device_config *controller); |
| 111 | 118 | |
| 112 | enum | |
| 113 | { | |
| 114 | MESS_DEVINFO_PTR_FLOPPY_OPTIONS = MESS_DEVINFO_PTR_DEV_SPECIFIC, | |
| 115 | MESS_DEVINFO_INT_KEEP_DRIVE_GEOMETRY = MESS_DEVINFO_INT_DEV_SPECIFIC | |
| 116 | }; | |
| 117 | ||
| 118 | 119 | floppy_image *flopimg_get_image(const device_config *image); |
| 119 | 120 | |
| 120 | 121 | /* hack for apple II; replace this when we think of something better */ |
| r5819 | r5820 | |
|---|---|---|
| 287 | 287 | static const floppy_config dgnbeta_floppy_config = |
| 288 | 288 | { |
| 289 | 289 | FLOPPY_DRIVE_DS_80, |
| 290 | FLOPPY_OPTIONS_NAME(coco) | |
| 290 | FLOPPY_OPTIONS_NAME(coco), | |
| 291 | DO_NOT_KEEP_GEOMETRY | |
| 291 | 292 | }; |
| 292 | 293 | |
| 293 | 294 | static MACHINE_DRIVER_START( dgnbeta ) |
| r5819 | r5820 | |
|---|---|---|
| 66 | 66 | static const floppy_config apple3_floppy_config = |
| 67 | 67 | { |
| 68 | 68 | FLOPPY_DRIVE_DS_80, |
| 69 | FLOPPY_OPTIONS_NAME(apple2) | |
| 69 | FLOPPY_OPTIONS_NAME(apple2), | |
| 70 | DO_NOT_KEEP_GEOMETRY | |
| 70 | 71 | }; |
| 71 | 72 | |
| 72 | 73 | static MACHINE_DRIVER_START( apple3 ) |
| r5819 | r5820 | |
|---|---|---|
| 628 | 628 | static const floppy_config adam_floppy_config = |
| 629 | 629 | { |
| 630 | 630 | FLOPPY_DRIVE_DS_80, |
| 631 | FLOPPY_OPTIONS_NAME(adam) | |
| 631 | FLOPPY_OPTIONS_NAME(adam), | |
| 632 | DO_NOT_KEEP_GEOMETRY | |
| 632 | 633 | }; |
| 633 | 634 | |
| 634 | 635 | static MACHINE_DRIVER_START( adam ) |
| r5819 | r5820 | |
|---|---|---|
| 361 | 361 | static const floppy_config mbee_floppy_config = |
| 362 | 362 | { |
| 363 | 363 | FLOPPY_DRIVE_DS_80, |
| 364 | FLOPPY_OPTIONS_NAME(mbee) | |
| 364 | FLOPPY_OPTIONS_NAME(mbee), | |
| 365 | DO_NOT_KEEP_GEOMETRY | |
| 365 | 366 | }; |
| 366 | 367 | |
| 367 | 368 | static MACHINE_DRIVER_START( mbee ) |
| r5819 | r5820 | |
|---|---|---|
| 767 | 767 | static const floppy_config coco_floppy_config = |
| 768 | 768 | { |
| 769 | 769 | FLOPPY_DRIVE_DS_80, |
| 770 | FLOPPY_OPTIONS_NAME(coco) | |
| 770 | FLOPPY_OPTIONS_NAME(coco), | |
| 771 | DO_NOT_KEEP_GEOMETRY | |
| 771 | 772 | }; |
| 772 | 773 | |
| 773 | 774 | static MACHINE_DRIVER_START( dragon32 ) |
| r5819 | r5820 | |
|---|---|---|
| 429 | 429 | static const floppy_config ti99_8_floppy_config = |
| 430 | 430 | { |
| 431 | 431 | FLOPPY_DRIVE_DS_80, |
| 432 | FLOPPY_OPTIONS_NAME(ti99) | |
| 432 | FLOPPY_OPTIONS_NAME(ti99), | |
| 433 | DO_NOT_KEEP_GEOMETRY | |
| 433 | 434 | }; |
| 434 | 435 | |
| 435 | 436 | static MACHINE_DRIVER_START(ti99_8_60hz) |
| r5819 | r5820 | |
|---|---|---|
| 2035 | 2035 | static const floppy_config x1_floppy_config = |
| 2036 | 2036 | { |
| 2037 | 2037 | FLOPPY_DRIVE_DS_80, |
| 2038 | FLOPPY_OPTIONS_NAME(x1) | |
| 2038 | FLOPPY_OPTIONS_NAME(x1), | |
| 2039 | DO_NOT_KEEP_GEOMETRY | |
| 2039 | 2040 | }; |
| 2040 | 2041 | |
| 2041 | 2042 | static MACHINE_DRIVER_START( x1 ) |
| r5819 | r5820 | |
|---|---|---|
| 329 | 329 | static const floppy_config xor100_floppy_config = |
| 330 | 330 | { |
| 331 | 331 | FLOPPY_DRIVE_DS_80, |
| 332 | FLOPPY_OPTIONS_NAME(xor100) | |
| 332 | FLOPPY_OPTIONS_NAME(xor100), | |
| 333 | DO_NOT_KEEP_GEOMETRY | |
| 333 | 334 | }; |
| 334 | 335 | |
| 335 | 336 | static MACHINE_DRIVER_START( xor100 ) |
| r5819 | r5820 | |
|---|---|---|
| 319 | 319 | static const floppy_config tmc600_floppy_config = |
| 320 | 320 | { |
| 321 | 321 | FLOPPY_DRIVE_DS_80, |
| 322 | FLOPPY_OPTIONS_NAME(tmc600) | |
| 322 | FLOPPY_OPTIONS_NAME(tmc600), | |
| 323 | DO_NOT_KEEP_GEOMETRY | |
| 323 | 324 | }; |
| 324 | 325 | |
| 325 | 326 | static MACHINE_DRIVER_START( tmc600 ) |
| r5819 | r5820 | |
|---|---|---|
| 187 | 187 | static const floppy_config b2m_floppy_config = |
| 188 | 188 | { |
| 189 | 189 | FLOPPY_DRIVE_DS_80, |
| 190 | FLOPPY_OPTIONS_NAME(b2m) | |
| 190 | FLOPPY_OPTIONS_NAME(b2m), | |
| 191 | DO_NOT_KEEP_GEOMETRY | |
| 191 | 192 | }; |
| 192 | 193 | |
| 193 | 194 | /* Machine driver */ |
| r5819 | r5820 | |
|---|---|---|
| 638 | 638 | static const floppy_config thomson_floppy_config = |
| 639 | 639 | { |
| 640 | 640 | FLOPPY_DRIVE_DS_80, |
| 641 | FLOPPY_OPTIONS_NAME(thomson) | |
| 641 | FLOPPY_OPTIONS_NAME(thomson), | |
| 642 | DO_NOT_KEEP_GEOMETRY | |
| 642 | 643 | }; |
| 643 | 644 | |
| 644 | 645 | /* ------------ config ------------ */ |
| r5819 | r5820 | |
|---|---|---|
| 507 | 507 | static const floppy_config abc80_floppy_config = |
| 508 | 508 | { |
| 509 | 509 | FLOPPY_DRIVE_DS_80, |
| 510 | FLOPPY_OPTIONS_NAME(abc80) | |
| 510 | FLOPPY_OPTIONS_NAME(abc80), | |
| 511 | DO_NOT_KEEP_GEOMETRY | |
| 511 | 512 | }; |
| 512 | 513 | |
| 513 | 514 | /* Machine Drivers */ |
| r5819 | r5820 | |
|---|---|---|
| 1795 | 1795 | static const floppy_config atarist_floppy_config = |
| 1796 | 1796 | { |
| 1797 | 1797 | FLOPPY_DRIVE_DS_80, |
| 1798 | FLOPPY_OPTIONS_NAME(atarist) | |
| 1798 | FLOPPY_OPTIONS_NAME(atarist), | |
| 1799 | DO_NOT_KEEP_GEOMETRY | |
| 1799 | 1800 | }; |
| 1800 | 1801 | |
| 1801 | 1802 | static MACHINE_DRIVER_START( atarist_cartslot ) |
| r5819 | r5820 | |
|---|---|---|
| 920 | 920 | static const floppy_config sf7000_floppy_config = |
| 921 | 921 | { |
| 922 | 922 | FLOPPY_DRIVE_DS_80, |
| 923 | FLOPPY_OPTIONS_NAME(sf7000) | |
| 923 | FLOPPY_OPTIONS_NAME(sf7000), | |
| 924 | DO_NOT_KEEP_GEOMETRY | |
| 924 | 925 | }; |
| 925 | 926 | |
| 926 | 927 | static MACHINE_DRIVER_START( sf7000 ) |
| r5819 | r5820 | |
|---|---|---|
| 480 | 480 | static const floppy_config mm1_floppy_config = |
| 481 | 481 | { |
| 482 | 482 | FLOPPY_DRIVE_DS_80, |
| 483 | FLOPPY_OPTIONS_NAME(mm1) | |
| 483 | FLOPPY_OPTIONS_NAME(mm1), | |
| 484 | DO_NOT_KEEP_GEOMETRY | |
| 484 | 485 | }; |
| 485 | 486 | |
| 486 | 487 | /* Machine Drivers */ |
| r5819 | r5820 | |
|---|---|---|
| 978 | 978 | static const floppy_config pcw_floppy_config = |
| 979 | 979 | { |
| 980 | 980 | FLOPPY_DRIVE_DS_80, |
| 981 | FLOPPY_OPTIONS_NAME(default) | |
| 981 | FLOPPY_OPTIONS_NAME(default), | |
| 982 | DO_NOT_KEEP_GEOMETRY | |
| 982 | 983 | }; |
| 983 | 984 | |
| 984 | 985 | /* PCW8256, PCW8512, PCW9256 */ |
| r5819 | r5820 | |
|---|---|---|
| 745 | 745 | static const floppy_config osi_floppy_config = |
| 746 | 746 | { |
| 747 | 747 | FLOPPY_DRIVE_SS_40, |
| 748 | FLOPPY_OPTIONS_NAME(osi) | |
| 748 | FLOPPY_OPTIONS_NAME(osi), | |
| 749 | DO_NOT_KEEP_GEOMETRY | |
| 749 | 750 | }; |
| 750 | 751 | |
| 751 | 752 | /* Machine Drivers */ |
| r5819 | r5820 | |
|---|---|---|
| 363 | 363 | static const floppy_config oric1_floppy_config = |
| 364 | 364 | { |
| 365 | 365 | FLOPPY_DRIVE_DS_80, |
| 366 | FLOPPY_OPTIONS_NAME(oric) | |
| 366 | FLOPPY_OPTIONS_NAME(oric), | |
| 367 | DO_NOT_KEEP_GEOMETRY | |
| 367 | 368 | }; |
| 368 | 369 | |
| 369 | 370 | static const floppy_config prav8d_floppy_config = |
| 370 | 371 | { |
| 371 | 372 | FLOPPY_DRIVE_DS_80, |
| 372 | FLOPPY_OPTIONS_NAME(apple2) | |
| 373 | FLOPPY_OPTIONS_NAME(apple2), | |
| 374 | DO_NOT_KEEP_GEOMETRY | |
| 373 | 375 | }; |
| 374 | 376 | |
| 375 | 377 | static MACHINE_DRIVER_START( oric ) |
| r5819 | r5820 | |
|---|---|---|
| 432 | 432 | static const floppy_config ibmat_floppy_config = |
| 433 | 433 | { |
| 434 | 434 | FLOPPY_DRIVE_DS_80, |
| 435 | FLOPPY_OPTIONS_NAME(pc) | |
| 435 | FLOPPY_OPTIONS_NAME(pc), | |
| 436 | DO_NOT_KEEP_GEOMETRY | |
| 436 | 437 | }; |
| 437 | 438 | |
| 438 | 439 | static MACHINE_DRIVER_START( ibm5170 ) |
| r5819 | r5820 | |
|---|---|---|
| 147 | 147 | static const floppy_config vector_floppy_config = |
| 148 | 148 | { |
| 149 | 149 | FLOPPY_DRIVE_DS_80, |
| 150 | FLOPPY_OPTIONS_NAME(vector) | |
| 150 | FLOPPY_OPTIONS_NAME(vector), | |
| 151 | DO_NOT_KEEP_GEOMETRY | |
| 151 | 152 | }; |
| 152 | 153 | |
| 153 | 154 | /* Machine driver */ |
| r5819 | r5820 | |
|---|---|---|
| 1184 | 1184 | static const floppy_config v1050_floppy_config = |
| 1185 | 1185 | { |
| 1186 | 1186 | FLOPPY_DRIVE_DS_80, |
| 1187 | FLOPPY_OPTIONS_NAME(v1050) | |
| 1187 | FLOPPY_OPTIONS_NAME(v1050), | |
| 1188 | DO_NOT_KEEP_GEOMETRY | |
| 1188 | 1189 | }; |
| 1189 | 1190 | |
| 1190 | 1191 | /* Machine Driver */ |
| r5819 | r5820 | |
|---|---|---|
| 647 | 647 | static const floppy_config ql_floppy_config = |
| 648 | 648 | { |
| 649 | 649 | FLOPPY_DRIVE_DS_80, |
| 650 | FLOPPY_OPTIONS_NAME(ql) | |
| 650 | FLOPPY_OPTIONS_NAME(ql), | |
| 651 | DO_NOT_KEEP_GEOMETRY | |
| 651 | 652 | }; |
| 652 | 653 | |
| 653 | 654 | static MACHINE_DRIVER_START( ql ) |
| r5819 | r5820 | |
|---|---|---|
| 1173 | 1173 | static const floppy_config abc800_floppy_config = |
| 1174 | 1174 | { |
| 1175 | 1175 | FLOPPY_DRIVE_DS_80, |
| 1176 | FLOPPY_OPTIONS_NAME(abc80) | |
| 1176 | FLOPPY_OPTIONS_NAME(abc80), | |
| 1177 | DO_NOT_KEEP_GEOMETRY | |
| 1177 | 1178 | }; |
| 1178 | 1179 | |
| 1179 | 1180 | static MACHINE_DRIVER_START( abc800m ) |
| r5819 | r5820 | |
|---|---|---|
| 103 | 103 | static const floppy_config orion_floppy_config = |
| 104 | 104 | { |
| 105 | 105 | FLOPPY_DRIVE_DS_80, |
| 106 | FLOPPY_OPTIONS_NAME(orion) | |
| 106 | FLOPPY_OPTIONS_NAME(orion), | |
| 107 | DO_NOT_KEEP_GEOMETRY | |
| 107 | 108 | }; |
| 108 | 109 | |
| 109 | 110 | /* Machine driver */ |
| r5819 | r5820 | |
|---|---|---|
| 324 | 324 | static const floppy_config nascom2_floppy_config = |
| 325 | 325 | { |
| 326 | 326 | FLOPPY_DRIVE_DS_80, |
| 327 | FLOPPY_OPTIONS_NAME(nascom2) | |
| 327 | FLOPPY_OPTIONS_NAME(nascom2), | |
| 328 | DO_NOT_KEEP_GEOMETRY | |
| 328 | 329 | }; |
| 329 | 330 | |
| 330 | 331 | static MACHINE_DRIVER_START( nascom2 ) |
| r5819 | r5820 | |
|---|---|---|
| 1517 | 1517 | static const floppy_config newbrain_floppy_config = |
| 1518 | 1518 | { |
| 1519 | 1519 | FLOPPY_DRIVE_DS_80, |
| 1520 | FLOPPY_OPTIONS_NAME(newbrain) | |
| 1520 | FLOPPY_OPTIONS_NAME(newbrain), | |
| 1521 | DO_NOT_KEEP_GEOMETRY | |
| 1521 | 1522 | }; |
| 1522 | 1523 | |
| 1523 | 1524 | static MACHINE_DRIVER_START( newbrain_eim ) |
| r5819 | r5820 | |
|---|---|---|
| 851 | 851 | static const floppy_config einstein_floppy_config = |
| 852 | 852 | { |
| 853 | 853 | FLOPPY_DRIVE_SS_40, |
| 854 | FLOPPY_OPTIONS_NAME(default) | |
| 854 | FLOPPY_OPTIONS_NAME(default), | |
| 855 | DO_NOT_KEEP_GEOMETRY | |
| 855 | 856 | }; |
| 856 | 857 | |
| 857 | 858 | static MACHINE_DRIVER_START( einstein ) |
| r5819 | r5820 | |
|---|---|---|
| 210 | 210 | static const floppy_config osborne1_floppy_config = |
| 211 | 211 | { |
| 212 | 212 | FLOPPY_DRIVE_SS_40, |
| 213 | FLOPPY_OPTIONS_NAME(osborne1) | |
| 213 | FLOPPY_OPTIONS_NAME(osborne1), | |
| 214 | DO_NOT_KEEP_GEOMETRY | |
| 214 | 215 | }; |
| 215 | 216 | |
| 216 | 217 | static MACHINE_DRIVER_START( osborne1 ) |
| r5819 | r5820 | |
|---|---|---|
| 839 | 839 | static const floppy_config cpc6128_floppy_config = |
| 840 | 840 | { |
| 841 | 841 | FLOPPY_DRIVE_SS_40, |
| 842 | FLOPPY_OPTIONS_NAME(default) | |
| 842 | FLOPPY_OPTIONS_NAME(default), | |
| 843 | DO_NOT_KEEP_GEOMETRY | |
| 843 | 844 | }; |
| 844 | 845 | |
| 845 | 846 | static const floppy_config aleste_floppy_config = |
| 846 | 847 | { |
| 847 | 848 | FLOPPY_DRIVE_SS_40, |
| 848 | FLOPPY_OPTIONS_NAME(msx) | |
| 849 | FLOPPY_OPTIONS_NAME(msx), | |
| 850 | DO_NOT_KEEP_GEOMETRY | |
| 849 | 851 | }; |
| 850 | 852 | |
| 851 | 853 | static MACHINE_DRIVER_START( cpcplus_cartslot ) |
| r5819 | r5820 | |
|---|---|---|
| 552 | 552 | static const floppy_config samcoupe_floppy_config = |
| 553 | 553 | { |
| 554 | 554 | FLOPPY_DRIVE_DS_80, |
| 555 | FLOPPY_OPTIONS_NAME(samcoupe) | |
| 555 | FLOPPY_OPTIONS_NAME(samcoupe), | |
| 556 | DO_NOT_KEEP_GEOMETRY | |
| 556 | 557 | }; |
| 557 | 558 | |
| 558 | 559 | static MACHINE_DRIVER_START( samcoupe ) |
| r5819 | r5820 | |
|---|---|---|
| 365 | 365 | static const floppy_config comx35_floppy_config = |
| 366 | 366 | { |
| 367 | 367 | FLOPPY_DRIVE_DS_80, |
| 368 | FLOPPY_OPTIONS_NAME(comx35) | |
| 368 | FLOPPY_OPTIONS_NAME(comx35), | |
| 369 | DO_NOT_KEEP_GEOMETRY | |
| 369 | 370 | }; |
| 370 | 371 | |
| 371 | 372 | static MACHINE_DRIVER_START( comx35_pal ) |
| r5819 | r5820 | |
|---|---|---|
| 415 | 415 | static const floppy_config trs80_floppy_config = |
| 416 | 416 | { |
| 417 | 417 | FLOPPY_DRIVE_DS_80, |
| 418 | FLOPPY_OPTIONS_NAME(trs80) | |
| 418 | FLOPPY_OPTIONS_NAME(trs80), | |
| 419 | DO_NOT_KEEP_GEOMETRY | |
| 419 | 420 | }; |
| 420 | 421 | |
| 421 | 422 | static MACHINE_DRIVER_START( trs80 ) // the original model I, level I, with no extras |
| r5819 | r5820 | |
|---|---|---|
| 653 | 653 | static const floppy_config tiki100_floppy_config = |
| 654 | 654 | { |
| 655 | 655 | FLOPPY_DRIVE_DS_80, |
| 656 | FLOPPY_OPTIONS_NAME(tiki100) | |
| 656 | FLOPPY_OPTIONS_NAME(tiki100), | |
| 657 | DO_NOT_KEEP_GEOMETRY | |
| 657 | 658 | }; |
| 658 | 659 | |
| 659 | 660 | /* Machine Driver */ |
| r5819 | r5820 | |
|---|---|---|
| 274 | 274 | static const floppy_config svi318_floppy_config = |
| 275 | 275 | { |
| 276 | 276 | FLOPPY_DRIVE_DS_80, |
| 277 | FLOPPY_OPTIONS_NAME(svi318) | |
| 277 | FLOPPY_OPTIONS_NAME(svi318), | |
| 278 | DO_NOT_KEEP_GEOMETRY | |
| 278 | 279 | }; |
| 279 | 280 | |
| 280 | 281 | static MACHINE_DRIVER_START( svi318_cartslot ) |
| r5819 | r5820 | |
|---|---|---|
| 446 | 446 | static const floppy_config nanos_floppy_config = |
| 447 | 447 | { |
| 448 | 448 | FLOPPY_DRIVE_DS_80, |
| 449 | FLOPPY_OPTIONS_NAME(nanos) | |
| 449 | FLOPPY_OPTIONS_NAME(nanos), | |
| 450 | DO_NOT_KEEP_GEOMETRY | |
| 450 | 451 | }; |
| 451 | 452 | |
| 452 | 453 | static MACHINE_DRIVER_START( nanos ) |
| r5819 | r5820 | |
|---|---|---|
| 1846 | 1846 | static const floppy_config fm7_floppy_config = |
| 1847 | 1847 | { |
| 1848 | 1848 | FLOPPY_DRIVE_DS_80, |
| 1849 | FLOPPY_OPTIONS_NAME(default) | |
| 1849 | FLOPPY_OPTIONS_NAME(default), | |
| 1850 | DO_NOT_KEEP_GEOMETRY | |
| 1850 | 1851 | }; |
| 1851 | 1852 | |
| 1852 | 1853 | static MACHINE_DRIVER_START( fm7 ) |
| r5819 | r5820 | |
|---|---|---|
| 251 | 251 | static const floppy_config compis_floppy_config = |
| 252 | 252 | { |
| 253 | 253 | FLOPPY_DRIVE_DS_80, |
| 254 | FLOPPY_OPTIONS_NAME(compis) | |
| 254 | FLOPPY_OPTIONS_NAME(compis), | |
| 255 | DO_NOT_KEEP_GEOMETRY | |
| 255 | 256 | }; |
| 256 | 257 | |
| 257 | 258 | static MACHINE_DRIVER_START( compis ) |
| r5819 | r5820 | |
|---|---|---|
| 415 | 415 | static const floppy_config z80netf_floppy_config = |
| 416 | 416 | { |
| 417 | 417 | FLOPPY_DRIVE_DS_80, |
| 418 | FLOPPY_OPTIONS_NAME(z80ne) | |
| 418 | FLOPPY_OPTIONS_NAME(z80ne), | |
| 419 | DO_NOT_KEEP_GEOMETRY | |
| 419 | 420 | }; |
| 420 | 421 | |
| 421 | 422 | static MACHINE_DRIVER_START( z80ne ) |
| r5819 | r5820 | |
|---|---|---|
| 193 | 193 | static const floppy_config apple2gs_floppy35_floppy_config = |
| 194 | 194 | { |
| 195 | 195 | FLOPPY_DRIVE_DS_80, |
| 196 | FLOPPY_OPTIONS_NAME(apple35_iigs) | |
| 196 | FLOPPY_OPTIONS_NAME(apple35_iigs), | |
| 197 | DO_NOT_KEEP_GEOMETRY | |
| 197 | 198 | }; |
| 198 | 199 | |
| 199 | 200 | static const floppy_config apple2gs_floppy525_floppy_config = |
| 200 | 201 | { |
| 201 | 202 | FLOPPY_DRIVE_DS_80, |
| 202 | FLOPPY_OPTIONS_NAME(apple2) | |
| 203 | FLOPPY_OPTIONS_NAME(apple2), | |
| 204 | DO_NOT_KEEP_GEOMETRY | |
| 203 | 205 | }; |
| 204 | 206 | |
| 205 | 207 | static MACHINE_DRIVER_START( apple2gs ) |
| r5819 | r5820 | |
|---|---|---|
| 138 | 138 | static const floppy_config mac128512_floppy_config = //SONY_FLOPPY_ALLOW400K |
| 139 | 139 | { |
| 140 | 140 | FLOPPY_DRIVE_DS_80, |
| 141 | FLOPPY_OPTIONS_NAME(apple35_mac) | |
| 141 | FLOPPY_OPTIONS_NAME(apple35_mac), | |
| 142 | DO_NOT_KEEP_GEOMETRY | |
| 142 | 143 | }; |
| 143 | 144 | |
| 144 | 145 | |
| 145 | 146 | static const floppy_config mac_floppy_config = //SONY_FLOPPY_ALLOW400K | SONY_FLOPPY_ALLOW800K |
| 146 | 147 | { |
| 147 | 148 | FLOPPY_DRIVE_DS_80, |
| 148 | FLOPPY_OPTIONS_NAME(apple35_mac) | |
| 149 | FLOPPY_OPTIONS_NAME(apple35_mac), | |
| 150 | DO_NOT_KEEP_GEOMETRY | |
| 149 | 151 | }; |
| 150 | 152 | |
| 151 | 153 | static MACHINE_DRIVER_START( mac512ke ) |
| r5819 | r5820 | |
|---|---|---|
| 1673 | 1673 | static const floppy_config nc200_floppy_config = |
| 1674 | 1674 | { |
| 1675 | 1675 | FLOPPY_DRIVE_DS_80, |
| 1676 | FLOPPY_OPTIONS_NAME(pc) | |
| 1676 | FLOPPY_OPTIONS_NAME(pc), | |
| 1677 | DO_NOT_KEEP_GEOMETRY | |
| 1677 | 1678 | }; |
| 1678 | 1679 | |
| 1679 | 1680 | static MACHINE_DRIVER_START( nc200 ) |
| r5819 | r5820 | |
|---|---|---|
| 572 | 572 | static const floppy_config sordm5_floppy_config = |
| 573 | 573 | { |
| 574 | 574 | FLOPPY_DRIVE_DS_80, |
| 575 | FLOPPY_OPTIONS_NAME(sordm5) | |
| 575 | FLOPPY_OPTIONS_NAME(sordm5), | |
| 576 | DO_NOT_KEEP_GEOMETRY | |
| 576 | 577 | }; |
| 577 | 578 | |
| 578 | 579 | static MACHINE_DRIVER_START( sord_m5_fd5 ) |
| r5819 | r5820 | |
|---|---|---|
| 754 | 754 | static const floppy_config bw12_floppy_config = |
| 755 | 755 | { |
| 756 | 756 | FLOPPY_DRIVE_DS_80, |
| 757 | FLOPPY_OPTIONS_NAME(bw12) | |
| 757 | FLOPPY_OPTIONS_NAME(bw12), | |
| 758 | DO_NOT_KEEP_GEOMETRY | |
| 758 | 759 | }; |
| 759 | 760 | |
| 760 | 761 | /* Machine Driver */ |
| r5819 | r5820 | |
|---|---|---|
| 109 | 109 | static const floppy_config concept_floppy_config = |
| 110 | 110 | { |
| 111 | 111 | FLOPPY_DRIVE_DS_80, |
| 112 | FLOPPY_OPTIONS_NAME(concept) | |
| 112 | FLOPPY_OPTIONS_NAME(concept), | |
| 113 | DO_NOT_KEEP_GEOMETRY | |
| 113 | 114 | }; |
| 114 | 115 | |
| 115 | 116 | /* concept machine */ |
| r5819 | r5820 | |
|---|---|---|
| 1385 | 1385 | static const floppy_config pcw16_floppy_config = |
| 1386 | 1386 | { |
| 1387 | 1387 | FLOPPY_DRIVE_DS_80, |
| 1388 | FLOPPY_OPTIONS_NAME(pc) | |
| 1388 | FLOPPY_OPTIONS_NAME(pc), | |
| 1389 | DO_NOT_KEEP_GEOMETRY | |
| 1389 | 1390 | }; |
| 1390 | 1391 | |
| 1391 | 1392 | static MACHINE_DRIVER_START( pcw16 ) |
| r5819 | r5820 | |
|---|---|---|
| 205 | 205 | static const floppy_config ti990_4_floppy_config = |
| 206 | 206 | { |
| 207 | 207 | FLOPPY_DRIVE_DS_80, |
| 208 | FLOPPY_OPTIONS_NAME(fd800) | |
| 208 | FLOPPY_OPTIONS_NAME(fd800), | |
| 209 | DO_NOT_KEEP_GEOMETRY | |
| 209 | 210 | }; |
| 210 | 211 | |
| 211 | 212 | static MACHINE_DRIVER_START(ti990_4) |
| r5819 | r5820 | |
|---|---|---|
| 1017 | 1017 | static const floppy_config msx_floppy_config = |
| 1018 | 1018 | { |
| 1019 | 1019 | FLOPPY_DRIVE_DS_80, |
| 1020 | FLOPPY_OPTIONS_NAME(msx) | |
| 1020 | FLOPPY_OPTIONS_NAME(msx), | |
| 1021 | DO_NOT_KEEP_GEOMETRY | |
| 1021 | 1022 | }; |
| 1022 | 1023 | |
| 1023 | 1024 | static MACHINE_DRIVER_START( msx_cartslot ) |
| r5819 | r5820 | |
|---|---|---|
| 1186 | 1186 | static const floppy_config prof80_floppy_config = |
| 1187 | 1187 | { |
| 1188 | 1188 | FLOPPY_DRIVE_DS_80, |
| 1189 | FLOPPY_OPTIONS_NAME(prof80) | |
| 1189 | FLOPPY_OPTIONS_NAME(prof80), | |
| 1190 | DO_NOT_KEEP_GEOMETRY | |
| 1190 | 1191 | }; |
| 1191 | 1192 | |
| 1192 | 1193 | /* Machine Drivers */ |
| r5819 | r5820 | |
|---|---|---|
| 98 | 98 | static const floppy_config lisa_floppy_config = |
| 99 | 99 | { |
| 100 | 100 | FLOPPY_DRIVE_DS_80, |
| 101 | FLOPPY_OPTIONS_NAME(apple35_mac) | |
| 101 | FLOPPY_OPTIONS_NAME(apple35_mac), | |
| 102 | DO_NOT_KEEP_GEOMETRY | |
| 102 | 103 | }; |
| 103 | 104 | |
| 104 | 105 | /*************************************************************************** |
| r5819 | r5820 | |
|---|---|---|
| 440 | 440 | static const floppy_config aquarius_floppy_config = |
| 441 | 441 | { |
| 442 | 442 | FLOPPY_DRIVE_DS_80, |
| 443 | FLOPPY_OPTIONS_NAME(aquarius) | |
| 443 | FLOPPY_OPTIONS_NAME(aquarius), | |
| 444 | DO_NOT_KEEP_GEOMETRY | |
| 444 | 445 | }; |
| 445 | 446 | |
| 446 | 447 | static MACHINE_DRIVER_START( aquarius_qd ) |
| r5819 | r5820 | |
|---|---|---|
| 412 | 412 | static const floppy_config cgenie_floppy_config = |
| 413 | 413 | { |
| 414 | 414 | FLOPPY_DRIVE_DS_80, |
| 415 | FLOPPY_OPTIONS_NAME(cgenie) | |
| 415 | FLOPPY_OPTIONS_NAME(cgenie), | |
| 416 | DO_NOT_KEEP_GEOMETRY | |
| 416 | 417 | }; |
| 417 | 418 | |
| 418 | 419 | static MACHINE_DRIVER_START( cgenie ) |
| r5819 | r5820 | |
|---|---|---|
| 365 | 365 | static const floppy_config specpls3_floppy_config = |
| 366 | 366 | { |
| 367 | 367 | FLOPPY_DRIVE_DS_80, |
| 368 | FLOPPY_OPTIONS_NAME(default) | |
| 368 | FLOPPY_OPTIONS_NAME(default), | |
| 369 | DO_NOT_KEEP_GEOMETRY | |
| 369 | 370 | }; |
| 370 | 371 | |
| 371 | 372 | static MACHINE_DRIVER_START( spectrum_plus3 ) |
| r5819 | r5820 | |
|---|---|---|
| 2269 | 2269 | static const floppy_config x68k_floppy_config = |
| 2270 | 2270 | { |
| 2271 | 2271 | FLOPPY_DRIVE_DS_80, |
| 2272 | FLOPPY_OPTIONS_NAME(x68k) | |
| 2272 | FLOPPY_OPTIONS_NAME(x68k), | |
| 2273 | DO_NOT_KEEP_GEOMETRY | |
| 2273 | 2274 | }; |
| 2274 | 2275 | |
| 2275 | 2276 | static MACHINE_RESET( x68000 ) |
| r5819 | r5820 | |
|---|---|---|
| 160 | 160 | static const floppy_config kayproii_floppy_config = |
| 161 | 161 | { |
| 162 | 162 | FLOPPY_DRIVE_DS_80, |
| 163 | FLOPPY_OPTIONS_NAME(kayproii) | |
| 163 | FLOPPY_OPTIONS_NAME(kayproii), | |
| 164 | DO_NOT_KEEP_GEOMETRY | |
| 164 | 165 | }; |
| 165 | 166 | static const floppy_config kaypro2x_floppy_config = |
| 166 | 167 | { |
| 167 | 168 | FLOPPY_DRIVE_DS_80, |
| 168 | FLOPPY_OPTIONS_NAME(kaypro2x) | |
| 169 | FLOPPY_OPTIONS_NAME(kaypro2x), | |
| 170 | DO_NOT_KEEP_GEOMETRY | |
| 169 | 171 | }; |
| 170 | 172 | |
| 171 | 173 | static MACHINE_DRIVER_START( kayproii ) |
| r5819 | r5820 | |
|---|---|---|
| 462 | 462 | static const floppy_config geneve_floppy_config = |
| 463 | 463 | { |
| 464 | 464 | FLOPPY_DRIVE_DS_80, |
| 465 | FLOPPY_OPTIONS_NAME(ti99) | |
| 465 | FLOPPY_OPTIONS_NAME(ti99), | |
| 466 | KEEP_GEOMETRY | |
| 466 | 467 | }; |
| 467 | 468 | |
| 468 | 469 | static MACHINE_DRIVER_START(geneve_60hz) |
| r5819 | r5820 | |
|---|---|---|
| 352 | 352 | static const floppy_config exidy_floppy_config = |
| 353 | 353 | { |
| 354 | 354 | FLOPPY_DRIVE_DS_80, |
| 355 | FLOPPY_OPTIONS_NAME(exidy) | |
| 355 | FLOPPY_OPTIONS_NAME(exidy), | |
| 356 | DO_NOT_KEEP_GEOMETRY | |
| 356 | 357 | }; |
| 357 | 358 | |
| 358 | 359 | static MACHINE_DRIVER_START( exidy ) |
| r5819 | r5820 | |
|---|---|---|
| 573 | 573 | static const floppy_config pc88_floppy_config = |
| 574 | 574 | { |
| 575 | 575 | FLOPPY_DRIVE_DS_80, |
| 576 | FLOPPY_OPTIONS_NAME(default) | |
| 576 | FLOPPY_OPTIONS_NAME(default), | |
| 577 | DO_NOT_KEEP_GEOMETRY | |
| 577 | 578 | }; |
| 578 | 579 | |
| 579 | 580 | static MACHINE_DRIVER_START( pc88srl ) |
| r5819 | r5820 | |
|---|---|---|
| 800 | 800 | static const floppy_config bw2_floppy_config = |
| 801 | 801 | { |
| 802 | 802 | FLOPPY_DRIVE_DS_80, |
| 803 | FLOPPY_OPTIONS_NAME(bw2) | |
| 803 | FLOPPY_OPTIONS_NAME(bw2), | |
| 804 | DO_NOT_KEEP_GEOMETRY | |
| 804 | 805 | }; |
| 805 | 806 | static const wd17xx_interface bw2_wd17xx_interface = { bw2_wd17xx_callback, NULL, {FLOPPY_0, FLOPPY_1, NULL, NULL}}; |
| 806 | 807 |
| r5819 | r5820 | |
|---|---|---|
| 427 | 427 | static const floppy_config enterprise_floppy_config = |
| 428 | 428 | { |
| 429 | 429 | FLOPPY_DRIVE_DS_80, |
| 430 | FLOPPY_OPTIONS_NAME(enterprise) | |
| 430 | FLOPPY_OPTIONS_NAME(enterprise), | |
| 431 | DO_NOT_KEEP_GEOMETRY | |
| 431 | 432 | }; |
| 432 | 433 | |
| 433 | 434 | static MACHINE_DRIVER_START( ep64 ) |
| r5819 | r5820 | |
|---|---|---|
| 268 | 268 | static const floppy_config atom_floppy_config = |
| 269 | 269 | { |
| 270 | 270 | FLOPPY_DRIVE_DS_80, |
| 271 | FLOPPY_OPTIONS_NAME(atom) | |
| 271 | FLOPPY_OPTIONS_NAME(atom), | |
| 272 | DO_NOT_KEEP_GEOMETRY | |
| 272 | 273 | }; |
| 273 | 274 | |
| 274 | 275 | /* machine definition */ |
| r5819 | r5820 | |
|---|---|---|
| 634 | 634 | static const floppy_config apfimag_floppy_config = |
| 635 | 635 | { |
| 636 | 636 | FLOPPY_DRIVE_SS_40, |
| 637 | FLOPPY_OPTIONS_NAME(apfimag) | |
| 637 | FLOPPY_OPTIONS_NAME(apfimag), | |
| 638 | DO_NOT_KEEP_GEOMETRY | |
| 638 | 639 | }; |
| 639 | 640 | |
| 640 | 641 | static MACHINE_DRIVER_START( apf_imagination ) |
| r5819 | r5820 | |
|---|---|---|
| 156 | 156 | static const floppy_config partner_floppy_config = |
| 157 | 157 | { |
| 158 | 158 | FLOPPY_DRIVE_DS_80, |
| 159 | FLOPPY_OPTIONS_NAME(partner) | |
| 159 | FLOPPY_OPTIONS_NAME(partner), | |
| 160 | DO_NOT_KEEP_GEOMETRY | |
| 160 | 161 | }; |
| 161 | 162 | |
| 162 | 163 | static MACHINE_DRIVER_START( partner ) |
| r5819 | r5820 | |
|---|---|---|
| 306 | 306 | static const floppy_config tmc2000e_floppy_config = |
| 307 | 307 | { |
| 308 | 308 | FLOPPY_DRIVE_DS_80, |
| 309 | FLOPPY_OPTIONS_NAME(tmc2000e) | |
| 309 | FLOPPY_OPTIONS_NAME(tmc2000e), | |
| 310 | DO_NOT_KEEP_GEOMETRY | |
| 310 | 311 | }; |
| 311 | 312 | |
| 312 | 313 | static MACHINE_DRIVER_START( tmc2000e ) |
| r5819 | r5820 | |
|---|---|---|
| 106 | 106 | static const floppy_config bebox_floppy_config = |
| 107 | 107 | { |
| 108 | 108 | FLOPPY_DRIVE_DS_80, |
| 109 | FLOPPY_OPTIONS_NAME(pc) | |
| 109 | FLOPPY_OPTIONS_NAME(pc), | |
| 110 | DO_NOT_KEEP_GEOMETRY | |
| 110 | 111 | }; |
| 111 | 112 | |
| 112 | 113 | static MACHINE_DRIVER_START( bebox ) |
| r5819 | r5820 | |
|---|---|---|
| 476 | 476 | static const floppy_config elwro800jr_floppy_config = |
| 477 | 477 | { |
| 478 | 478 | FLOPPY_DRIVE_SS_40, |
| 479 | FLOPPY_OPTIONS_NAME(default) | |
| 479 | FLOPPY_OPTIONS_NAME(default), | |
| 480 | DO_NOT_KEEP_GEOMETRY | |
| 480 | 481 | }; |
| 481 | 482 | |
| 482 | 483 | static MACHINE_DRIVER_START( elwro800 ) |
| r5819 | r5820 | |
|---|---|---|
| 407 | 407 | static const floppy_config specimx_floppy_config = |
| 408 | 408 | { |
| 409 | 409 | FLOPPY_DRIVE_DS_80, |
| 410 | FLOPPY_OPTIONS_NAME(specimx) | |
| 410 | FLOPPY_OPTIONS_NAME(specimx), | |
| 411 | DO_NOT_KEEP_GEOMETRY | |
| 411 | 412 | }; |
| 412 | 413 | |
| 413 | 414 | /* Machine driver */ |
| r5819 | r5820 | |
|---|---|---|
| 474 | 474 | static const floppy_config pyldin_floppy_config = |
| 475 | 475 | { |
| 476 | 476 | FLOPPY_DRIVE_DS_80, |
| 477 | FLOPPY_OPTIONS_NAME(pyldin) | |
| 477 | FLOPPY_OPTIONS_NAME(pyldin), | |
| 478 | DO_NOT_KEEP_GEOMETRY | |
| 478 | 479 | }; |
| 479 | 480 | |
| 480 | 481 | static MACHINE_DRIVER_START( pyl601 ) |
| r5819 | r5820 | |
|---|---|---|
| 578 | 578 | static const floppy_config apple2_floppy_config = |
| 579 | 579 | { |
| 580 | 580 | FLOPPY_DRIVE_DS_80, |
| 581 | FLOPPY_OPTIONS_NAME(apple2) | |
| 581 | FLOPPY_OPTIONS_NAME(apple2), | |
| 582 | DO_NOT_KEEP_GEOMETRY | |
| 582 | 583 | }; |
| 583 | 584 | |
| 584 | 585 | static MACHINE_DRIVER_START( apple2_common ) |
| r5819 | r5820 | |
|---|---|---|
| 698 | 698 | static const floppy_config xerox820_floppy_config = |
| 699 | 699 | { |
| 700 | 700 | FLOPPY_DRIVE_DS_80, |
| 701 | FLOPPY_OPTIONS_NAME(xerox820) | |
| 701 | FLOPPY_OPTIONS_NAME(xerox820), | |
| 702 | DO_NOT_KEEP_GEOMETRY | |
| 702 | 703 | }; |
| 703 | 704 | |
| 704 | 705 | /* Machine Drivers */ |
| r5819 | r5820 | |
|---|---|---|
| 234 | 234 | static const floppy_config ti99_4p_floppy_config = |
| 235 | 235 | { |
| 236 | 236 | FLOPPY_DRIVE_DS_80, |
| 237 | FLOPPY_OPTIONS_NAME(ti99) | |
| 237 | FLOPPY_OPTIONS_NAME(ti99), | |
| 238 | DO_NOT_KEEP_GEOMETRY | |
| 238 | 239 | }; |
| 239 | 240 | /* |
| 240 | 241 | machine description. |
| r5819 | r5820 | |
|---|---|---|
| 1373 | 1373 | static const floppy_config ibmpc_floppy_config = |
| 1374 | 1374 | { |
| 1375 | 1375 | FLOPPY_DRIVE_DS_80, |
| 1376 | FLOPPY_OPTIONS_NAME(pc) | |
| 1376 | FLOPPY_OPTIONS_NAME(pc), | |
| 1377 | DO_NOT_KEEP_GEOMETRY | |
| 1377 | 1378 | }; |
| 1378 | 1379 | |
| 1379 | 1380 |
| r5819 | r5820 | |
|---|---|---|
| 518 | 518 | static const floppy_config ti99_4_floppy_config = |
| 519 | 519 | { |
| 520 | 520 | FLOPPY_DRIVE_DS_80, |
| 521 | FLOPPY_OPTIONS_NAME(ti99) | |
| 521 | FLOPPY_OPTIONS_NAME(ti99), | |
| 522 | KEEP_GEOMETRY | |
| 522 | 523 | }; |
| 523 | 524 | |
| 524 | 525 | static MACHINE_DRIVER_START(ti99_4_60hz) |
| r5819 | r5820 | |
|---|---|---|
| 157 | 157 | static const floppy_config pk8020_floppy_config = |
| 158 | 158 | { |
| 159 | 159 | FLOPPY_DRIVE_DS_80, |
| 160 | FLOPPY_OPTIONS_NAME(pk8020) | |
| 160 | FLOPPY_OPTIONS_NAME(pk8020), | |
| 161 | DO_NOT_KEEP_GEOMETRY | |
| 161 | 162 | }; |
| 162 | 163 | |
| 163 | 164 | /* Machine driver */ |
| r5819 | r5820 | |
|---|---|---|
| 762 | 762 | static const floppy_config bbc_floppy_config = |
| 763 | 763 | { |
| 764 | 764 | FLOPPY_DRIVE_DS_80, |
| 765 | FLOPPY_OPTIONS_NAME(bbc) | |
| 765 | FLOPPY_OPTIONS_NAME(bbc), | |
| 766 | DO_NOT_KEEP_GEOMETRY | |
| 766 | 767 | }; |
| 767 | 768 | |
| 768 | 769 | static MACHINE_DRIVER_START( bbc_cartslot ) |
| r5819 | r5820 | |
|---|---|---|
| 355 | 355 | static const floppy_config kc85_floppy_config = |
| 356 | 356 | { |
| 357 | 357 | FLOPPY_DRIVE_DS_80, |
| 358 | FLOPPY_OPTIONS_NAME(kc85) | |
| 358 | FLOPPY_OPTIONS_NAME(kc85), | |
| 359 | DO_NOT_KEEP_GEOMETRY | |
| 359 | 360 | }; |
| 360 | 361 | |
| 361 | 362 |
| Previous | 15994 Revisions | Next |