delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/04/23:52:03

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199607050346.AA039288379@relay1.geis.com>
Date: Fri, 5 Jul 96 03:27:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Setpixel in AT&T inline as

Reply to message 3507137    from VECNA AT WALDEN. on 07/04/96  1:54PM


I'm not familiar with assembly, AT&T or otherwise, but you may want
to download one of the DJGPP graphical libraries like Allegro, and
examine their versions of putpixel and other graphics routines.

>Also, could someone confirm or correct me
>that a char is a byte, an int is 16 bits? (or is it 32?) geez, what I wouldn't
>give for db, dw, and dd right now.... oh well, thanks in advance.. :)

As DJGPP is a 32-bit compiler, it uses 32-bit words, i.e., 32-bit ints.
This is easy enough to check by writing a simple program that
examines sizeof() on all the basic data types.

John

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019