Package RASCAL.CDFS

DescriptionTypes and subprograms for CD handling through CDFS.
Authorbbracke
Date2005/11/21 20:14:33
Revision1.1
 

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


 
Context clauses
RASCAL.Utility
 
Use clauses
RASCAL.Utility
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


   
CDFS_Control_Block_Type record
Component Type Default
UnDefInteger
DriverInteger
LUNInteger
CardInteger
DeviceInteger
   
Disc_Used_Mode_1_Type record
Component Type Default
Block_SizeInteger
CD_SizeInteger
   
Disc_Used_Mode_2_Type record
Component Type Default
Sector_SizeInteger
CD_IDInteger
  
Pragmas
Convention(C, CDFS_Control_Block_Type)
Convention(C, Disc_Used_Mode_1_Type)
Convention(C, Disc_Used_Mode_2_Type)
 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Convert_DriveToDevice function
ReturnInteger
The call converts a logical drive number to a physical drive number.
You can then use the physical drive number to produce a CDFS control block, which you have to pass when calling CDFSDriver SWIs.
The call returns an error if the logical drive is not known.
Parameter name Type Mode Default
DriveIntegerin
  
Get_CD_Size procedure
Returns size of CD currently in drive.
Parameter name Type Mode Default
BlockDisc_Used_Mode_1_Typein out
Control_BlockCDFS_Control_Block_Typein out
  
Get_CD_Size procedure
Returns size of CD currently in drive.
Parameter name Type Mode Default
BlockDisc_Used_Mode_2_Typein out
Control_BlockCDFS_Control_Block_Typein out