Table of ContentsConnecting To the Wildcard Bus Selecting the Wildcard Address CF Card Software Package User Guide and Glossary How To Install the CF Software Using the Driver Code with Forth Categorized List of Functions and Constants File Access and Position Modes Using the File System Functions String Parameters and the Use of THIS_PAGE Root Directory Only and File Name Restrictions Real-Time Clock on the Host Computer Enables Time/Date Marking of Files 12 Automatic Initialization and File Processing Upgrade note for former Memory Interface Board (MIB) Users How To Create and Use an AUTOEXEC.QED File Compile a Program into Flash Memory Transfer the Image File Contents into Memory Restrictions on Software Upgrades Recovering from Buggy AUTOSTART.QED Files Compact Flash Card Software Package Main Glossary Upgrade Notice for Prior Users of the Memory Interface Board |
The Compact-Flash Wildcard and
|
FAIL_ADDR | FAIL_ARGS | FAIL_BUSY |
FAIL_CMD | FAIL_DATAREQ | FAIL_EXTERR |
FAIL_ID_DRIVE | FAIL_NO_CARD | FAIL_READY |
int ATA_Command( xaddr xbuf, ulong startsector, uint numsectors, int cmd,
int xfer_type, int features)
int ATA_Fail( void )
int ATA_ID_Drive( xaddr xbuffer)
int ATA_Read( xaddr xbuf, ulong startsector, uint numsectors )
int ATA_Set_Features( int config_contents, int feature_contents )
int ATA_Write( xaddr xbuf, ulong startsector, uint numsectors )
int PCC_Present( void )
ulong Card_Size( void ) | Int Hidden_Sectors( void ) |
int Numsectors_Transferred( void ) | SECTOR_SIZE |
uint Volume_Label( char* string_addr, uint string_page ) |
void Dir( void ) | void Dir_Names( void ) | void Dir_Open( void ) |
xaddr File_Time( int file_id ) | ||
int Set_Filesize( ulong needed_filesize, int file_id ) |
A_MODE | APLUS_MODE | FROM_CURRENT |
FROM_END | FROM_START | R_MODE |
RPLUS_MODE | W_MODE | WPLUS_MODE |
END_CAPTURE (Forth only)
int File_Capture( int file_id )
int File_Close( int file_id )
xaddr File_Contents( uint file_position, int file_id )
int File_Copy( char* prior_name_addr, uint prior_name_page, int prior_count,
char* new_name_addr, uint new_name_page, int new_count )
int File_Flush( int file_id )
int File_Getc( int file_id )
int File_Gets( char* dest_addr, uint dest_page, uint bufsize, int file_id )
int File_Open( char* name_addr, uint name_page, int name_count, int access_mode )
int File_Putc( char c, int file_id )
int File_Put_CRLF( int file_id )
int File_Puts( char* source_addr, uint source_page, uint maxchars, int file_id )
long File_Read( void* dest_addr, uint dest_page, ulong numbytes, int file_id )
int File_Remove( char* name_addr, uint name_page, int name_count )
int File_Rename( char* prior_name_addr, uint prior_name_page, int prior_count,
char* new_name_addr, uint new_name_page, int new_count )
int File_Rewind( int file_id )
int File_Seek( int file_id, long offset, int mode )
int File_Set_Pos( int file_id, long offset )
ulong File_Size( int file_id )
long File_Tell_Pos( int file_id )
long File_To_Memory( void* dest_addr, uint dest_page, ulong numbytes, int file_id )
void File_Type( char* name_addr, uint name_page, int name_count )
int File_Ungetc( char c, int file_id )
long File_Write( void* source_addr, uint source_page, ulong numbytes, int file_id )
ulong Max_File_Size( void )
void Do_Autoexec( void ) | void File_Abort_Action( void ) |
int File_Ask_Key( void ) | void File_Emit( char c ) |
void File_Interpreter( void ) | uchar File_Key( void ) |
void File_To_Page( int page ) | NO_ECHO_FILEID |
void Page_To_File( int page ) | int Process_Autoexec( int autoexec_echo ) |
void Process_File( int input_file_id, int output_file_id ) | |
void Put_Default_Serial( void ) | |
void Redirect( int input_file_id, int output_file_id, void(*fn)(), uint fn_page ) |
void Clear_File_Error( int file_id ) | |
ERR_ATA_READ | ERR_ATA_WRITE |
ERR_BAD_OR_UNOPEN_FILEID | ERR_CANNOT_ADD_CLUSTER |
ERR_CANNOT_TRUNCATE_FILE | ERR_DISK_IS_FULL |
ERR_EOF | ERR_FAIL_ID_DRIVE |
ERR_FILE_DOES_NOT_EXIST | ERR_INVALID_SECTOR_NUMBER |
ERR_NEGATIVE_FILE_POSN | ERR_NOT_DOSFAT_DRIVE |
ERR_READ_ACCESS_VIOLATION | ERR_ROOT_DIR_FULL |
ERR_TOO_MANY_FILES_OPEN | ERR_WRITE_ACCESS_VIOLATION |
int File_EOF( int file_id ) | int File_Error( int file_id ) |
uint Report_File_Errors( int file_id, char* string_addr, uint string_page, uint maxbytes ) | |
uint Report_File_Open_Errors( char* string_addr, uint string_page, uint maxbytes ) |
xaddr FI( void)
int Init_File_Heap( uint maxopen_files, uint file_bufsize, xaddr xheap_start, xaddr xheap_end )
int Init_File_IO( uint maxopen_files, uint file_bufsize, xaddr xheap_start, xaddr xheap_end, xaddr xfat_info )
int Init_File_System( void )
void Link_File_IO( void )
int Read_CF_Module( void )
Set_CF_Module( int module_num )
Home|Site Map|Products|Manuals|Resources|Order|About Us
Copyright (c) 2006 Mosaic Industries, Inc.
Your source for single board computers, embedded controllers, and operator interfaces for instruments and automation