Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - format of dos 4.x disk buffer hash chain head (array, one entry per chain): http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Format of DOS 4.x disk buffer hash chain head (array, one entry per chain):
Offset  Size    Description
 00h    WORD    EMS logical page number in which chain is resident, -1 if not
                in EMS
 02h    DWORD   pointer to least recently used buffer header.  All buffers on
                this chain are in the same segment.
 06h    BYTE    number of dirty buffers on this chain
 07h    BYTE    reserved (00h)
Notes:  buffered disk sectors are assigned to chain N where N is the sector's
          address modulo NDBCH,  0 <= N <= NDBCH-1
        each chain resides completely within one EMS page
        this structure is in main memory even if buffers are in EMS

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson