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

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

# Assignment No. 02 Graded Semester: Spring 2018 CS609: System Programming

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

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

Views: 10141

.

+ 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

koe tu solution upload kr da,aj last date hy

I think is program se milti julti coding ho gi

#define ON
#define OFF
(1)
(0)
/*------------------------------------------------
ChangeSpeaker - Turn speaker on or off.
*/
void ChangeSpeaker( int status )
{
int portval;
portval = inportb( 0x61 );
if ( status==ON )
portval |= 0x03;

else
portval &=~ 0x03;
outportb( 0x61, portval );
} /*--ChangeSpeaker( )----------*/
void Sound( int hertz )
{
unsigned divisor = 1193180L / hertz;

ChangeSpeaker( ON );
outportb(
outportb(
outportb(
} /*--Sound(
0x43, 0xB6 );
0x42, divisor & 0xFF ) ;
0x42, divisor >> 8 ) ;
)-----*/
void NoSound( void )
{
ChangeSpeaker( OFF );
} /*--NoSound( )------*/

int main( void )
{
Sound( 355 );
delay( 1000 );
Sound( 733 );
delay( 1000 );
NoSound( );
return(0);
} /*--main( )-------*/

Kindly Send the Complete Solution...

its a wrong solution not work completely

abhee b sub think kar ry..no one has solution

han yar no one has solution

koe tu solution upload kr da,phle wale b expire ho gaie th.ar kya yh c program main bnane hy?

solution plz...

lgta hy meri trha kisi ka interest nhi system programming me

hello friends solution of cs609 wanted

plz solution......???????

## Latest Activity

Rida Jaffery is now friends with Elegant and Hafiz Furqan Sabir
16 minutes ago
zisani joined + M.Tariq Malik's group

### CS504 Software Engineering - I

2 hours ago
zisani joined + M.Tariq Malik's group

2 hours ago
2 hours ago
+ ! ! ! ❣ AaiMa ❣ !+ updated their profile
2 hours ago
Rida Jaffery joined + M.Tariq Malik's group

### ENG101 English Comprehension

3 hours ago
Rida Jaffery joined + M.Tariq Malik's group

### CS201 Introduction to Programming

3 hours ago
〘٢٧ دن〘جلیبیاں updated their profile
3 hours ago
Rehan posted a status
"MGMT 625..past papers???"
3 hours ago
+ ! ! ! ❣ maho ❣ ! + updated their profile
3 hours ago
3 hours ago
3 hours ago

1

2

3