returns 2)
AH
Minor version number (e.g. Version 2.10
returns 10)
BL
Version letter (e.g. Version 2.10B returns
‘B’)
Carry flag set if error
AL
Error
code
Comments:
This function returns the version number of the
BIOS extension
Programming example:
/* Inline assembly code for Borland C++ 3.1 */
unsigned char majorVersion;
unsigned char minorVersion;
unsigned char versionLetter;
/* Inline assembly code for Borland C++ 3.1 */
asm {
MOV
AX, 0fb00h
MOV
DX, 0ffffh
INT
17h
MOV
majorVersion, AL
MOV
minorVersion, AH
MOV
versionLetter, BL
}
System functions
The XE–700 has two additional INT 17 functions; Return CPU Type and Get
Functions Implemented.
Return CPU Type
This function returns the CPU type and the system clock speed.
Function:
0fbh
Sub-Function:
01h
Purpose:
To obtain the CPU type and clock speed
Calling Registers:
CL
01h
AL
01h
DX
0ffffh
Return Registers:
Carry flag cleared if successful
A1
Hclock
speed
0x00 = 25 MHz
0x04 = 50 MHz
0x08 = 60 MHz
0x0C = 66 MHz
CL
0x01 STPC Atlas
0x00 not Atlas
CH
Clock
multiplier
91
Содержание XE-700
Страница 18: ...Figure 2 1 XE 700 SBC component diagram top 18 ...
Страница 19: ...Figure 2 2 XE 700 SBC component diagram bottom 19 ...
Страница 20: ...Figure 2 3 XE 700 SBC dimensions 20 ...