www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/25/13:57:50

Date: Tue, 25 May 1993 12:28:27 -0500
From: "Mark H. Wood" <IMHW400 AT INDYVAX DOT IUPUI DOT EDU>
Subject: CONFIG.SYS parameters
To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU

Call INT21, function 52h, to get a pointer (in)to the so-called Configuration 
Vector Table.  At offset 4 in the CVT is a pointer to the head of the DCB 
chain.  I'm told that FILES= is used to set the number of DCBs allocated, so 
step down the chain and count them by summing the number of blocks in each 
link.  (I've never done this myself; I'm getting this stuff out of Terry 
Dettman's _DOS Programmer's Reference_, 2/e, in Appendix E:  The Reserved DOS 
Functions.  (Lotsa good stuff in there!)  You should be able to dig out the 
arguments to BUFFERS= and FCBS= by similar, but slightly more complicated, 
means.


- Raw text -


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