INITFILESYSTEM/de

From MCS Wiki AVR
< INITFILESYSTEM(Difference between revisions)
Jump to: navigation, search
 
m (1 revision)
 

Latest revision as of 19:14, 15 February 2013

Contents

= (**COPIED FROM ENGLISH PAGE**) === Action

Initialize the file system

 

 

Syntax

bErrorCode = INITFILESYSTEM (bPartitionNumber)

 

 

Remarks

bErrorCode

(Byte) Error Result from Routine, Returns 0 if no Error

bPartitionNumber

(Byte) Partition number on the Flashcard Drive (normally 1)

 

Reads the Master boot record and the partition boot record (Sector) from the flash card and initializes the file system.

This function must be called before any other file-system function is used.

 

 

See also

OPEN , CLOSE, FLUSH , PRINT, LINE INPUT, LOC, LOF , EOF , FREEFILE , FILEATTR , SEEK , BSAVE , BLOAD , KILL ,DISKFREE , DISKSIZE , GET , PUT , FILEDATE , FILETIME , FILEDATETIME , DIR , FILELEN , WRITE , INPUT, AVR-DOS File System

 

 

ASM

Calls

_GetFileSystem

 

Input

r24: partitionnumber (1-based)

 

Output

r25: Errorcode

C-Flag: Set on Error

 

 

 

Partial Example


Dim bErrorCode as Byte
bErrorCode = InitFileSystem(1)
If bErrorCode > 0 then
 Print "Error: "; bErrorCode
Else
 Print "Filesystem successfully initialized"
End If

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language
Database error - MCS Wiki AVR

Database error

(Difference between revisions)
Jump to: navigation, search
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "". Database returned error "1020: Record has changed since last read in table 'avr_page' (localhost)".
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language