src/mess/devices/harddriv.c
| r2219 | r2220 | |
| 105 | 105 | |
| 106 | 106 | /************************************* |
| 107 | 107 | * |
| 108 | | * device_load_mess_hd() |
| 109 | | * device_create_mess_hd() |
| 108 | * DEVICE_IMAGE_LOAD_NAME(mess_hd) |
| 109 | * DEVICE_IMAGE_CREATE_NAME(mess_hd) |
| 110 | 110 | * |
| 111 | 111 | * Device load and create |
| 112 | 112 | * |
| r2219 | r2220 | |
| 204 | 204 | |
| 205 | 205 | /************************************* |
| 206 | 206 | * |
| 207 | | * device_unload_mess_hd() |
| 207 | * DEVICE_IMAGE_UNLOAD_NAME(mess_hd) |
| 208 | 208 | * |
| 209 | 209 | * Device unload |
| 210 | 210 | * |
| r2219 | r2220 | |
| 278 | 278 | |
| 279 | 279 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 280 | 280 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(mess_hd); break; |
| 281 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_mess_hd; break; |
| 282 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_mess_hd; break; |
| 281 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(mess_hd); break; |
| 282 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(mess_hd); break; |
| 283 | 283 | case MESS_DEVINFO_PTR_CREATE_OPTGUIDE: info->p = (void *) mess_hd_option_guide; break; |
| 284 | 284 | case MESS_DEVINFO_PTR_CREATE_OPTSPEC+0: info->p = (void *) mess_hd_option_spec; |
| 285 | 285 | |
src/mess/devices/chd_cd.c
| r2219 | r2220 | |
| 90 | 90 | |
| 91 | 91 | /************************************* |
| 92 | 92 | * |
| 93 | | * device_init_mess_cd() |
| 93 | * DEVICE_START_NAME(mess_cd) |
| 94 | 94 | * |
| 95 | 95 | * Device init |
| 96 | 96 | * |
| r2219 | r2220 | |
| 107 | 107 | |
| 108 | 108 | /************************************* |
| 109 | 109 | * |
| 110 | | * device_load_mess_cd() |
| 110 | * DEVICE_IMAGE_LOAD_NAME(mess_cd) |
| 111 | 111 | * |
| 112 | 112 | * Device load |
| 113 | 113 | * |
| r2219 | r2220 | |
| 154 | 154 | |
| 155 | 155 | /************************************* |
| 156 | 156 | * |
| 157 | | * device_unload_mess_cd() |
| 157 | * DEVICE_IMAGE_UNLOAD_NAME(mess_cd) |
| 158 | 158 | * |
| 159 | 159 | * Device unload |
| 160 | 160 | * |
| r2219 | r2220 | |
| 218 | 218 | |
| 219 | 219 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 220 | 220 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(mess_cd); break; |
| 221 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_mess_cd; break; |
| 222 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_mess_cd; break; |
| 221 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(mess_cd); break; |
| 222 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(mess_cd); break; |
| 223 | 223 | case MESS_DEVINFO_PTR_CREATE_OPTGUIDE: info->p = (void *) mess_cd_option_guide; break; |
| 224 | 224 | case MESS_DEVINFO_PTR_CREATE_OPTSPEC+0: info->p = (void *) mess_cd_option_spec; |
| 225 | 225 | |
src/mess/drivers/pdp1.c
| r2219 | r2220 | |
| 513 | 513 | |
| 514 | 514 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 515 | 515 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(pdp1_tape); break; |
| 516 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_pdp1_tape; break; |
| 517 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_pdp1_tape; break; |
| 516 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(pdp1_tape); break; |
| 517 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(pdp1_tape); break; |
| 518 | 518 | case MESS_DEVINFO_PTR_GET_DISPOSITIONS: info->getdispositions = pdp1_get_open_mode; break; |
| 519 | 519 | |
| 520 | 520 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| r2219 | r2220 | |
| 535 | 535 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 536 | 536 | |
| 537 | 537 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 538 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_pdp1_typewriter; break; |
| 539 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_pdp1_typewriter; break; |
| 538 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(pdp1_typewriter); break; |
| 539 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(pdp1_typewriter); break; |
| 540 | 540 | |
| 541 | 541 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 542 | 542 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "typ"); break; |
| r2219 | r2220 | |
| 556 | 556 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 557 | 557 | |
| 558 | 558 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 559 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_pdp1_drum; break; |
| 560 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_pdp1_drum; break; |
| 559 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(pdp1_drum); break; |
| 560 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(pdp1_drum); break; |
| 561 | 561 | |
| 562 | 562 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 563 | 563 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "drm"); break; |
src/mess/drivers/atari.c
| r2219 | r2220 | |
| 877 | 877 | case MESS_DEVINFO_INT_COUNT: info->i = 4; break; |
| 878 | 878 | |
| 879 | 879 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 880 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_a800_floppy; break; |
| 880 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(a800_floppy); break; |
| 881 | 881 | |
| 882 | 882 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 883 | 883 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "atr,dsk,xfd"); break; |
| r2219 | r2220 | |
| 897 | 897 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 898 | 898 | |
| 899 | 899 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 900 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_a800_cart; break; |
| 901 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_a800_cart; break; |
| 900 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(a800_cart); break; |
| 901 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(a800_cart); break; |
| 902 | 902 | |
| 903 | 903 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 904 | 904 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "rom,bin"); break; |
| r2219 | r2220 | |
| 922 | 922 | case MESS_DEVINFO_INT_COUNT: info->i = 2; break; |
| 923 | 923 | |
| 924 | 924 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 925 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_a800_cart; break; |
| 926 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_a800_cart; break; |
| 925 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(a800_cart); break; |
| 926 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(a800_cart); break; |
| 927 | 927 | |
| 928 | 928 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 929 | 929 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "rom,bin"); break; |
| r2219 | r2220 | |
| 947 | 947 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 948 | 948 | |
| 949 | 949 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 950 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_a5200_cart; break; |
| 951 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_a5200_cart; break; |
| 950 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(a5200_cart); break; |
| 951 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(a5200_cart); break; |
| 952 | 952 | |
| 953 | 953 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 954 | 954 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "rom,bin,a52"); break; |
src/mess/drivers/nc.c
| r2219 | r2220 | |
| 1748 | 1748 | |
| 1749 | 1749 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 1750 | 1750 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(nc_pcmcia_card); break; |
| 1751 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_nc_pcmcia_card; break; |
| 1752 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_nc_pcmcia_card; break; |
| 1751 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(nc_pcmcia_card); break; |
| 1752 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(nc_pcmcia_card); break; |
| 1753 | 1753 | |
| 1754 | 1754 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 1755 | 1755 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "crd,card"); break; |
| r2219 | r2220 | |
| 1772 | 1772 | |
| 1773 | 1773 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 1774 | 1774 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(serial_device); break; |
| 1775 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_nc_serial; break; |
| 1775 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(nc_serial); break; |
| 1776 | 1776 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = serial_device_unload; break; |
| 1777 | 1777 | |
| 1778 | 1778 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
src/mess/drivers/mbee.c
| r2219 | r2220 | |
| 542 | 542 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 543 | 543 | |
| 544 | 544 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 545 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_mbee_cart; break; |
| 545 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(mbee_cart); break; |
| 546 | 546 | |
| 547 | 547 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 548 | 548 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "rom"); break; |
| r2219 | r2220 | |
| 560 | 560 | case MESS_DEVINFO_INT_COUNT: info->i = 4; break; |
| 561 | 561 | |
| 562 | 562 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 563 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_basicdsk_floppy; break; |
| 563 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(basicdsk_floppy); break; |
| 564 | 564 | |
| 565 | 565 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 566 | 566 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |
src/mess/drivers/coco.c
| r2219 | r2220 | |
| 1026 | 1026 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 1027 | 1027 | |
| 1028 | 1028 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 1029 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_coco_rom; break; |
| 1030 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_coco_rom; break; |
| 1029 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(coco_rom); break; |
| 1030 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(coco_rom); break; |
| 1031 | 1031 | |
| 1032 | 1032 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 1033 | 1033 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "ccc,rom"); break; |
| r2219 | r2220 | |
| 1046 | 1046 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 1047 | 1047 | |
| 1048 | 1048 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 1049 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_coco3_rom; break; |
| 1050 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_coco3_rom; break; |
| 1049 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(coco3_rom); break; |
| 1050 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(coco3_rom); break; |
| 1051 | 1051 | |
| 1052 | 1052 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 1053 | 1053 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "ccc,rom"); break; |
src/mess/drivers/nes.c
| r2219 | r2220 | |
| 349 | 349 | case MESS_DEVINFO_INT_MUST_BE_LOADED: info->i = 1; break; |
| 350 | 350 | |
| 351 | 351 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 352 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_nes_cart; break; |
| 352 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(nes_cart); break; |
| 353 | 353 | case MESS_DEVINFO_PTR_PARTIAL_HASH: info->partialhash = nes_partialhash; break; |
| 354 | 354 | |
| 355 | 355 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| r2219 | r2220 | |
| 372 | 372 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 373 | 373 | |
| 374 | 374 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 375 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_nes_cart; break; |
| 375 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(nes_cart); break; |
| 376 | 376 | case MESS_DEVINFO_PTR_PARTIAL_HASH: info->partialhash = nes_partialhash; break; |
| 377 | 377 | |
| 378 | 378 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| r2219 | r2220 | |
| 396 | 396 | |
| 397 | 397 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 398 | 398 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(nes_disk); break; |
| 399 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_nes_disk; break; |
| 400 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_nes_disk; break; |
| 399 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(nes_disk); break; |
| 400 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(nes_disk); break; |
| 401 | 401 | |
| 402 | 402 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 403 | 403 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk,fds"); break; |
src/mess/drivers/ti99_8.c
| r2219 | r2220 | |
| 514 | 514 | case MESS_DEVINFO_INT_COUNT: info->i = 3; break; |
| 515 | 515 | |
| 516 | 516 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 517 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_cart; break; |
| 518 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_cart; break; |
| 517 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_cart); break; |
| 518 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_cart); break; |
| 519 | 519 | |
| 520 | 520 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 521 | 521 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "bin,c,d,g,m,crom,drom,grom,mrom"); break; |
| r2219 | r2220 | |
| 551 | 551 | |
| 552 | 552 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 553 | 553 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(mess_hd); break; |
| 554 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_hd; break; |
| 555 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_hd; break; |
| 554 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_hd); break; |
| 555 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_hd); break; |
| 556 | 556 | |
| 557 | 557 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 558 | 558 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "hd"); break; |
| r2219 | r2220 | |
| 573 | 573 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 574 | 574 | |
| 575 | 575 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 576 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_4_pio; break; |
| 577 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_4_pio; break; |
| 576 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_4_pio); break; |
| 577 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_4_pio); break; |
| 578 | 578 | |
| 579 | 579 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 580 | 580 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
| r2219 | r2220 | |
| 594 | 594 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 595 | 595 | |
| 596 | 596 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 597 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_4_rs232; break; |
| 598 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_4_rs232; break; |
| 597 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_4_rs232); break; |
| 598 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_4_rs232); break; |
| 599 | 599 | |
| 600 | 600 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 601 | 601 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
| r2219 | r2220 | |
| 617 | 617 | case MESS_DEVINFO_INT_RESET_ON_LOAD: info->i = 1; break; |
| 618 | 618 | |
| 619 | 619 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 620 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_hsgpl; break; |
| 621 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_hsgpl; break; |
| 620 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_hsgpl); break; |
| 621 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_hsgpl); break; |
| 622 | 622 | |
| 623 | 623 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 624 | 624 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
| r2219 | r2220 | |
| 640 | 640 | |
| 641 | 641 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 642 | 642 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(smartmedia); break; |
| 643 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_smartmedia; break; |
| 644 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_smartmedia; break; |
| 643 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(smartmedia); break; |
| 644 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(smartmedia); break; |
| 645 | 645 | |
| 646 | 646 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 647 | 647 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
src/mess/drivers/gb.c
| r2219 | r2220 | |
| 636 | 636 | |
| 637 | 637 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 638 | 638 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(gb_cart); break; |
| 639 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_gb_cart; break; |
| 639 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(gb_cart); break; |
| 640 | 640 | |
| 641 | 641 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 642 | 642 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "gb,gmb,cgb,gbc,sgb"); break; |
| r2219 | r2220 | |
| 711 | 711 | case MESS_DEVINFO_INT_MUST_BE_LOADED: info->i = 1; break; |
| 712 | 712 | |
| 713 | 713 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 714 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_megaduck_cart; break; |
| 714 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(megaduck_cart); break; |
| 715 | 715 | |
| 716 | 716 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 717 | 717 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "bin"); break; |
src/mess/drivers/msx.c
| r2219 | r2220 | |
| 2145 | 2145 | case MESS_DEVINFO_INT_COUNT: info->i = 2; break; |
| 2146 | 2146 | |
| 2147 | 2147 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 2148 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_msx_floppy; break; |
| 2148 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(msx_floppy); break; |
| 2149 | 2149 | |
| 2150 | 2150 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 2151 | 2151 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |
| r2219 | r2220 | |
| 2163 | 2163 | case MESS_DEVINFO_INT_COUNT: info->i = MSX_MAX_CARTS; break; |
| 2164 | 2164 | |
| 2165 | 2165 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 2166 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_msx_cart; break; |
| 2167 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_msx_cart; break; |
| 2166 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(msx_cart); break; |
| 2167 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(msx_cart); break; |
| 2168 | 2168 | |
| 2169 | 2169 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 2170 | 2170 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "mx1,rom"); break; |
src/mess/drivers/cgenie.c
| r2219 | r2220 | |
| 441 | 441 | case MESS_DEVINFO_INT_COUNT: info->i = 4; break; |
| 442 | 442 | |
| 443 | 443 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 444 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_cgenie_floppy; break; |
| 444 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(cgenie_floppy); break; |
| 445 | 445 | |
| 446 | 446 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 447 | 447 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |
| r2219 | r2220 | |
| 463 | 463 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 464 | 464 | |
| 465 | 465 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 466 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_cgenie_cassette; break; |
| 466 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(cgenie_cassette); break; |
| 467 | 467 | |
| 468 | 468 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 469 | 469 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "cas"); break; |
src/mess/drivers/apexc.c
| r2219 | r2220 | |
| 843 | 843 | case MESS_DEVINFO_INT_RESET_ON_LOAD: info->i = 1; break; |
| 844 | 844 | |
| 845 | 845 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 846 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_apexc_cylinder; break; |
| 847 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_apexc_cylinder; break; |
| 846 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(apexc_cylinder); break; |
| 847 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(apexc_cylinder); break; |
| 848 | 848 | |
| 849 | 849 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 850 | 850 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "apc"); break; |
| r2219 | r2220 | |
| 862 | 862 | |
| 863 | 863 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 864 | 864 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(apexc_tape); break; |
| 865 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_apexc_tape; break; |
| 865 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(apexc_tape); break; |
| 866 | 866 | case MESS_DEVINFO_PTR_GET_DISPOSITIONS: info->getdispositions = apexc_get_open_mode; break; |
| 867 | 867 | |
| 868 | 868 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
src/mess/drivers/atarist.c
| r2219 | r2220 | |
| 2067 | 2067 | case MESS_DEVINFO_INT_COUNT: info->i = 2; break; |
| 2068 | 2068 | |
| 2069 | 2069 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 2070 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_atarist_floppy; break; |
| 2070 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(atarist_floppy); break; |
| 2071 | 2071 | |
| 2072 | 2072 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 2073 | 2073 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "st"); break; |
| r2219 | r2220 | |
| 2118 | 2118 | |
| 2119 | 2119 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 2120 | 2120 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(serial_device); break; |
| 2121 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_atarist_serial; break; |
| 2121 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(atarist_serial); break; |
| 2122 | 2122 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = serial_device_unload; break; |
| 2123 | 2123 | |
| 2124 | 2124 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| r2219 | r2220 | |
| 2137 | 2137 | |
| 2138 | 2138 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 2139 | 2139 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(serial_device); break; |
| 2140 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_atarist_serial; break; |
| 2140 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(atarist_serial); break; |
| 2141 | 2141 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = serial_device_unload; break; |
| 2142 | 2142 | |
| 2143 | 2143 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| r2219 | r2220 | |
| 2171 | 2171 | info->i = 1; |
| 2172 | 2172 | break; |
| 2173 | 2173 | case MESS_DEVINFO_PTR_LOAD: |
| 2174 | | info->load = device_load_atarist_cart; |
| 2174 | info->load = DEVICE_IMAGE_LOAD_NAME(atarist_cart); |
| 2175 | 2175 | break; |
| 2176 | 2176 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: |
| 2177 | 2177 | strcpy(info->s = device_temp_str(), "stc"); |
src/mess/drivers/geneve.c
| r2219 | r2220 | |
| 557 | 557 | |
| 558 | 558 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 559 | 559 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(mess_hd); break; |
| 560 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_hd; break; |
| 561 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_hd; break; |
| 560 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_hd); break; |
| 561 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_hd); break; |
| 562 | 562 | |
| 563 | 563 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 564 | 564 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "hd"); break; |
| r2219 | r2220 | |
| 579 | 579 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 580 | 580 | |
| 581 | 581 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 582 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_4_pio; break; |
| 583 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_4_pio; break; |
| 582 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_4_pio); break; |
| 583 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_4_pio); break; |
| 584 | 584 | |
| 585 | 585 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 586 | 586 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
| r2219 | r2220 | |
| 600 | 600 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 601 | 601 | |
| 602 | 602 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 603 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_4_rs232; break; |
| 604 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_4_rs232; break; |
| 603 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_4_rs232); break; |
| 604 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_4_rs232); break; |
| 605 | 605 | |
| 606 | 606 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 607 | 607 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
| r2219 | r2220 | |
| 622 | 622 | |
| 623 | 623 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 624 | 624 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(smartmedia); break; |
| 625 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_smartmedia; break; |
| 626 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_smartmedia; break; |
| 625 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(smartmedia); break; |
| 626 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(smartmedia); break; |
| 627 | 627 | |
| 628 | 628 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 629 | 629 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
src/mess/drivers/sg1000.c
| r2219 | r2220 | |
| 695 | 695 | { |
| 696 | 696 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 697 | 697 | case MESS_DEVINFO_INT_MUST_BE_LOADED: info->i = 1; break; |
| 698 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_sg1000_cart; break; |
| 698 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(sg1000_cart); break; |
| 699 | 699 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "sg"); break; |
| 700 | 700 | |
| 701 | 701 | default: cartslot_device_getinfo( devclass, state, info ); break; |
| r2219 | r2220 | |
| 755 | 755 | { |
| 756 | 756 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 757 | 757 | case MESS_DEVINFO_INT_MUST_BE_LOADED: info->i = 1; break; |
| 758 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_sc3000_cart; break; |
| 758 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(sc3000_cart); break; |
| 759 | 759 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "sg,sc"); break; |
| 760 | 760 | |
| 761 | 761 | default: cartslot_device_getinfo( devclass, state, info ); break; |
| r2219 | r2220 | |
| 799 | 799 | |
| 800 | 800 | if (image_length(image) == 256*16*40) |
| 801 | 801 | { |
| 802 | | if (device_load_basicdsk_floppy(image) == INIT_PASS) |
| 802 | if (DEVICE_IMAGE_LOAD_NAME(basicdsk_floppy)(image) == INIT_PASS) |
| 803 | 803 | { |
| 804 | 804 | /* image, tracks, sides, sectors per track, sector length, first sector id, offset of track 0, track skipping */ |
| 805 | 805 | basicdsk_set_geometry(image, 40, 1, 16, 256, 1, 0, FALSE); |
| r2219 | r2220 | |
| 816 | 816 | switch(state) |
| 817 | 817 | { |
| 818 | 818 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 819 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_sf7000_floppy; break; |
| 819 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(sf7000_floppy); break; |
| 820 | 820 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "sf7"); break; |
| 821 | 821 | |
| 822 | 822 | default: legacybasicdsk_device_getinfo(devclass, state, info); break; |
| r2219 | r2220 | |
| 856 | 856 | |
| 857 | 857 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 858 | 858 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(serial_device); break; |
| 859 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_sf7000_serial; break; |
| 859 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(sf7000_serial); break; |
| 860 | 860 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = serial_device_unload; break; |
| 861 | 861 | |
| 862 | 862 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
src/mess/drivers/tx0.c
| r2219 | r2220 | |
| 407 | 407 | |
| 408 | 408 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 409 | 409 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(tx0_tape); break; |
| 410 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_tx0_tape; break; |
| 411 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_tx0_tape; break; |
| 410 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(tx0_tape); break; |
| 411 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(tx0_tape); break; |
| 412 | 412 | case MESS_DEVINFO_PTR_GET_DISPOSITIONS: info->getdispositions = tx0_tape_get_open_mode; break; |
| 413 | 413 | |
| 414 | 414 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| r2219 | r2220 | |
| 429 | 429 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 430 | 430 | |
| 431 | 431 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 432 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_tx0_typewriter; break; |
| 433 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_tx0_typewriter; break; |
| 432 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(tx0_typewriter); break; |
| 433 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(tx0_typewriter); break; |
| 434 | 434 | |
| 435 | 435 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 436 | 436 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "typ"); break; |
| r2219 | r2220 | |
| 451 | 451 | |
| 452 | 452 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 453 | 453 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(tx0_magtape); break; |
| 454 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_tx0_magtape; break; |
| 455 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_tx0_magtape; break; |
| 454 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(tx0_magtape); break; |
| 455 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(tx0_magtape); break; |
| 456 | 456 | |
| 457 | 457 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 458 | 458 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "tap"); break; |
src/mess/drivers/ql.c
| r2219 | r2220 | |
| 1092 | 1092 | case MESS_DEVINFO_INT_CREATABLE: info->i = 0; break; |
| 1093 | 1093 | |
| 1094 | 1094 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 1095 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ql_microdrive; break; |
| 1095 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ql_microdrive); break; |
| 1096 | 1096 | |
| 1097 | 1097 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 1098 | 1098 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "mdv"); break; |
| r2219 | r2220 | |
| 1129 | 1129 | |
| 1130 | 1130 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 1131 | 1131 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(serial_device); break; |
| 1132 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ql_serial; break; |
| 1132 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ql_serial); break; |
| 1133 | 1133 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = serial_device_unload; break; |
| 1134 | 1134 | |
| 1135 | 1135 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| r2219 | r2220 | |
| 1161 | 1161 | info->i = 1; |
| 1162 | 1162 | break; |
| 1163 | 1163 | case MESS_DEVINFO_PTR_LOAD: |
| 1164 | | info->load = device_load_ql_cart; |
| 1164 | info->load = DEVICE_IMAGE_LOAD_NAME(ql_cart); |
| 1165 | 1165 | break; |
| 1166 | 1166 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: |
| 1167 | 1167 | strcpy(info->s = device_temp_str(), "bin"); |
src/mess/drivers/ti990_10.c
| r2219 | r2220 | |
| 298 | 298 | |
| 299 | 299 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 300 | 300 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(ti990_hd); break; |
| 301 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti990_hd; break; |
| 302 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti990_hd; break; |
| 301 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti990_hd); break; |
| 302 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti990_hd); break; |
| 303 | 303 | |
| 304 | 304 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 305 | 305 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "hd"); break; |
| r2219 | r2220 | |
| 320 | 320 | |
| 321 | 321 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 322 | 322 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(ti990_tape); break; |
| 323 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti990_tape; break; |
| 324 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti990_tape; break; |
| 323 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti990_tape); break; |
| 324 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti990_tape); break; |
| 325 | 325 | |
| 326 | 326 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 327 | 327 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "tap"); break; |
src/mess/drivers/abc80x.c
| r2219 | r2220 | |
| 1018 | 1018 | case MESS_DEVINFO_INT_COUNT: info->i = 2; break; |
| 1019 | 1019 | |
| 1020 | 1020 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 1021 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_abc_floppy; break; |
| 1021 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(abc_floppy); break; |
| 1022 | 1022 | |
| 1023 | 1023 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 1024 | 1024 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |
| r2219 | r2220 | |
| 1069 | 1069 | |
| 1070 | 1070 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 1071 | 1071 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(serial_device); break; |
| 1072 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_abc800_serial; break; |
| 1072 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(abc800_serial); break; |
| 1073 | 1073 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = serial_device_unload; break; |
| 1074 | 1074 | |
| 1075 | 1075 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
src/mess/drivers/tmc2000e.c
| r2219 | r2220 | |
| 179 | 179 | // video hardware |
| 180 | 180 | |
| 181 | 181 | MDRV_SCREEN_ADD("main", RASTER) |
| 182 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 182 | 183 | MDRV_SCREEN_RAW_PARAMS(CDP1864_CLK_FREQ, CDP1864_SCREEN_WIDTH, CDP1864_HBLANK_END, CDP1864_HBLANK_START, CDP1864_TOTAL_SCANLINES, CDP1864_SCANLINE_VBLANK_END, CDP1864_SCANLINE_VBLANK_START) |
| 183 | 184 | |
| 185 | MDRV_PALETTE_LENGTH(8) |
| 184 | 186 | MDRV_VIDEO_START(cdp1864) |
| 185 | 187 | MDRV_VIDEO_UPDATE(cdp1864) |
| 186 | 188 | |
| r2219 | r2220 | |
| 224 | 226 | case MESS_DEVINFO_INT_COUNT: info->i = 4; break; |
| 225 | 227 | |
| 226 | 228 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 227 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_basicdsk_floppy; break; |
| 229 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(basicdsk_floppy); break; |
| 228 | 230 | |
| 229 | 231 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 230 | 232 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |
src/mess/drivers/nascom1.c
| r2219 | r2220 | |
| 337 | 337 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 338 | 338 | |
| 339 | 339 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 340 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_nascom1_cassette; break; |
| 341 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_nascom1_cassette; break; |
| 340 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(nascom1_cassette); break; |
| 341 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(nascom1_cassette); break; |
| 342 | 342 | |
| 343 | 343 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 344 | 344 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "cas"); break; |
| r2219 | r2220 | |
| 373 | 373 | case MESS_DEVINFO_INT_COUNT: info->i = 4; break; |
| 374 | 374 | |
| 375 | 375 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 376 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_nascom2_floppy; break; |
| 376 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(nascom2_floppy); break; |
| 377 | 377 | |
| 378 | 378 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 379 | 379 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |
src/mess/drivers/intv.c
| r2219 | r2220 | |
| 436 | 436 | |
| 437 | 437 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 438 | 438 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(intv_cart); break; |
| 439 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_intv_cart; break; |
| 439 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(intv_cart); break; |
| 440 | 440 | |
| 441 | 441 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 442 | 442 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "int,rom"); break; |
| r2219 | r2220 | |
| 458 | 458 | case MESS_DEVINFO_INT_COUNT: info->i = 2; break; |
| 459 | 459 | |
| 460 | 460 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 461 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_intvkbd_cart; break; |
| 461 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(intvkbd_cart); break; |
| 462 | 462 | |
| 463 | 463 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 464 | 464 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "int,rom,bin"); break; |
src/mess/drivers/jupiter.c
| r2219 | r2220 | |
| 205 | 205 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 206 | 206 | |
| 207 | 207 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 208 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_jupiter_ace; break; |
| 208 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(jupiter_ace); break; |
| 209 | 209 | |
| 210 | 210 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 211 | 211 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "ace"); break; |
| r2219 | r2220 | |
| 228 | 228 | case MESS_DEVINFO_INT_RESET_ON_LOAD: info->i = 1; break; |
| 229 | 229 | |
| 230 | 230 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 231 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_jupiter_tap; break; |
| 232 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_jupiter_tap; break; |
| 231 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(jupiter_tap); break; |
| 232 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(jupiter_tap); break; |
| 233 | 233 | |
| 234 | 234 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 235 | 235 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "tap"); break; |
src/mess/drivers/amstrad.c
| r2219 | r2220 | |
| 3140 | 3140 | case MESS_DEVINFO_INT_MUST_BE_LOADED: info->i = 1; break; |
| 3141 | 3141 | |
| 3142 | 3142 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 3143 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_amstrad_plus_cartridge; break; |
| 3143 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(amstrad_plus_cartridge); break; |
| 3144 | 3144 | |
| 3145 | 3145 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 3146 | 3146 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "cpr,bin"); break; |
| r2219 | r2220 | |
| 3173 | 3173 | { |
| 3174 | 3174 | /* --- the following bits of info are returned as 64-bit signed integers --- */ |
| 3175 | 3175 | case MESS_DEVINFO_INT_COUNT: info->i = 2; break; |
| 3176 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_msx_floppy; break; |
| 3176 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(msx_floppy); break; |
| 3177 | 3177 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |
| 3178 | 3178 | |
| 3179 | 3179 | default: legacybasicdsk_device_getinfo(devclass, state, info); break; |
src/mess/drivers/trs80.c
| r2219 | r2220 | |
| 461 | 461 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 462 | 462 | |
| 463 | 463 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 464 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_trs80_cas; break; |
| 465 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_trs80_cas; break; |
| 464 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(trs80_cas); break; |
| 465 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(trs80_cas); break; |
| 466 | 466 | |
| 467 | 467 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 468 | 468 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "cas"); break; |
| r2219 | r2220 | |
| 502 | 502 | case MESS_DEVINFO_INT_COUNT: info->i = 4; break; |
| 503 | 503 | |
| 504 | 504 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 505 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_trs80_floppy; break; |
| 505 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(trs80_floppy); break; |
| 506 | 506 | |
| 507 | 507 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 508 | 508 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |
src/mess/drivers/ti85.c
| r2219 | r2220 | |
| 492 | 492 | |
| 493 | 493 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 494 | 494 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(ti85_serial); break; |
| 495 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti85_serial; break; |
| 496 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti85_serial; break; |
| 495 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti85_serial); break; |
| 496 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti85_serial); break; |
| 497 | 497 | |
| 498 | 498 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 499 | 499 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "85p,85s,85i,85n,85c,85l,85k,85m,85v,85d,85e,85r,85g,85b"); break; |
| r2219 | r2220 | |
| 534 | 534 | |
| 535 | 535 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 536 | 536 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(ti85_serial); break; |
| 537 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti85_serial; break; |
| 538 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti85_serial; break; |
| 537 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti85_serial); break; |
| 538 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti85_serial); break; |
| 539 | 539 | |
| 540 | 540 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 541 | 541 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "86p,86s,86i,86n,86c,86l,86k,86m,86v,86d,86e,86r,86g"); break; |
src/mess/drivers/svi318.c
| r2219 | r2220 | |
| 517 | 517 | info->start = DEVICE_START_NAME(svi318_cart); |
| 518 | 518 | break; |
| 519 | 519 | case MESS_DEVINFO_PTR_LOAD: |
| 520 | | info->load = device_load_svi318_cart; |
| 520 | info->load = DEVICE_IMAGE_LOAD_NAME(svi318_cart); |
| 521 | 521 | break; |
| 522 | 522 | case MESS_DEVINFO_PTR_UNLOAD: |
| 523 | | info->unload = device_unload_svi318_cart; |
| 523 | info->unload = DEVICE_IMAGE_UNLOAD_NAME(svi318_cart); |
| 524 | 524 | break; |
| 525 | 525 | |
| 526 | 526 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| r2219 | r2220 | |
| 546 | 546 | |
| 547 | 547 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 548 | 548 | case MESS_DEVINFO_PTR_LOAD: |
| 549 | | info->load = device_load_svi318_floppy; |
| 549 | info->load = DEVICE_IMAGE_LOAD_NAME(svi318_floppy); |
| 550 | 550 | break; |
| 551 | 551 | |
| 552 | 552 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
src/mess/drivers/ti99_4p.c
| r2219 | r2220 | |
| 346 | 346 | |
| 347 | 347 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 348 | 348 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(mess_hd); break; |
| 349 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_hd; break; |
| 350 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_hd; break; |
| 349 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_hd); break; |
| 350 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_hd); break; |
| 351 | 351 | |
| 352 | 352 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 353 | 353 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "hd"); break; |
| r2219 | r2220 | |
| 367 | 367 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 368 | 368 | |
| 369 | 369 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 370 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_4_pio; break; |
| 371 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_4_pio; break; |
| 370 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_4_pio); break; |
| 371 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_4_pio); break; |
| 372 | 372 | |
| 373 | 373 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 374 | 374 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
| r2219 | r2220 | |
| 388 | 388 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 389 | 389 | |
| 390 | 390 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 391 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_4_rs232; break; |
| 392 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_4_rs232; break; |
| 391 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_4_rs232); break; |
| 392 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_4_rs232); break; |
| 393 | 393 | |
| 394 | 394 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 395 | 395 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
| r2219 | r2220 | |
| 411 | 411 | case MESS_DEVINFO_INT_RESET_ON_LOAD: info->i = 1; break; |
| 412 | 412 | |
| 413 | 413 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 414 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_hsgpl; break; |
| 415 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_hsgpl; break; |
| 414 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_hsgpl); break; |
| 415 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_hsgpl); break; |
| 416 | 416 | } |
| 417 | 417 | } |
| 418 | 418 | #endif |
| r2219 | r2220 | |
| 431 | 431 | |
| 432 | 432 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 433 | 433 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(smartmedia); break; |
| 434 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_smartmedia; break; |
| 435 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_smartmedia; break; |
| 434 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(smartmedia); break; |
| 435 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(smartmedia); break; |
| 436 | 436 | |
| 437 | 437 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 438 | 438 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
src/mess/drivers/ti99_4x.c
| r2219 | r2220 | |
| 782 | 782 | |
| 783 | 783 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 784 | 784 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(ti99_cart); break; |
| 785 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_cart; break; |
| 786 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_cart; break; |
| 785 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_cart); break; |
| 786 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_cart); break; |
| 787 | 787 | |
| 788 | 788 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 789 | 789 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "bin,c,d,g,m,crom,drom,grom,mrom"); break; |
| r2219 | r2220 | |
| 821 | 821 | |
| 822 | 822 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 823 | 823 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(mess_hd); break; |
| 824 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_hd; break; |
| 825 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_hd; break; |
| 824 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_hd); break; |
| 825 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_hd); break; |
| 826 | 826 | |
| 827 | 827 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 828 | 828 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "hd"); break; |
| r2219 | r2220 | |
| 843 | 843 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 844 | 844 | |
| 845 | 845 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 846 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_4_pio; break; |
| 847 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_4_pio; break; |
| 846 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_4_pio); break; |
| 847 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_4_pio); break; |
| 848 | 848 | |
| 849 | 849 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 850 | 850 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
| r2219 | r2220 | |
| 864 | 864 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 865 | 865 | |
| 866 | 866 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 867 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_4_rs232; break; |
| 868 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_4_rs232; break; |
| 867 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_4_rs232); break; |
| 868 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_4_rs232); break; |
| 869 | 869 | |
| 870 | 870 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 871 | 871 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
| r2219 | r2220 | |
| 887 | 887 | case MESS_DEVINFO_INT_RESET_ON_LOAD: info->i = 1; break; |
| 888 | 888 | |
| 889 | 889 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 890 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_ti99_hsgpl; break; |
| 891 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_ti99_hsgpl; break; |
| 890 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(ti99_hsgpl); break; |
| 891 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(ti99_hsgpl); break; |
| 892 | 892 | } |
| 893 | 893 | } |
| 894 | 894 | #endif |
| r2219 | r2220 | |
| 907 | 907 | |
| 908 | 908 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 909 | 909 | case MESS_DEVINFO_PTR_START: info->start = DEVICE_START_NAME(smartmedia); break; |
| 910 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_smartmedia; break; |
| 911 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_smartmedia; break; |
| 910 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(smartmedia); break; |
| 911 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(smartmedia); break; |
| 912 | 912 | |
| 913 | 913 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 914 | 914 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), ""); break; |
src/mess/drivers/bbc.c
| r2219 | r2220 | |
| 818 | 818 | case MESS_DEVINFO_INT_COUNT: info->i = 4; break; |
| 819 | 819 | |
| 820 | 820 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 821 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_bbcb_cart; break; |
| 821 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(bbcb_cart); break; |
| 822 | 822 | |
| 823 | 823 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 824 | 824 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "rom"); break; |
| r2219 | r2220 | |
| 836 | 836 | case MESS_DEVINFO_INT_COUNT: info->i = 2; break; |
| 837 | 837 | |
| 838 | 838 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 839 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_bbc_floppy; break; |
| 839 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(bbc_floppy); break; |
| 840 | 840 | |
| 841 | 841 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 842 | 842 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "ssd,bbc,img"); break; |
src/mess/drivers/vtech2.c
| r2219 | r2220 | |
| 560 | 560 | case MESS_DEVINFO_INT_COUNT: info->i = 1; break; |
| 561 | 561 | |
| 562 | 562 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 563 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_laser_cart; break; |
| 564 | | case MESS_DEVINFO_PTR_UNLOAD: info->unload = device_unload_laser_cart; break; |
| 563 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(laser_cart); break; |
| 564 | case MESS_DEVINFO_PTR_UNLOAD: info->unload = DEVICE_IMAGE_UNLOAD_NAME(laser_cart); break; |
| 565 | 565 | |
| 566 | 566 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 567 | 567 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "rom"); break; |
| r2219 | r2220 | |
| 583 | 583 | case MESS_DEVINFO_INT_COUNT: info->i = 2; break; |
| 584 | 584 | |
| 585 | 585 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 586 | | case MESS_DEVINFO_PTR_LOAD: info->load = device_load_laser_floppy; break; |
| 586 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(laser_floppy); break; |
| 587 | 587 | |
| 588 | 588 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 589 | 589 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |