delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/21/16:18:09

Message-ID: <3900B453.F41CC292@hotmail.com>
From: Andrew Hakman <hakmana AT hotmail DOT com>
X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: 387 page fault thing
Lines: 28
Date: Fri, 21 Apr 2000 20:05:18 GMT
NNTP-Posting-Host: 142.13.16.203
X-Trace: typhoon.mbnet.mb.ca 956347518 142.13.16.203 (Fri, 21 Apr 2000 15:05:18 CDT)
NNTP-Posting-Date: Fri, 21 Apr 2000 15:05:18 CDT
Organization: MBnet Networking Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I was just wondering, because the original library works fine, then I
went and changed it (added the 3 doubles that are now causing the grief)
is there something that would have to be changed in allocating the
callback, or the callback itself because now more memory is involved for
the extra doubles (if this doesn't make any sense, just say so... I
don't really have any expierience writing interupt driven things... if
you know of anything that might help me understand how this works
exactly, that would be great to) The two parts of the assignment can be
accessed from any (haven't _tried_ all, but rather just one) function
outside of the callback function itself without any problems whatsoever.
This leads me to think that something in how the callback is initalized
tells it how much memory it is allowed to touch, and the doubles in the
buffer, and the recieve packet itself are outside of that range.

Also, from what I have said above, it should be obvious that, "It might
be a good idea to try to write a test program that uses _go32_* wrappers
for real-mode callback, but for some interrupt that's different from
what your present program used..." is a little over my head at this
point.

I have also read (somewhere) that the FP stuff is hard to figure out
since you (and others) don't have boards without a hardware FPU on it.
If it would help at all, I could probably send you a couple of the
boards I'm using (I've got lots).

Thanks again for the help
Andrew

- Raw text -


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