#define FS_SWI      0x445C0


#define USERSWI      (FS_SWI+5)

0 - Identify archive

Entry

r0=0
r1=archive path

Exit

r0=type


1- Read archive entries

This is passed the path to an archive, and the path to a directory inside
the archive. In addition a wild carded file name can be used. 


Entry

r0=1
r1->archive path i.e. path to archive file on external FS
r2->buffer to write information to
r3= number of objects to write
r4= position in catalogue to start reading from
r5= size of buffer
r6->wild carded file name to match. Can be NULL to match all.
r7->path to directory inside archive

Exit

r4=position in catalogue to read from next
r3=number of entries written to buffer


Format of entry

offset 

0          load address
4          exec address
8          length              i.e. real uncompressed size
12         size                i.e. compressed size
16         header version      loosly related to the compression method
20         attributes
24         object type         1=file, 2=directory
28         object name         0 terminated, padded with 0's to word boundary.

Operation is similar in concept to OS_GBPB 10


