pp BIOS 14H, 1 p p p p, p p pp DX. p p pp AL. p p p pp AH. sport() , p , p p p.

/* p p */

void sport(port, c)

int port; /* p / */

char c; /* p */

union REGS r;

r.x.dx = port; /* p */

r.h.al = c; /* p */

r.h.ah = 1; /* p */

int86(0x14, &r, &r);

if(r.h.ah & 128) /* p 7- */

printf("p p ");

printf(" p");

exit(1);

7 pp pp BIOS, ppp p . p p p; . p , sport() p p pp p, p p pp, , p , pp p p.