#include <conio.h>
#include <dos.h>
#include <stdio.h>
#include <stdlib.h>
#define VIDEO_INT 0x10
void getMode(union REGS *reg);
int main(void)
{
union REGS layar;
getMode(&layar);
printf("Informasi Layar Monitor\n");
printf("Banyak kolom\t\t: %d\n", layar.h.ah);
printf("Nomor mode\t\t: %0x\n", layar.h.al);
printf("Halaman tampilan\t: %d\n", layar.h.bh);
getch();
return EXIT_SUCCESS;
}
void getMode(union REGS *reg)
{
union REGS *in;
in->h.ah = 0x0f;
int86(VIDEO_INT, in, reg);
return;
}
Gambarnya Sebagai Berikut :
Penjelasannya :
Seperti Contoh 4
Senin, 20 Juni 2016
Langganan:
Posting Komentar (Atom)
About Me
Diberdayakan oleh Blogger.
Popular Posts
-
#include <math.h> #include <stdlib.h> #include "screen.cpp" #include "keyboard.cpp" int main(void) { Screen ...
-
#include <stdlib.h> #include "screen.cpp" #define KEY_INT 0x16 /* Nomor interupsi keyboard */ #define KEY_F1 0x3b /* Kode sc...
-
#include <conio.h> #include <dos.h> #include <stdlib.h> #define VIDEO_INT 0x10 #define UCHAR unsigned char void getCursorP...
-
#include <conio.h> #include <dos.h> #include <stdio.h> #include <stdlib.h> #define VIDEO_INT 0x10 void getMode(union...
-
#include <conio.h> #include <dos.h> #include <stdlib.h> #define VIDEO_INT 0x10 #define UCHAR unsigned char v...
-
#include <stdlib.h> #include "screen.cpp #define KEY_INT 0x16 /* Nomor interupsi keyboard */ UCHAR getKey(void); int main(void) ...
-
#include <stdlib.h> #include "screen.cpp" #define KEY_INT 0x16 /* Nomor interupsi keyboard */ #define KEY_BACKSPACE 0x08 /* ...
-
#include <conio.h> #include <dos.h> #include <stdio.h> #include <stdlib.h> #define VIDEO_INT 0x10 #define UCHAR unsi...
-
#include <math.h> /* Deklarasi prototype atof */ #include <stdlib.h> /* Deklarasi prototype gcvt */ #include "screen.cpp...
-
#include <conio.h> #include <dos.h> #include <stdio.h> #include <stdlib.h> #define VIDEO_INT 0x10 // Nomor interupsi...
Formulir Kontak
Subscribe Here
Ad Home
Random Posts
Recent Posts
Recent
Header Ads
Popular Posts
-
#include <math.h> #include <stdlib.h> #include "screen.cpp" #include "keyboard.cpp" int main(void) { Screen ...
-
#include <stdlib.h> #include "screen.cpp" #define KEY_INT 0x16 /* Nomor interupsi keyboard */ #define KEY_F1 0x3b /* Kode sc...
-
#include <conio.h> #include <dos.h> #include <stdlib.h> #define VIDEO_INT 0x10 #define UCHAR unsigned char void getCursorP...
-
#include <conio.h> #include <dos.h> #include <stdio.h> #include <stdlib.h> #define VIDEO_INT 0x10 void getMode(union...
-
#include <conio.h> #include <dos.h> #include <stdlib.h> #define VIDEO_INT 0x10 #define UCHAR unsigned char v...
-
#include <stdlib.h> #include "screen.cpp #define KEY_INT 0x16 /* Nomor interupsi keyboard */ UCHAR getKey(void); int main(void) ...
-
#include <stdlib.h> #include "screen.cpp" #define KEY_INT 0x16 /* Nomor interupsi keyboard */ #define KEY_BACKSPACE 0x08 /* ...
-
#include <conio.h> #include <dos.h> #include <stdio.h> #include <stdlib.h> #define VIDEO_INT 0x10 #define UCHAR unsi...
-
#include <math.h> /* Deklarasi prototype atof */ #include <stdlib.h> /* Deklarasi prototype gcvt */ #include "screen.cpp...
-
#include <conio.h> #include <dos.h> #include <stdio.h> #include <stdlib.h> #define VIDEO_INT 0x10 // Nomor interupsi...
Flickr
Newsletter
Subscribe Our Newsletter
Enter your email address below to subscribe to our newsletter.
Ad Banner
About Us
Random Posts
Popular Posts
-
#include <math.h> #include <stdlib.h> #include "screen.cpp" #include "keyboard.cpp" int main(void) { Screen ...
-
#include <stdlib.h> #include "screen.cpp" #define KEY_INT 0x16 /* Nomor interupsi keyboard */ #define KEY_F1 0x3b /* Kode sc...
-
#include <conio.h> #include <dos.h> #include <stdlib.h> #define VIDEO_INT 0x10 #define UCHAR unsigned char void getCursorP...
-
#include <conio.h> #include <dos.h> #include <stdio.h> #include <stdlib.h> #define VIDEO_INT 0x10 void getMode(union...
-
#include <conio.h> #include <dos.h> #include <stdlib.h> #define VIDEO_INT 0x10 #define UCHAR unsigned char v...
-
#include <stdlib.h> #include "screen.cpp #define KEY_INT 0x16 /* Nomor interupsi keyboard */ UCHAR getKey(void); int main(void) ...
-
#include <stdlib.h> #include "screen.cpp" #define KEY_INT 0x16 /* Nomor interupsi keyboard */ #define KEY_BACKSPACE 0x08 /* ...
-
#include <conio.h> #include <dos.h> #include <stdio.h> #include <stdlib.h> #define VIDEO_INT 0x10 #define UCHAR unsi...
-
#include <math.h> /* Deklarasi prototype atof */ #include <stdlib.h> /* Deklarasi prototype gcvt */ #include "screen.cpp...
-
#include <conio.h> #include <dos.h> #include <stdio.h> #include <stdlib.h> #define VIDEO_INT 0x10 // Nomor interupsi...
Blog Archive
-
▼
2016
(30)
-
▼
Juni
(30)
- Contoh 27 (Coding) dan Gambarnya
- Contoh Mouse.cpp (Coding)
- Contoh 26 (Coding) dan Gambarnya
- Contoh 25 (Coding) dan Gambarnya
- Contoh 24 (Coding) dan Gambarnya
- Contoh 23 (Coding) dan Gambarnya
- Contoh 22 (Coding) dan Gambarnya
- Contoh 21 (Coding) dan Gambarnya
- Contoh 20 (Coding) dan Gambarnya
- Contoh 19 (Coding) dan Gambarnya
- Contoh 18 (Coding) dan Gambarnya
- Contoh 17 (Coding) dan Gambarnya
- Contoh Keyboard.cpp (Coding)
- Contoh 16 (Coding) dan Gambarnya
- Contoh 15 (Coding) dan Gambarnya
- Contoh 14 (Coding) dan Gambarnya
- Contoh 13 (Coding) dan Gambarnya
- Contoh 12 (Coding) dan Gambarnya
- Contoh 11 (Coding) dan Gambarnya
- Contoh 10 (Coding) dan Gambarnya
- Contoh Screen.cpp (Coding)
- Contoh 9 (Coding) dan Gambarnya
- Contoh 8 (Coding) dan Gambarnya
- Contoh 7 (Coding) dan Gambarnya
- Contoh 6 (Coding) dan Gambarnya
- Contoh 5 (Coding) dan Gambarnya
- Contoh 4 (Coding) dan Gambarnya
- Contoh 3 (Coding) dan Gambarnya
- Contoh 2 (Coding) dan Gambarnya
- Contoh 1 (Coding) dan Gambarnya
-
▼
Juni
(30)










0 komentar:
Posting Komentar