delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/17/06:45:34

From: JS Churchill <churchs3 AT boat DOT bt DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: malloc'd memory access during mouse interupt
Date: Mon, 17 Aug 1998 11:33:37 +0100
Organization: British Telecommunications plc
Lines: 12
Message-ID: <35D80701.378D@boat.bt.com>
Reply-To: churchs3 AT boat DOT bt DOT com
NNTP-Posting-Host: pc5685.btlabs.bt.co.uk
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have a small problem which I cannot fiqure out at the mo' so
I would like a little help from you DJGPP veterens.

basically I am using near pointers using the __djgpp_nearptr_enable(),
I malloc some abitary memory usually less than 30K for a temp buffer
the pointer is a global pointer. the problem comes when I a try to
access the memory from within my mouse interupt service rountine
I get a segmentation violation, is there any special operation I need
to carry out in order to access this mem during an interupt???

thanks for any feedback
Simon

- Raw text -


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