X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: BIOS video fails under XP? Date: Sat, 28 Aug 2004 07:59:51 +1000 Organization: HOME Message-ID: References: <10iv5fkr0asqh36 AT corp DOT supernews DOT com> X-Newsreader: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 31 NNTP-Posting-Host: 220.233.15.233 X-Trace: 1093635802 un-2park-reader-01.sydney.pipenetworks.com.au 31718 220.233.15.233:3309 X-Complaints-To: Abuse, including message IDs to abuse AT pipenetworks DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >I have written a small, simple hex editor. It works properly >in a DOS box under Win98, compiled either with DJGPP or with >Turbo C 2.01. What is the text library used? If you are not using a text library then have a quick look at TVision and see how it goes. It may be of some help in seeing how it works. > In WinXP, the 16-bit Turbo C version works, >but the DJGPP version displays a screenful of garbage. I >suspect the problem is in the BIOS video interrupt interface. >Is this a known problem? No >Does the latest DJGPP work properly with the Int 10h functions? I have recompiled a few versions fo the Rhide 1.5/CVS about 1-2 years ago while working on the fixes required to get the LIBC updated to support XP with other people and did not have any problems with the resulting app with regards to garbage being displayed. Please check that you are using the latest DJGPP packages as old ones are not XP compatible. You could try the 2.04 beta release. On 2K and XP MS broke a number of low level int calls which caused a number of issues with the LIBC. In the code you are wrote/using there may be an API call that MS broke that is being used one way with TC and another way with DJGPP. Let us know how you get on. Andrew