Script huruf Z dengan warna biru Borland C++ int86

March 19, 2017



#include <conio.h>
#include <dos.h>
#include <stdlib.h>

#define VIDEO_INT 0x10 //BIOS Video Interrupt

int main(void)
{
union REGS in, out;


   in.h.ah = 0x09;
   in.h.al = 0x5A;
   in.h.bh = 0x00;
   in.h.bl = 0x09;
   in.h.ch = 0x00;
   in.h.cl = 0x01;

   clrscr();
   int86(VIDEO_INT, &in, &out);
   getch();

   return EXIT_SUCCESS;
}

Share this

Related Posts

Previous
Next Post »