Mail Archives: djgpp/1998/04/01/00:01:16
From: | "Daniel Urquhart" <NoSpamdurquhart AT jlcrowe DOT org>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Boarland 3.x to DJGPP v2
|
Date: | Tue, 31 Mar 1998 19:08:46 -0800
|
Organization: | BCTEL Advanced Communications
|
Lines: | 26
|
Message-ID: | <6fsgdi$988$2@news.bctel.net>
|
NNTP-Posting-Host: | tral01m01-19.bctel.ca
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Please Help Me. I am porting some code from an old copy of Boarland's Turbo
C++ lite or what ever they call the demo version. I found the memory limits
to restricting.
I managed to port my (unoptomised) graphics class but my Mouse function
Mouse::Moved_XY() doesn't work !
it calls:
regs.w.ax = 3;
int86(0x33,®s,®s);
to get the distance the mouse has moved. It works when returning positive
value's but what it returns a neative vaue I get a HUGE number instead (ie.
< 6000).
Also I have tried several variations with equal results (__dpmi_int()
and used regs.x.ax)
Please respond by E_Mail also (this is a REALLY BIG newsgroup)
Thanks in advance !!!
--
remove NoSpam From my E-mail to reply !
- Raw text -