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

Re: [MiNT] NVRAM free bytes?



Gerhard Stoll píše v Čt 09. 02. 2006 v 23:12 +0100:
> > does someone have an idea which bytes in our (Falcon/TT) NVRAM are free
> > to use?
> 
> -------------------------------cut-------------------------------
> typedef struct
> {
>   unsigned int bootpref;
>   char reserved[4];
>   unsigned char language;
>   unsigned char keyboard;
>   unsigned char datetime;
>   char separator;
>   unsigned char bootdelay;
>   char reserved2[3];
>   unsigned int vmode;
>   unsigned char scsi;
> } NVM;

sizeof(NVM) is 17, if I count right (and if sizeof(int) = 2). Are there
any free bytes behind this NVM struct? There is 64 bytes in the NVRAM,
IIRC. Some are used for RTC but definitely not 47 (64-17) bytes, so
there should be some other free section outside of the NVM struct, am I
right? Maybe those reserved3[31]. Yes, that would work: 14 (RTC) + 17
(NVM) + 31 (reserved3) + 2 (checksum) = 64.

Petr

P.S. Thanks, Gerhard, you're da man. You got so much information, that's
amazing.