26 lines
563 B
C
26 lines
563 B
C
#include <dos.h>
|
|
|
|
#define DISPLAY_OUTPUT 2
|
|
|
|
void main()
|
|
{
|
|
union REGS in_regs, out_regs;
|
|
int rc;
|
|
|
|
in_regs.h.ah = DISPLAY_OUTPUT;
|
|
in_regs.h.al = 0;
|
|
|
|
in_regs.w.dx = 'I';
|
|
rc = intdos( &in_regs, &out_regs );
|
|
in_regs.w.dx = 'N';
|
|
rc = intdos( &in_regs, &out_regs );
|
|
in_regs.w.dx = 'T';
|
|
rc = intdos( &in_regs, &out_regs );
|
|
in_regs.w.dx = 'D';
|
|
rc = intdos( &in_regs, &out_regs );
|
|
in_regs.w.dx = 'O';
|
|
rc = intdos( &in_regs, &out_regs );
|
|
in_regs.w.dx = 'S';
|
|
rc = intdos( &in_regs, &out_regs );
|
|
}
|