SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-53
Equipment Determination: INT 11h
BIOS
Returns the equipment information stored in the word located at 40:10h in the
BIOS data area.
On Entry:
None
On Return:
AX = Equipment information
The value returned in register pair AX, the equipment information word, is as
follows:
Bits 15ć14 Number of printer channels
Bit 13
Internal modem installed
Bit 12
Joystick installed
Bits 11ć9
Number of RSĆ232 channels
Bit 8
Not used
Bits 7ć6
Number of disk drives if bit 0 = 1:
0 = One drive
1 = Two drives
Bits 5ć4
Initial video mode:
0 =
not used
1 = 40x24 color
2 = 80x25 color
3 = 80x25 B/W
Bit 3
Not used
Bit 2
Pointing device installed
Bit 1
Math coprocessor installed
Bit 0
Disk available for boot
Memory Size Determination: INT 12h
BIOS
Returns the contents of location 0040:0013h in the BIOS data area in the AX
register, which contains the amount of RAM available to the operating
systemĊup to 640KĊas determined by the POST. The value returned indicates
the number of 1 KB blocks available, but does not include the interrupt vector
memory, BIOS data memory, or extended BIOS data memory areas.
On Entry:
None
On Return:
AX = Contents of location 0040:0013
Certain memoryĆsize information is stored in CMOS RAM located in the
realĆtime clock. The organization of this data is as follows:
Offset
Size
Description
15h
byte
Base Memory in 1 KB multiples, low byte
16h
byte
Base Memory in 1 KB multiples, high byte
17h
byte
Extended Memory in 1 KB multiples, low byte
18h
byte
Extended Memory in 1 KB multiples, high byte
6. Conversions and
Interfaces