Spurred on by an email from Alvaro I confirmed my suspicions on some of the unknowns in the PSV data structures I posted the other day.
The missing data in the directory and file info was of course the time stamps.
The updated structures look like this:
TMainDirInfo = record
CreateReserved: byte;
CreateSeconds : byte;
CreateMinutes : byte;
CreateHours : byte;
CreateDays : byte;
CreateMonths: byte;
CreateYear : word;
ModReserved: byte;
ModSeconds : byte;
ModMinutes : byte;
ModHours : byte;
ModDays : byte;
ModMonths: byte;
ModYear : word;
filesize : integer;
attribute : integer;
filename : array[0..31] of char;
end;
TFileInfo = record
CreateReserved: byte;
CreateSeconds : byte;
CreateMinutes : byte;
CreateHours : byte;
CreateDays : byte;
CreateMonths: byte;
CreateYear : word;
ModReserved: byte;
ModSeconds : byte;
ModMinutes : byte;
ModHours : byte;
ModDays : byte;
ModMonths: byte;
ModYear : word;
filesize : integer;
attribute : integer;
filename : array[0..31] of char;
positionInFile : integer;
end;
The Header structure still has quite a few unknowns in it though….