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

Re: [MiNT] ()



> > 	newcookie[i].tag   = COOKIE_TIME;
> > 	newcookie[i].value = &timestamp;
> 
> Huh!? Petr, I don't have the whole MiNT source memorized, but AFAIK,
> datestamp and timestamp are located in kernels PRIVATE MEMORY. It is
> definitely not allowed to access them this way!

on 68040 I haven't noticed any bad effects (there's no private memory I
guess). Anyway, if the cookie won't be installed by MiNT one can always
install them with the DTCOOKIE hack that will do the same as the code
above.

Petr