mcdreg.h (5226) | mcdreg.h (6028) |
---|---|
1/* 2 * Copyright 1993 by Holger Veit (data part) 3 * Copyright 1993 by Brian Moore (audio part) 4 * Changes Copyright 1993 by Gary Clark II 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 27 unchanged lines hidden (view full) --- 36 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 * 38 * This file contains definitions for some cdrom control commands 39 * and status codes. This info was "inherited" from the DOS MTMCDE.SYS 40 * driver, and is thus not complete (and may even be wrong). Some day 41 * the manufacturer or anyone else might provide better documentation, 42 * so this file (and the driver) will then have a better quality. 43 * | 1/* 2 * Copyright 1993 by Holger Veit (data part) 3 * Copyright 1993 by Brian Moore (audio part) 4 * Changes Copyright 1993 by Gary Clark II 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 27 unchanged lines hidden (view full) --- 36 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 * 38 * This file contains definitions for some cdrom control commands 39 * and status codes. This info was "inherited" from the DOS MTMCDE.SYS 40 * driver, and is thus not complete (and may even be wrong). Some day 41 * the manufacturer or anyone else might provide better documentation, 42 * so this file (and the driver) will then have a better quality. 43 * |
44 * $Id: mcdreg.h,v 1.5 1994/11/12 13:26:13 ache Exp $ | 44 * $Id: mcdreg.h,v 1.6 1994/12/24 13:24:02 ache Exp $ |
45 */ 46 47#ifndef MCD_H 48#define MCD_H 49 50#ifdef __GNUC__ 51#if __GNUC__ >= 2 52#pragma pack(1) --- 77 unchanged lines hidden (view full) --- 130 131#define MCD_CMDSTOPAUDIO 0x70 132#define MCD_CMDSTOPAUDIOTIME 0x80 133#define MCD_CMDGETVOLUME 0x8E /* gets mcd_volume */ 134#define MCD_CMDSETDRIVEMODE 0xA0 /* Set drive mode */ 135#define MCD_READUPC 0xA2 /* Get UPC info */ 136#define MCD_CMDSETVOLUME 0xAE /* sets mcd_volume */ 137#define MCD_CMDREAD1 0xB0 /* read n sectors */ | 45 */ 46 47#ifndef MCD_H 48#define MCD_H 49 50#ifdef __GNUC__ 51#if __GNUC__ >= 2 52#pragma pack(1) --- 77 unchanged lines hidden (view full) --- 130 131#define MCD_CMDSTOPAUDIO 0x70 132#define MCD_CMDSTOPAUDIOTIME 0x80 133#define MCD_CMDGETVOLUME 0x8E /* gets mcd_volume */ 134#define MCD_CMDSETDRIVEMODE 0xA0 /* Set drive mode */ 135#define MCD_READUPC 0xA2 /* Get UPC info */ 136#define MCD_CMDSETVOLUME 0xAE /* sets mcd_volume */ 137#define MCD_CMDREAD1 0xB0 /* read n sectors */ |
138#define MCD_CMDREAD2 0xC0 /* read from-to */ | 138#define MCD_CMDSINGLESPEEDREAD 0xC0 /* read from-to */ |
139#define MCD_CMDSTARTAUDIOMSF 0xC1 /* read audio data */ | 139#define MCD_CMDSTARTAUDIOMSF 0xC1 /* read audio data */ |
140#define MCD_CMDREADFAST 0xC1 /* Read lots of data from the drive */ | 140#define MCD_CMDDOUBLESPEEDREAD 0xC1 /* Read lots of data from the drive */ |
141#define MCD_CMDGETDRIVEMODE 0xC2 /* Get the drive mode */ 142#define MCD_CMDREAD 0xC3 /* Read data from the drive */ 143#define MCD_CMDSETINTERLEAVE 0xC8 /* Adjust the interleave */ 144#define MCD_CMDCONTINFO 0xDC /* Get controller info */ 145#define MCD_CMDSTOP 0xF0 /* Stop everything */ 146#define MCD_CMDEJECTDISK 0xF6 147#define MCD_CMDCLOSETRAY 0xF8 148 --- 72 unchanged lines hidden --- | 141#define MCD_CMDGETDRIVEMODE 0xC2 /* Get the drive mode */ 142#define MCD_CMDREAD 0xC3 /* Read data from the drive */ 143#define MCD_CMDSETINTERLEAVE 0xC8 /* Adjust the interleave */ 144#define MCD_CMDCONTINFO 0xDC /* Get controller info */ 145#define MCD_CMDSTOP 0xF0 /* Stop everything */ 146#define MCD_CMDEJECTDISK 0xF6 147#define MCD_CMDCLOSETRAY 0xF8 148 --- 72 unchanged lines hidden --- |