cs609 assignment 1 solution 2017

cs609 assignment 1 solution 2017

#include<bios.h>
#include<dos.h>
#include<conio.h>
void interrupt my09( );
void interrupt (*old)(void);
unsigned char far *scr = (unsigned char far*) 0xb8000000;

void main() {
old = getvect(0x09);
setvect(0x09 , my09);
keep (0 , 1000);
getch();
}
void interrupt my09( ) {
if(inportb(0x60) == 0x13)
{
        *scr=0x4D;//M
        *(scr+1)=0x07;
        *(scr+2)=0x43;//C
        *(scr+3)=0x07;
        *(scr+4)=0x31;//1
        *(scr+5)=0x07;
        *(scr+6)=0x34;//4
        *(scr+7)=0x07;
        *(scr+8)=0x30;//0
        *(scr+9)=0x07;
        *(scr+10)=0x34;//4
        *(scr+11)=0x07;
        *(scr+12)=0x30;//0
        *(scr+13)=0x07;
        *(scr+14)=0x30;//0
        *(scr+15)=0x07;
        *(scr+21)=0x07;
}
if (inportb (0x60) == 0x2E)
{
int i;
for (i=0; i<2000; ++i)
{
* scr = 0x20;
*( scr +1) = 0x70;
scr = scr + 2;
}
}(*old)( );
}

Ye siraf sample h koi b assignment copy na kare wrna marks nhi milain gy or us ky
zemedar admins nh because program ka code vu ki hr id ky liye different h or ids
kisi ki b same nh hotin …… Thanks

 

cs609 assignment 1 solution 2017

cs609 assignment 1 solution 2017

cs609 assignment 1 solution 2017

cs609 assignment 1 solution 2017

cs609 assignment 1 solution 2017

cs609 assignment 1 solution 2017

VU Subjects Available List

Available Subjects List

Join Chat Room

Join Chat

Join our FB Group For VU help

Join VU Group
Virtual University 2017-10-18View: 1489

Categories: Virtual University

Comments

Leave a comment