delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/25/12:52:51

From: JS Churchill <churchs3 AT boat DOT bt DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: UPDATE : Page Fault During Interupt
Date: Tue, 25 Aug 1998 14:28:59 +0100
Organization: British Telecommunications plc
Lines: 9
Message-ID: <35E2BC1B.494B@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 changed the _crt0_startup_flags which was
int _crt0_startup_flags = _CRT0_FLAG_NEARPTR | _CRT0_FLAG_NONMOVE_SBRK;

it now includes _CRT0_FLAG_LOCK_MEMORY;

it now works perfectly under DOS and windows using malloced mem
but could someone pleas tell me why it was not working without this..
thanks in advance
Simon

- Raw text -


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