mcdreg.h (8876) | mcdreg.h (13732) |
---|---|
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.7 1995/01/30 06:44:40 ache Exp $ | 44 * $Id: mcdreg.h,v 1.8 1995/05/30 08:02:45 rgrimes Exp $ |
45 */ 46 47#ifndef MCD_H 48#define MCD_H 49 50#ifdef __GNUC__ 51#if __GNUC__ >= 2 52#pragma pack(1) --- 120 unchanged lines hidden (view full) --- 173struct mcd_volinfo { 174 bcd_t trk_low; 175 bcd_t trk_high; 176 bcd_t vol_msf[3]; 177 bcd_t trk1_msf[3]; 178}; 179 180struct mcd_qchninfo { | 45 */ 46 47#ifndef MCD_H 48#define MCD_H 49 50#ifdef __GNUC__ 51#if __GNUC__ >= 2 52#pragma pack(1) --- 120 unchanged lines hidden (view full) --- 173struct mcd_volinfo { 174 bcd_t trk_low; 175 bcd_t trk_high; 176 bcd_t vol_msf[3]; 177 bcd_t trk1_msf[3]; 178}; 179 180struct mcd_qchninfo { |
181 u_char ctrl_adr; | 181 u_char control:4; 182 u_char addr_type:4; |
182 u_char trk_no; 183 u_char idx_no; 184 bcd_t trk_size_msf[3]; 185 u_char :8; 186 bcd_t hd_pos_msf[3]; 187}; 188 189struct mcd_volume { --- 31 unchanged lines hidden --- | 183 u_char trk_no; 184 u_char idx_no; 185 bcd_t trk_size_msf[3]; 186 u_char :8; 187 bcd_t hd_pos_msf[3]; 188}; 189 190struct mcd_volume { --- 31 unchanged lines hidden --- |