www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/15:40:58

From: Endlisnis <s257m AT unb DOT ca>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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




- Raw text -


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