Unitech MR350 MKII Manual de usuario Pagina 21

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 86
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 20
3-20
Chapter 3. I/O Function Calls
3. I/O Function Calls
The operating system of the MR350MKII supports BIOS/DOS Function to control
LCD display, Keyboard input, Proximity/Barcode/Magnetic stripe input, Buzzer,
Security alarm, Photo-coupler input, Relay output, and serial port input/output of
RS232 and RS485. The whole C sample program are gathered into library file
"350LIB.C" on Utility Diskette.
3.1. LCD Display INT 10H
00 Clear screen
Entry Parameters: AH = 0
Returned Values: None
void TL_clrscr()
{
regs.h.ah= 0;
int86(0x10,&regs,&regs);
}
01 Set cursor type
Entry Parameters: AH = 1
AL = 1 ;set Block cursor
0 ;set Underscore cursor
3 ;set cursor off
Returned Values: None
void TL_cursor_type(int status)
{
regs.h.ah = 1;
regs.h.al = (unsigned char)status;
int86(0x10,&regs,&regs);
}
02 Set cursor position
Entry Parameters: AH = 2
DH = 0 ~ 1 ;row
DL = 0 ~ 15 ;column
Returned Values: None
Vista de pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 85 86

Comentarios a estos manuales

Sin comentarios