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 memory control block (see also below): http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Format of memory control block (see also below):
Offset  Size    Description
 00h    BYTE    block type: 5Ah if last block in chain, otherwise 4Dh
 01h    WORD    PSP segment of owner, 0000h if free, 0008h if belongs to DOS
 03h    WORD    size of memory block in paragraphs
 05h  3 BYTEs   unused
---DOS 2.x,3.x---
 08h  8 BYTEs   unused
---DOS 4.x---
 08h  8 BYTEs   ASCII program name if PSP memory block, else garbage
                null-terminated if less than 8 characters
Notes:  under DOS 3.1+, the first memory block is the DOS data segment,
          containing installable drivers, buffers, etc.
        under DOS 4.x it is divided into subsegments, each with its own memory
          control block (see below), the first of which is at offset 0000h

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