| BH = | 5 |
|
| BL = | 0 | ; for both 26- and |
|
| 26 | ; for |
|
| 36 | ; for |
|
| 0xff | ; for |
| AL = | 0 | ; Disable |
Returned Values: | None | 1 | ; Enable |
|
|
void TD_set_wiegand_status(int status,int type)
{
regs.h.ah= 0x1f;
regs.h.al= (unsigned char)status; regs.h.bh= 5;
if (type ==
else regs.h.bl= (unsigned char)type; int86(0x21,®s,®s);
}
1F Get Decoder status of Wiegand Format (Proximity reader)
Entry Parameters: | AH = | 0x1F |
|
| BH = | 6 |
|
| BL = | 0 | ; for both 26- and |
|
| 27 | ; for |
|
| 37 | ; for |
|
| 0xff | ; for |
Returnne value | AL = | 0 | ; Disable |
|
| 1 | ; Enable |
int TD_get_wiegand_status(int type)
{
regs.h.ah= 0x1f; regs.h.bh= 6;
if (type ==
else regs.h.bl= (unsigned char)type; int86(0x21,®s,®s); return(regs.h.al);
}
1A Assign barcode or magnetic stripe input of Internal reader
Entry Parameters: AH = 0x1A
BH = 6