[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DOS3.3 program in cc65?



On Saturday, March 2, 2013 5:32:34 PM UTC-5, Bill Buckels wrote:
>
> Do you know if there is an undocumented call within ProDOS 8 to set the file 
> dates or is this simply not supported as a system call? I lost even some 
> more hair I didn't have searching for such a call a week or so ago... 
> perhaps I didn't look hard enough.

Maybe I'm misunderstanding you, but set_file_info will set the modification date of a file. If you want to change the creation date, it seems like you could open the containing directory as a file, scan for the entry and update it. If that's no good for some reason, you have read_block and write_block...