To keep backward compatibility auxtype and the date/time are kept
separated.
A struct similar to the one used in dirent.h is used to access the
create_date and create_time fields.
  * following variables to determine the file type and the aux type to use.
  */
 extern unsigned char _filetype;  /* Default 6 */
+extern unsigned int _auxtype;   /* Default 0 */
 extern struct {
-    unsigned int aux;
-    unsigned char storage;
-    unsigned int date;
-    unsigned int time;
-} _auxtype;   /* Default 0 */
+    struct {
+        unsigned day  :5;
+        unsigned mon  :4;
+        unsigned year :7;
+    }             createdate;
+    struct {
+        unsigned char min;
+        unsigned char hour;
+    }             createtime;
+} _datetime;
 
 /* The addresses of the static drivers */
 #if !defined(__APPLE2ENH__)
 
 ;
 
         .export         _open, closedirect, freebuffer
-        .export         __filetype, __auxtype
+        .export         __filetype, __auxtype, __datetime
         .constructor    raisefilelevel
         .destructor     closeallfiles, 5
 
 __auxtype:
         .word   $0000           ; AUX_TYPE:     Load address N/A
         .byte   $01             ; STORAGE_TYPE: Standard seedling file
+__datetime:
         .word   $0000           ; CREATE_DATE:  Current date
         .word   $0000           ; CREATE_TIME:  Current time