TS-3200 User’s Manual
Technologic Systems
05/21/2009
23
Appendix D - BIOS Interrupt Functions
We have extended the standard BIOS interrupts with several functions that simplify interfacing with the
TS-3200 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.
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-3200.
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.
BH = BIOS Version, Major Number.
E.g. If the current BIOS version is 1.25, the register will contain
01h
.
BL = BIOS Version, Minor Number.
E.g. If the current BIOS version is 1.25, the register will contain
19h
(19h = 25 decimal).
CH = Base Flash Memory Size / 512kB
The TS-3200 is available with 1024kB of base Flash memory standard. This would be
returned as
02h
.
CL = 15h
This is the hardware model number (15h = 21 decimal).
DX = 'TS' (5452h)
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 = 0
Содержание TS-3200
Страница 1: ...TS 3200 User s Manual...