Date: Thu, 9 May 1996 07:51:57 +0200 (IST) From: Eli Zaretskii To: John Fortin Cc: djgpp AT delorie DOT com Subject: Re: more sizeof questions In-Reply-To: <199605090048.UAA09442@eelab.newpaltz.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 8 May 1996, John Fortin wrote: > OK, I'm a bit confused..(nothing new i'm afraid)... The structure > below was taken from the VESA 1.2 spec. sizeof(_VGAInfoBlock) should > be 256. DJGPP gives 260. What's up with this. A previous posting > mentioned 4 byte boundaries, but 256 is divisable by 4. Any Ideas?? Please read section 22.9 of the DJGPP FAQ list, it explains this issue in detail. The FAQ is available as v2/faq200b.zip from the same place you get DJGPP. Or you can read the FAQ on-line if you point your Web browser to this URL: http://www.delorie.com/djgpp/v2faq/faq.html