AH = D6h: Get Bitmap
This function returns information about a specified Bitmap table. There are 3 subfunctions that correspond to different ways to specify the desired Bitmap table:
Subfunction 00h: Get Bitmap from Level N of BMSTK
- Input: AX = D600h
BX = N (1-7: 1=Lowest Level)
- Output: If Successful - CC
AX = ID
BX = n (#Symbols)
CX = [h,w] (Cell Dimensions)
DH = Status (Hi Bit Set if Active)
DL = Format (1,2,4,8)
DI = Offset (From the start of 16K buffer)
If Unsuccessful, CS
- Registers modified: AX, BX, CX, DX, DI, FLAGS
- Error conditions: No bitmap at level N
Subfunction 01h: Get Bitmap with specified ID from BMSTK
- Input: AX = D601h
- BX = ID (2^k; 0<=k<=15)
- Output: If Successful, CC
AX = ID
BX = n (#Symbols)
CX = [h,w] (Cell Dimensions)
DH = Status (Hi Bit Set if Active)
DL = Format (1,2,4,8)
DI = Offset (From the start of 16K buffer)
If Unsuccessful, CS
- Registers modified: AX, BX, CX, DX, DI, FLAGS
- Error conditions: No bitmap with specified ID
Subfunction 02h: Get the active Bitmap from BMSTK
- Output: If Successful, CC
AX = ID
BX = n (#Symbols)
CX = [h,w] (Cell Dimensions)
DH = Status (Hi Bit Set)
DL = Format (1,2,4,8)
DI = Offset (From the start of 16K buffer)
If Unsuccessful, CS
- Registers modified: AX, BX, CX, DX, DI, FLAGS
- Error conditions: No active bitmap