| AL = 0 | ;assign barcode input |
| 1 | ;assign magnetic stripe input |
Returned Values: | None |
|
void TD_set_internal_type(int status)
{
regs.h.ah= 0x1A;
regs.h.al= (unsigned char)status; regs.h.bh= 6; int86(0x21,®s,®s); return(regs.h.al);
}
1F Enable the decoding of a barcode symbology
Entry Parameters: | AH = | 0x1F |
|
| BH = | 1 |
|
| AL = | 0 | ; Disable |
|
| 1 | ; Enable |
| BL = | 0 | ; All |
|
| 1 | : Code 39 |
|
| 2 | : I 2 of 5 |
|
| 3 | : CODABAR |
|
| 4 | : EAN/UPC |
Returned Values: | None | 5 | : Code 128 |
|
|
void TD_set_decode_status(int status,int type)
{
regs.h.ah = 0x1F;
regs.h.al = (unsigned char)status; regs.h.bh = 1;
regs.h.bl = (unsigned char)type; int86(0x21,®s,®s);
}
3.7.Miscellaneous: INT 21H
1A Check lithium battery level
Entry Parameters: AH = 0x1A
BH =09h