Lines Matching refs:media
197 write_byte(DS,SI+0x01,cdemu->media);
359 cdemu->media = buffer[0x21];
393 cdemu->emulated_drive, cdemu->media, cdemu->ilba);
413 cdemu->emulated_drive, cdemu->media, cdemu->ilba);
414 /* Set up emulated drive geometry based on the media type. */
415 switch (cdemu->media) {
440 if (cdemu->media != 0) {
449 if (cdemu->media != 0)
622 switch (cdemu->media) {
629 if (cdemu->media < 4) {
645 case 0x18: /* set media type for format */
652 case 0x46: // IBM/MS eject media
655 case 0x49: // IBM/MS extended media change
844 case 0x46: // IBM/MS eject media
848 SET_AH(0xb1); // media locked
851 // FIXME should handle 0x31 no media in device
855 // Call removable media eject
871 SET_AH(0xb1); // media locked
894 dpt->infos = 0x74; /* Removable, media change, lockable, max values */
999 case 0x49: // IBM/MS extended media change
1025 case 0x18: /* set media type for format */