delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/30/15:00:15

From: "Markus Meng" <meng DOT engineering AT bluewin DOT ch>
Newsgroups: comp.os.msdos.djgpp
References: <3eafd245$1_8 AT corp DOT newsgroups DOT com>
Subject: Re: [Help] Application Crashes ... due to SIGSEGV ...
Date: Wed, 30 Apr 2003 21:01:20 +0200
Lines: 76
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 213.3.249.107
X-Original-NNTP-Posting-Host: 213.3.249.107
Message-ID: <3eb01ca3$1_2@news.bluewin.ch>
X-Trace: news.bluewin.ch 1051729059 213.3.249.107 (30 Apr 2003 20:57:39 +0200)
Organization: Bluewin AG
Complaints-To: abuse AT bluewin DOT ch
X-Original-NNTP-Posting-Host: 127.0.0.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all,

now I catched myself, sorry for posting. What I see is the working memory
protection ... ;-)

Now the question is, how can I make use of my software with minimal changes
in order to use the 32Bit pointer arithmetic unchanged in the source but
still
accessing the conventional memory at the address 0x000D0000..0x000DFFFF
64KB range .. ??

markus

"Markus Meng" <meng DOT engineering AT bluewin DOT ch> schrieb im Newsbeitrag
news:3eafd245$1_8 AT corp DOT newsgroups DOT com...
> Hi all,
>
> I focus the following problem that I actually doesn't know how to solve
it.
> I did write a software for testing a PC104 hardware board.
>
> The first development was made on Windows 98 using LCC-WIN32
> The program works fine. It mainly consists of two parts
> a.) a small part reading/writing io registers of the card
> b.) the remaining larger part doing read/write accesses on the memory
> location
> 0x000D0000...0x000D0000
>
> It works fine under windows 95/98
>
> Now I went on my 2nd Windows XP machine and did the following.
>
> a.) Download DJGPP compiler system for 2000/XP
> b.) compiled everything - with minimal changes - and transferred the
> compiled program to a native DOS machine having 64 megs of ram.
> In the same directory I stored the the files from the csdpmi5b.zip
> archive. Now the following happens:
>
> The application comes up printf to the screen and user input seems
> to work. Access to the IO space of the DOS based PC work as well
>
> However the application crashes as soon as some of the memory location
> 0x000D0000...0x000D0000 are being accessed.
>
> What did I oversee, it's plain ANSI-C and it worked with LCC-WIN32??
>
> Any help would be appreciated
>
> markus
>
>
> --
> Mit freundlichen Grüssen
> Markus Meng
>
> P.S. Achtung wir haben eine neue FAX-Nummer
> ********************************************************************
> ** Meng Engineering        Telefon    056 222 44 10               **
> ** Markus Meng             Natel      079 230 93 86               **
> ** Bruggerstr. 21          Telefax    056 222 44 34 <-- NEU !!    **
> ** CH-5400 Baden           Email      meng DOT engineering AT bluewin DOT ch **
> **                         Web        www.meng-engineering.ch     **
> ********************************************************************
> ** You cannot create experience. You must undergo it. Albert Camus**
>
>
>
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----==  Over 80,000 Newsgroups - 16 Different Servers! =-----


- Raw text -


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