Example
:
Same with Code 39's example
:
1F
User Code 2 Setting (TOSHIBA code)
Entry Parameter:
AH = 1FH
BH = 3
BL = 22H
AL bit
0=
0/1
: disable/enable User Code 2
decoding
Return Value: None
Example
:
Same with Code 39's example
:
25
Set Interrupt Vector
Entry Parameter:
AH = 25H
AL = interrupt number
DS:BX = address of interrupt routine
Return Value: None
Example
:
void TS_set_interrupt_vector(int vect,unsigned int ds,unsigned int dx)
{
regs.h.ah= 0x25;
regs.h.al= (unsigned char)vect;
segregs.ds=ds;
regs.x.dx=dx;
int86x(0x21,®s,®s,&segregs);
}
2A
Get System Date
Entry Parameter:
AH = 2AH
Return Value: CX = year (1980 - 2079)
DH = month (1 - 12)
DL = day (1 - 31)
AL = weekday (0 - 6)
Example
:
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...