From: "Markus Meng" Newsgroups: comp.os.msdos.djgpp Subject: [Help] Application Crashes ... due to SIGSEGV ... Date: Wed, 30 Apr 2003 15:36:19 -0000 Lines: 53 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.254.166.87 Message-ID: <3eafd245$1_8@corp.newsgroups.com> X-Trace: corp.newsgroups.com 1051710021 80.254.166.87 (30 Apr 2003 08:40:21 -0500) X-Comments: This message was posted through Newsfeeds.com X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Organization: Newsfeeds.com http://www.newsfeeds.com 100,000+ UNCENSORED Newsgroups. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie 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! =-----