We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>


Looking For Something at vustudents.ning.com? Click Here to Search

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


+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 6667

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Attachments:

Replies to This Discussion

 also

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);
setvect(0x09,NewKeyboardInterruptFunction);
keep(0,(_SS+(_SP/16)-_psp));
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++) 

     {

          *scr=0x20; 

          *(scr+1)=0x07;

          scr=scr+2;

     }

}

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???

RSS

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

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