Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Assignment No. 01 Semester: Spring 2016 CS609 – System Programming Due Date: 12/05/2016

Views: 7013


Replies to This Discussion


graded activities me ak sath itna sb akatha aa gia hy 

nai to abi ye ist assignment or ist quiz aya itna w8 krny k bad............

Write a TSR program in C that will clear all the contents of the screen and print your VU ID and Name (BC0000000-Name) at the center of the video text memory available at 0xB8000000 whenever Alt+Ctrl+D combination is pressed from keyboard. Note that you have to take the backup of the contents of video text memory before clearing the screen. And, whenever Alt+Ctrl+R combination is pressed from the keyboard, all the contents of video text memory should be restored. any idea...?

  # include <dos.h>    

char far* CtrlAltPtr=(char far*)0x417;
void interrupt (*OldKeyboardInterruptFunction)( );

void interrupt NewKeyboardInterruptFunction( );

int main( ) { OldKeyboardInterruptFunction=getvect(0x09);
return 0; }
/**********************************************///------------------ NewKeyboardInterruptFunction( )

/******************************/void interrupt NewKeyboardInterruptFunction( )
{ *CtrlAltPtr=0x0C;
(*OldKeyboardInterruptFunction)( ); } [/Code]

ye kia ha ???

Idea example:  This will clear the contents of the screen.


unsigned char far *scr=(unsigned char far*)0xb8000000; //corrected

void main()


     int i;  

     for (i=0;i<2000;i++) 







Plz any idea

ye code ks software mei type krna hy??? plz tell me..... .c konsa format hota hy???

need idea

coding ms word mein krni hy ya koi aur software mein???


© 2022   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service