kjt_dir_list_get_entry
Created by: phil, Last modification: Thu 11 of Mar, 2010 (13:14 UTC)
Name:
kjt_dir_list_get_entry
Action:
Returns data about the entry at the current position in the directory list.
Input registers: None
Output registers:
HL = Location of null terminated filename string
IX:IY = Length of file (if applicable)
B = File flag (1 = directory, 0 = file)
If Zero Flag is set, operation completed OK
If Zero Flag not set, there was an error:
If A = $00, B = hardware device error flags
A <>$00, see error code table (EG: $24 = Reached end of directory)
kjt_dir_list_get_entry
Action:
Returns data about the entry at the current position in the directory list.
Input registers: None
Output registers:
HL = Location of null terminated filename string
IX:IY = Length of file (if applicable)
B = File flag (1 = directory, 0 = file)
If Zero Flag is set, operation completed OK
If Zero Flag not set, there was an error:
If A = $00, B = hardware device error flags
A <>$00, see error code table (EG: $24 = Reached end of directory)