Mail Archives: djgpp/1993/05/25/13:57:50
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 -