Message-ID: <000a01c02ed1$66e06b40$LocalHost@PRMIVV03> From: "Petr Maxa" To: Subject: Protected mode access to file system Date: Thu, 5 Oct 2000 15:37:25 +0200 Organization: SSE s.p. Zilina MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0007_01C02EE2.2911E8A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C02EE2.2911E8A0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Hi all. First of all I must to congratulate to a great job as with djgpp I have found a bug at an exact place which I would not have been found so easy without it. Secondly I must say, that I thought, that djgpp is approximately 2 times slower compiler than Borland. But I have eventually found that the opposite is true. But why ? It was because I was testing the end of program loop by bioskey(1) which in turn was calling realmode interrupt service 0x16, so switching to real mode. So the real mode - protected mode is very costed. So I installed keyboard driver and when the switching does not occurred, I found that djgpp is 2 times faster than Borland. OK, but I am still not satisfied completely because my program is making a lot serial communications on several ports (from 4 to 10 ports are used). For that communications I set-up protected mode isr. But I am afraid that when I write data to disk there might be some collision and overwhelm during the same mode switching as was stated above. I am also suspicious that due to using real mode services during compilation, the compilation time of djgpp is slow. So there is a question. Is not anywhere developed an library which uses a only 32 protected mode to files access (open, close, read, write, seek ...) which would run under DOS (not DOS box under W9X). Thanks a lot, Petr Maxa, Slovakia ------=_NextPart_000_0007_01C02EE2.2911E8A0 Content-Type: text/x-vcard; name="Ing. Petr Maxa.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Ing. Petr Maxa.vcf" BEGIN:VCARD VERSION:2.1 N:Maxa;Petr FN:Ing. Petr Maxa ORG:SSE TITLE:specialista pre vyvoj programov a systemoveho programoveho = vybavenia TEL;WORK;VOICE:089/5192636 ADR;WORK:;;Republiky 5;Zilina;;010 47;Slovakia LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Republiky 5=3D0D=3D0AZilina 010 = 47=3D0D=3D0ASlovakia X-WAB-GENDER:2 URL: URL:http://www.sse-za.sk EMAIL;PREF;INTERNET:maxa AT sse-za DOT sk REV:20001005T133725Z END:VCARD ------=_NextPart_000_0007_01C02EE2.2911E8A0--