www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/04/07:42:03

Organization: Multisoft
Message-ID: <000301bfce16$aef8b340$4202a8c0@piter>
From: "Rat" <rat AT silver DOT ms DOT odessa DOT ua>
To: <djgpp AT delorie DOT com>
Subject: Please, help!
Date: Sun, 4 Jun 2000 14:08:48 +0300
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Reply-To: djgpp AT delorie DOT com

Hello, guru!
I have a two trouble.
1. Under MS-DOS call to BIOS int 13h function 15h all right, in case Windows 98SE for all hard drives carry flag alvays
return 1. Why?

    union REGS in, out;
        in.h.ah = 0x15;
        in.h.dl = drive;
        int86( 0x13, &in, &out ); // - Return CF==1 for hard drives (under Windows 98SE)
        if( out.x.cflag )
            Present[i] = false;
        else
        {...  skip some code...

If i compile this code with Borland C++ 3.1 compiler - all working done.

2. Under DOS linker not work - long filenames, how i can compile it under DOS? Why compiler _UNDER DOS_ use LONG
FILENAMES!? How i can solve this problem?


- Raw text -


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