‘¥’ (9DH) in ASCII is replaced with ‘Ø’ when Danish is selected.
Example
:
void TD_key_language(int status)
{
regs.h.ah= 0x1A;
regs.h.bh= 7;
regs.h.al= (unsigned char)status;
int86(0x21,®s,®s);
}
1A
Check Main Battery Status
Entry Parameter:
AH = 1AH
BH = 8
Return Value: AL = 0/1
; Normal / Battery low
Example
:
int TS_battery()
{
regs.h.ah= 0x1A;
regs.h.bh= 8;
int86(0x21,®s,®s);
return(regs.h.al);
}
1A
Check Backup Battery Status
Entry Parameter:
AH = 1AH
BH = 9
Return Value: AL = 0/1
; Normal / Battery Low
Example
:
int TS_lithium_battery()
{
regs.h.ah= 0x1A;
regs.h.bh= 9;
int86(0x21,®s,®s);
return(regs.h.al);
}
1A
Set Good-read LED
Entry Parameter:
AH = 1AH
Summary of Contents for PT600
Page 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Page 7: ......
Page 16: ......
Page 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Page 57: ......
Page 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...