TS-5400 User’s Manual
Technologic Systems
10/31/03
30
Appendix E - BIOS Interrupt Functions
We have extended the standard BIOS interrupts with several functions that simplify interfacing with the
TS-5400 hardware.
Many books are available with detailed information on using interrupts with just about any language.
Example code is also available on the utility disk.
You can download the complete “User’s Manual with BIOS Interrupt Reference” from the Technologic
Systems website:
http://www.embeddedx86.com/downloads/EBIOS-UM.PDF
Int 15h / Function B000h - Technologic Systems BIOS information
This function is mostly for our own internal use, but may be useful for user programs as well. For
example, your program could have debugging code that executes on your desktop machine, but does
not when the program is executing on the TS-5400.
ENTRY:
AX = B000h
EXIT:
CY = 0 (carry flag)
AH = 0
AL = SP_VERSION
For standard versions of the BIOS, this is 0. An 'SP number' is assigned when custom
modifications are made to the BIOS for a client, and it is returned in this register. Contact us
for further information. (00h for standard products)
BH = BIOS Version, Major Number.
E.g. If the current BIOS version is 2.40, the register will contain 02h.
BL = BIOS Version, Minor Number.
E.g. If the current BIOS version is 2.40, the register will contain 28h (28h = 40 decimal).
CH = Base Flash Memory Size / 512kB
The TS-5400 is available with 1024kB of base Flash memory standard, but this can be
increased to 2048 KB for custom orders. These would be returned as 02h or 04h,
respectively.
CL = 50h
This is the hardware model number (50h = 80 decimal).
DX = Always returns: 'TS' (5453h)
Int 15h / Function B010h - LED Control
This function is used to turn the board LED on and off. You can also invert the LED, i.e. if the LED is off,
it will be turned on, and if it is on it will be turned off.
ENTRY:
AX = B010h
BH =
00
- LED off.
01
- LED on.
81
- LED invert.
EXIT:
CY = 0 (carry flag)
AH = 00
Summary of Contents for TS-5400
Page 1: ...TS 5400 User s Manual ...