From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: as internal declarations - gfx demo Date: Wed, 26 Aug 1998 19:55:19 -0300 Organization: NBTel Internet Lines: 18 Message-ID: <35E49256.B5616B95@unb.ca> References: <6rvag9$82e$3 AT news2 DOT saix DOT net> NNTP-Posting-Host: fctnts07c01.nbnet.nb.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Rylan wrote: > Hi, > I translated these to C include files, using "unsigned > int" for "dw" and "unsigned char" for "db" like it was used for NASM. IMPORTANT: "unsigned int" is 32-bits!! You should put "unsinged short", that is 16-bits (int all ANSI C versions). -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca