=> R0 = reason code number
0 Parent of directory
1 Set number of files in directory
2 Insert entry
3 Remove entry
4 Map extension to type
5 Calculate directory length
6 Open scrap file
7 Close scrap file
This call is used to do things to archives (!).
SparkFS_Util 0
=> R0 = 0 (Parent of directory)
R1 = pointer to archive
R2 = child
<= R0 = parent
SparkFS_Util 1
=> R0 = 1 (Set number of files in directory)
R1 = no of files
SparkFS_Util 2
=> R0 = 2 (Insert entry)
R1 = pointer to archive
R2 = file number
R3 = directory
R4 = size
SparkFS_Util 3
=> R0 = 3 (Remove entry)
R1 = pointer to archive
R2 = file number
R4 = size
SparkFS_Util 4
=> R0 = 4 (Map extension to type)
R1 = pointer to extension
<= R0 = file type
SparkFS_Util 5
=> R0 = 5 (Calc dir lens)
R1 = pointer to archive
SparkFS_Util 6
=> R0 = 6 (Open scrap file)
R1 = mode
<= R0 = handle
SparkFS_Util 7
=> R0 = 7 (Close scrap file)
R1 = handle
|
|
|