From mint-bounce@lists.fishpool.fi Fri Feb 10 08:10:09 2006 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: Re: [MiNT] NVRAM free bytes? From: Petr Stehlik To: mint@fishpool.com In-Reply-To: <200602092312.p46186@b.maus.de> References: <200602092312.p46186@b.maus.de> Content-Type: text/plain; charset=ISO-8859-2 Date: Fri, 10 Feb 2006 08:04:14 +0100 Message-Id: <1139555054.23647.10.camel@petr.sophics> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: joy@sophics.cz Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00 X-Spam-Level: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-508.st.uni-magdeburg.de id k1A7A8UC017827 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.