home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / rmfiles.zip / mitsrc.zip / PROTO.H < prev   
Text File  |  1994-09-21  |  3KB  |  69 lines

  1.  
  2. // these are in CDinit.c
  3.  
  4. void   _far CDStrat1(void);
  5. void   DriveInit(struct  _RPINIT _far *pRPH);
  6. void   _far _loadds IORBEntry(PIORB pIORB);
  7. void   QIORB(PIORB pIORB);
  8. PIORB  DeQIORB(void);
  9. void   ProcessReq(PIORB pIORB);
  10. void   IORB_CmdErr(USHORT  ErrCode,PIORB pIORB,USHORT  Sense_key,USHORT  AdditionalSense);
  11. void   Build_Device_Table(struct  _IORB_CONFIGURATION _far *pIORB);
  12. USHORT GetGeometry(USHORT  SubCmd,struct  _IORB_GEOMETRY _far *pIORB);
  13.  
  14. // These are in Proccdb.c
  15.  
  16. void   ProcessCDB(PIORB PIORB);
  17. void   ProcessTOC(PIORB PIORB,PCDCDB pCDB);
  18. void   ProcessMediaCatalogNumber(PIORB PIORB,PCDCDB pCDB);
  19. void   ProcessInquiry(PIORB PIORB,PCDCDB pCDB);
  20. void   ProcessCurrentPosition(PIORB PIORB,PCDCDB pCDB);
  21. void   ProcessAudioPageControl(PIORB PIORB,struct  ModeSelectParmList _far *pDescriptor);
  22. void   ProcessRead(PIORB PIORB,PCDCDB pCDB);
  23. void   ProcessSeek(PIORB PIORB,PCDCDB pCDB);
  24. void   ProcessModeSelectSense(PIORB PIORB,PCDCDB pCDB);
  25. void   ProcessPauseResume(PIORB PIORB,PCDCDB pCDB);
  26. void   ProcessPlay(PIORB PIORB,PCDCDB pCDB);
  27. void   ProcessDiskInfo(PIORB PIORB,PCDCDB pCDB);
  28. void   ProcessStartStop(PIORB PIORB,PCDCDB pCDB);
  29. void   ProcessLock(PIORB PIORB,PCDCDB pCDB);
  30. void   ProcessSubChan(PIORB PIORB,PCDCDB pCDB);
  31. void   ProcessCapacity(PIORB PIORB,PCDCDB pCDB);
  32. void   ProcessHeader(PIORB PIORB,PCDCDB pCDB);
  33. USHORT ValidMSF(ULONG  pos);
  34.  
  35. // these are in CDReady.c
  36.  
  37. USHORT GetTocInfo(void);
  38. USHORT CacheTOC(PCDROMSTAT Data,UCHAR  checksum);
  39. USHORT ReadyHardware(PIORB pIORB,USHORT  OpCode);
  40. void   SpecialRead(void);
  41.  
  42. // these are in DRVCMD.c
  43.  
  44. void  _far _saveregs TimerTick(void);
  45. void  _far _saveregs IrqHandler(void);
  46. ULONG  GetClock(void);
  47. void   ScaleClock(UCHAR  CpuType);
  48. USHORT ChkBaseAddx(void);
  49. USHORT ChkDrive(void);
  50. BOOL   TryIrq(BOOL Testing);
  51. void   ResetDrive(void);
  52. ULONG  MayYield(ULONG  LastTime);
  53. UCHAR  WriteData(UCHAR  Offset,UCHAR  Data);
  54. void   WriteCmd(PUCHAR CmdPtr,USHORT  Len);
  55. UCHAR  ReadData(void);
  56. USHORT ReadStatus(void);
  57. USHORT ReadStatusBytes(PUCHAR CmdPtr,UCHAR  Len,ULONG  tries);
  58. USHORT ReadDataBytes(PUCHAR CmdPtr,USHORT  Len,PULONG  Count,ULONG  tries,USHORT  PostStatus);
  59. USHORT DriveStatus(ULONG  tries);
  60. USHORT GetStatus(ULONG  tries);
  61. USHORT DriveCommand(UCHAR  OpCode,ULONG  Addr1,ULONG  Addr2,PCDROMSTAT Buffer,USHORT  BufferLen);
  62. void   SetDataMode(UCHAR  data);
  63. void   SetIrqMode(UCHAR  mode);
  64. ULONG  AdrHsg2Red(ULONG  ulHsg);
  65. ULONG  AdrRed2Hsg(ULONG  ulRedBook);
  66. UCHAR  Bin2BCD(UCHAR  bBin);
  67. UCHAR  BCD2Bin(UCHAR  bBin);
  68.  
  69.