Translate

Labels

Showing posts with label RE-CALIBRATE COMMAND. Show all posts
Showing posts with label RE-CALIBRATE COMMAND. Show all posts

Friday, 7 June 2013

PROGRAM TO IMPLEMENT RE-CALIBRATE COMMAND

#include #include #include void main(){int show; clrscr();//Put on the motor outp(0x3f2,28); // Check whether the FDC is ready show=inp(0x3f4);//Read the status of MAIN STATUS REGISTER show=(show&128); if(show==128)//Check whether FDC is ready