Automatically determine if ProDOS 2.5

This commit is contained in:
Bobbi Webber-Manners 2020-06-21 02:27:11 -04:00
parent 4fbe994a90
commit f12af42b16

View File

@ -390,7 +390,11 @@ int main(void)
if (!strcmp(datestr, "Sun"))
dow = 6;
dt.ispd25format = 1;
p = (unsigned char*)0xbfff;
if (*p == 0x25)
dt.ispd25format = 1;
else
dt.ispd25format = 0;
dt.nodatetime = 0;
dst = isDST(&dt, dow);