From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: Really Huge Numbers Date: Wed, 15 Jul 1998 20:40:29 -0400 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 40 Message-ID: <35AD4BFD.3203@cam.org> References: <35ace841 DOT 0 AT news DOT provide DOT net> NNTP-Posting-Host: dialup-766.hip.cam.org 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 Lord Daedron wrote: > > Another one my current projects is a DOS install program to be used with my > other projects. I have it completed, but i have a problem: I wish to store > the file sizes of all files packed in my compressed archive, along with the > total of all file sizes. Using an unsigned int ( I read this is same as > unsigned long? ) this gives me a maximum of about 4 megs ( any bigger > numbers will overflow ). Is there a bigger integer type or a class for > stroing really huge numbers so I could install more than 4 megs? these are the sizes in bytes for the variables in DJGPP: char : 1 short : 2 int : 4 long : 4 long long : 8 float : 4 double : 8 long double : 12 this is the program I used to find them: #include #define printsize(x) printf(#x);printf(" : %d\n",sizeof(x)) main() { printsize(char); printsize(short); printsize(int); printsize(long); printsize(long long); printsize(float); printsize(double); printsize(long double); } nged? > loopne discharge ; if the stick isn't ready then --cx and loop > > sti ; re-enable interrupts > xor ax,ax ; zero out ax > sub ax,cx ; ax now holds the position of the axis switch > > } // end asm > > // since ax has the result the function will return it properly > > } // end Joystick > > i just been with djgpp for 3 days now.. Trying to convert my inline asm > codes over.. > > PS I'am not using allegro.. I'am making my own 2d game kit.. > > Thanks.. > > assembly AT swbell DOT net Do you mean converting from Intel syntax to AT&T? If so, visit http://www.rt66.com/~brennan/djgpp/djgpp_asm.html