delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/26/08:57:44

Date: Thu, 26 Sep 1996 14:48:53 +0200 (MET DST)
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Reply-To: grendel AT ananke DOT amu DOT edu DOT pl
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp-workers AT delorie DOT com
Subject: Function to return phys drive
Message-ID: <Pine.NEB.3.95.960926144739.22355B-100000@ananke.amu.edu.pl>
MIME-Version: 1.0

Eli, here's a function which does just that what you want. 
The included zip archive contains also some modifications
to the _get_dos_version() function from libc.

------------- cut here ---------------------------------------
	       source file name : GETPHYSD.ZIP
		  original size : 3874 (4Kb)
		     created on : 26-Sep-96 04:55:58
		     encoded on : 26-Sep-96 04:56:35
       approximate encoded size : 6Kb
	     number of sections : 1
	      lines per section : 87


section 1 of file getphysd.zip  < uuencode by Dos Navigator >

filetime 557459197
begin 644 getphysd.zip
M4$L#!!0``@`(```(.2$MZX0LE`8``*\3```*````9V5T<&AY<V0N8ZU8;5/;%
M.!#^GE^QEPZ-TT)("-"6EV.@"3UFRLN0]-K>=":CV'*LPY%\DIPXU_:_WTIVT
M;"=P!"AFIE!YG]W5ZMD7^07S/>I#O]OK5UXP[H:Q1^%`:8^)1O![:<G5LXC:!
M)<H]YB\*AVRX**UF:G,L)M0CFMQ^XQ,9:;FX[D5CMK AT R$NVM)1FA%A>HE-SZB
M6:&)II+#0-#Q@,?C(97[E8K21#,7&->50<Q5'$5":NH-A'+JE>\5`#5EV AT V<O
M$JJ.J^8-P.8KJ/:(3ZO0N>Q1U8`S#BY1%`B?@?"!:?QOK*@"+44\#.DZF!V;F
M=2U`!]1JP:?J$3ZB**.J$!&I&W`<AE`+QN-&HP%'^-2`2`1R\%"1;EC AT JTW[\
MRUK$I[D'F5-G)^=P]7X#G5J6:>4R[\4X(O_`'3);N<PY<Z50PM=WB6WG8L?]]
MEWTKL0&%Q\OB.[GX7Y0S':P$[.:`/^@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@YL
M(=Y9I9<M````+0````@```!O96UN=6TN8R-I;F-L=61E(#QD;W,N:#X*"G5NN
M<VEG;F5D(&-H87(@7V]E;5]N=6UB97(["E!+`0(5`!0``@`(```(.2$MZX0L9
ME`8``*\3```*````(`````$`(`````````!G971P:'ES9"YC9V5T<&AY<VECK
M86QD<FEV92!F=6YC=&EO;B!S;W5R8V502P$"%0`4``(`"```"#DAMG=-KRP%*
M``!Q"P``"@```#(````!`"````"\!@``9V5T9&]S7W8N8W-L:6=H=&QY(&UOJ
M9&EF:65D(&=E=%]D;W-?=F5R<VEO;B AT I(&9R;VT AT 9&IG<'`@,BXQ4$L!`A4`;
M%``"``@```@Y(9&HZX6_````-`$```@````5`````0`@````$`P``&UA:V5FG
M:6QE;6%K969I;&4 AT 9F]R(&%L;"!T:&ES4$L!`A4`"@`"``````@Y(=Y9I9<M=
M````+0````@````B`````0`@````]0P``&]E;6YU;2YC9&5F:6YI=&EO;B!OJ
M9B!?;V5M7VYU;6)E<B!V87)I86)L95!+!08`````!``$`&4!``!(#0``7P!4\
M:&ES(&%R8VAI=F4 AT 8V]N=&%I;G,@9G5N8W1I;VX@=&\@<F5P;W)T('!H>7-IQ
M8V%L(&1E=FEC92!O;B!W:&EC:"!T:&4 AT 9VEV96X@;&]G:6-A;"!D:7-K(&QI2
$=F5S+@``V
``
end
sum -r/size 37539/5459 section (from "begin" to "end")
sum -r/size 35992/3874 entire input file

crc64 6448e63c476e3ea8 section (from "begin" to "end")
crc64 8b259c1a68e92fe7 entire input file


---------------------------------------------------------------------------
You can't brush me under the carpet, you can't hide me under the stairs,
The custodian of your private fears, your leading actor of yesteryear,
Who as you crawled out of the alleys of obscurity, sentenced to rejection
 in the morass of anonymity. You who I directed with a lover's will, you
 who I let hypnotise the lens. You who I let bathe in the spotlights glare.
You who wiped me from your memory like a greasepaint mask, just like a
 greasepaint mask...
-------------------- http://ananke.amu.edu.pl/~grendel -------------------

- Raw text -


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