INT 2F u - Quarterdeck RPCI - VIDRAM v5.0+ - INSTALLATION CHECK AX = D201h BX = 5649h ("VI") CX = 4452h ("DR") DX = 414Dh ("AM") Return: BX = 4F4Bh ("OK") ES:DI -> VIDRAM entry point (see #03080) Range: AH=C0h to AH=FFh, selected by scanning AH=D2h-FFh, then AH=C0h-D1h SeeAlso: AX=D200h (Table 03080) Call VIDRAM entry point with: AH = 00h get status Return: AL = VIDRAM state (see #03081) BL = extra RAM(Random Access Memory) See also DRAM, SRAM. status (see #03082) BH = feature flags (see #03083) CL = current monitor (01h = mono, 80h = color) SI = current top of memory (paragraph) DI = segment of start of HiRAM chain AH = 01h setup AL = VIDRAM state (see #03081) BL = extra RAM(Random Access Memory) See also DRAM, SRAM. status (see #03082) BH = feature flags (see #03083) CL = monitor (01h = monochrome, 80h = color) SI = new top of memory (paragraph) DI = segment of start of HiRAM chain AH = 02h get end address of VIDRAM code Return: ES:DI -> VIDRAM partial map context (see #03084,#03085) Return: CF set on error CF clear if successful (Table 03081) Values for VIDRAM state: 00h off 01h no EGAEnhanced Graphics Adapter(Enhanced Graphics Adapter) IBMInternational Busiuness Machines's second color video board for the IBMInternational Busiuness Machines PCIBM PC family, capable of a maximum resolution of 640x350 pixels in 16 simultaneous colors of a total of 64 possible colors. graphics 02h no graphics at all (Table 03082) Values for VIDRAM extra RAM(Random Access Memory) See also DRAM, SRAM. status: 00h VIDRAM does not use extra RAM(Random Access Memory) See also DRAM, SRAM. 01h VIDRAM uses EMSsee Expanded Memory Specification as extra RAM(Random Access Memory) See also DRAM, SRAM. 02h VIDRAM uses EGAEnhanced Graphics Adapter(Enhanced Graphics Adapter) IBMInternational Busiuness Machines's second color video board for the IBMInternational Busiuness Machines PCIBM PC family, capable of a maximum resolution of 640x350 pixels in 16 simultaneous colors of a total of 64 possible colors. as extra RAM(Random Access Memory) See also DRAM, SRAM. Bitfields for VIDRAM feature flags: Bit(s) Description (Table 03083) 0 override enabled 1 mapped memory detected in A000h-B000h range 2 top of memory not at 640K 3 MDA(Monochrome Display Adapter) A text-only video adapter introduced together with the original IBMInternational Busiuness Machines PCIBM PC. See also CGAColor Graphics Adapter, HGC. detected 4 high RAM(Random Access Memory) See also DRAM, SRAM. exists in video area 5 mapped memory detected in video area 6-7 reserved??? Format of VIDRAM partial map context (EMSsee Expanded Memory Specification 3.2): Offset Size Description (Table 03084) 00h BYTE EMSsee Expanded Memory Specification version ID (32h) 01h WORD EMM handle for this entry 03h BYTE number of frames 04h BYTE first page frame 05h WORD offset from ES to previously saved map Format of VIDRAM partial map context (EMSsee Expanded Memory Specification 4.0): Offset Size Description (Table 03085) 00h BYTE EMSsee Expanded Memory Specification version ID (40h) 01h WORD mappable segment count 03h N WORD mappable segments WORD offset to previously saved map???