Blogger Text

My Aim to Provide you quality contents, Tips & Tricks, Software, Microsoft Office, Graphic Editing (Adobe PhotoShop, After Affects, Illustrator, inDesign) Corel Draw, Corel Video Studio, Cyberlink PowerDirector, Power ActionCinema, Tutorials about Blogging and VU Assignments, Quizes & GDB Solutions and Much More... at regular Basis
                                     ***    Kindly Subscribe our Official YouTube Channel "INFOPALACESS OFFICIAL-Tuts: in this channel we upload Programming (C,C++,C# JAVA, PHP), Web Development, Graphics Editing and Microsoft Office Step by Step Tutorials from bigginer to Advance Level. We also provide free online courses at our YouTube Channel. ***   Graded Assignments/Quizes and GDB will start in Next Week. Solution ideas of All assignments, Quizes and GDB will be available here. If you have any problem regarding this then you can contact us.

CS609 Assignment No 2 Solution Spring 2018

CS-609 Assignment No 2 Solution Spring 2018

Here, I am providing you "Solution of CS609 Assignment No 2 due date is 29-05-2018

Note: Please don't make exact copy of this document and make Changes in this assignment, write it in your own words always correct any errors if you found. I am not responsible for zero Marking.

Update:  We are Working on this Assignment and Solution of cs609 assignment will be uploaded soon.....

How to Download the File :           Watch video below to see the steps to download file  

Steps 1: Click at link given above
   2:  Enter Captcha Code  
   3:  Wait for 8 Seconds
   4:   Click at Link Generated below             the captcha box
   5:   That's it. You have downloaded

Note: We guarantee you that our site is 100% Malware and virus free so please Please Disabled your Ad-blocker to  Download the file from our site..

If you still facing any problem then please let me know about your problem regarding downloading file and leave a comment below because your feed back is very important to us to make our website more reliable and useful. 

CS609 Assignment 2 

Problem Statement:

Write a C program that will turn on PC speaker (for variable-pitched sound) by using port 61H of Interval Timer. The divisor value for Interval Timer will be last eight digits of your Student ID.

Detailed Instructions:
1)     In this program, you will access internal PC speaker by using port 61H. Least two significant bits of port 61H are used for connecting PC speaker to Interval Timer.
2)     In order to program Interval Timer, you have to first load the Command Byte into the Command Register. Calculate Command Byte according to following criteria:
a.      Channel: 2
b.     Interval Timer Mode: 2
c.      Counter: Binary
d.     Divisor bytes to be loaded: All (For calculating divisor value, read instruction 4)
3)     You will first load last four digits of your Student ID as a divisor value (see the purple color digits in below example ID), and then after a delay of 2 seconds, you will again load new divisor value which will be next four digits of your Student ID (see the orange color digits in below example ID).
BC1 2345 6789
4)     For producing delay, use Timer Count, a double word variable in the BIOS data area which is placed at the location 0040:006C
5)     After loading each divisor value, turn on the PC speaker
6)     You can check the output of the program by booting your system in DOS mode and then running the exe file. But does not worry if PC speaker does not produce sound; the host operating system may restrict you to directly access PC speaker. Just focus on the concepts.
7)     Your assignment file should be a single Word file (.doc or .docx) containing complete code.
8)     You can use Consolas font for enhancing readability of the code in Word file.

Best of Luck!

We are Working on this Assignment and Solution of cs609 assignment will be uploaded soon.....

Post a Comment