Translate

Labels

Showing posts with label READING THE DISK'S DATA. Show all posts
Showing posts with label READING THE DISK'S DATA. Show all posts

Friday, 7 June 2013

PROGRAM FOR READING THE DISK'S DATA ONTO THE BUFFER

#include #include #include void main(void)
 { 
 clrscr();
 union REGS regs;
 struct SREGS sregs;
 char buff[1000]; 
 int i;
 regs.h.ah = 2;
 regs.h.al = 1;
 regs.h.ch = 1; 
 regs.h.dh = 0; 
 regs.h.cl = 1; 
 regs.h.dl = 0x80;