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) - int 67 - lim ems 4.0 - get expanded memory hardware information http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 67 - LIM EMS 4.0 - GET EXPANDED MEMORY HARDWARE INFORMATION
        AH = 59h
        AL = subfunction
            00h get hardware configuration array
                ES:DI -> buffer to be filled with array (see below)
            01h get unallocated raw page count
                Return: BX = unallocated raw pages
                        DX = total raw pages
Return: AH = status
            00h successful
            80h internal error
            81h hardware failure
            84h undefined function requested
            8Fh undefined subfunction
            A4h access denied by operating system
Note:   subfunction 00h is for use by operating systems only, and can be
          enabled or disabled at any time by the operating system

Format of hardware configuration array:
Offset  Size    Description
 00h    WORD    size of raw EMM pages in paragraphs
 02h    WORD    number of alternate register sets
 04h    WORD    size of mapping-context save area in bytes
 06h    WORD    number of register sets assignable to DMA
 08h    WORD    DMA operation type
                0000h DMA with alternate register sets
                0001h only one DMA register set

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