<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CS609 Assignment No. 1 Solution and Discussion]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/1755/cs609-assignment-no-1-solution-and-discussion">CS609 Assignment No. 1 Solution and Discussion</a></p>
<p dir="auto">Please share CS609 Assignment 1 Fall 2020</p>
]]></description><link>https://community.secnto.com//topic/2087/cs609-assignment-no-1-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 20:44:48 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/2087.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Nov 2020 07:55:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS609 Assignment No. 1 Solution and Discussion on Sat, 28 Nov 2020 08:06:23 GMT]]></title><description><![CDATA[<pre><code>Solution://Header Files
#include&lt;stdio.H&gt;
#include&lt;DOS.H&gt;
#include&lt;BIOS.H&gt;
void interrupt (*oldint65)(); //To store current interrupt
char far *scr=(char far* ) 0xb8000000;
void interrupt newint65();//NewInt prototype
void main()
{
oldint65 = getvect(0x65);
setvect(0x65, newint65);
getch();
keep(0, 1000);
}
void interrupt newint65()
{clrscr();
*scr=8;
(*scr)=0x174D; 
(*(scr+2))=0x1743;
(*(scr+4))=0x1731;
(*(scr+6))=0x1739;
(*(scr+8))=0x1730;
(*(scr+10))=0x1734;
(*(scr+12))=0x1730;
(*(scr+14))=0x1736;
(*(scr+16))=0x1734;
(*(scr+18))=0x1730;
(*(scr+20))=0x1734;
}
</code></pre>
<p dir="auto"><img src="https://i.imgur.com/CtjLQXr.png" alt="429e7ece-92cc-4cef-a09c-e90f8b391518-image.png" class=" img-fluid img-markdown" /><br />
<img src="https://i.imgur.com/XrbCjRi.png" alt="3e679fbc-5b4c-4ac1-a4c8-107d83737325-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.secnto.com//post/6064</link><guid isPermaLink="true">https://community.secnto.com//post/6064</guid><dc:creator><![CDATA[wajiha Asif]]></dc:creator><pubDate>Sat, 28 Nov 2020 08:06:23 GMT</pubDate></item><item><title><![CDATA[Reply to CS609 Assignment No. 1 Solution and Discussion on Sat, 28 Nov 2020 07:57:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zaasmi" aria-label="Profile: zaasmi">@<bdi>zaasmi</bdi></a> said in <a href="/post/6061">CS609 Assignment No. 1 Solution and Discussion</a>:</p>
<blockquote>
<p dir="auto">Re: <a href="/topic/1755/cs609-assignment-no-1-solution-and-discussion">CS609 Assignment No. 1 Solution and Discussion</a></p>
<p dir="auto">Please share CS609 Assignment 1 Fall 2020</p>
</blockquote>
<p dir="auto">Fall 2020<br />
CS609: System Programming<br />
Graded<br />
Assignment No. 01 Total Marks: 20</p>
<p dir="auto">Due Date: Thursday 26th Nov 2020</p>
<p dir="auto">Instructions:</p>
<p dir="auto">Please read the following instructions carefully before submitting assignment. It should be clear that<br />
your assignment will not get any credit if:<br />
▪ The assignment is submitted after due date.<br />
▪ The submitted assignment does not open or file is corrupt.<br />
▪ You have not followed steps described in Detailed Instructions of the problem statement.<br />
▪ Assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict<br />
action will be taken in this regard.<br />
Note: You must upload only Word document (.doc or .docx). Assignment in any other format (extension)<br />
will not be accepted and will be awarded with ZERO marks.<br />
Objectives:</p>
<p dir="auto">The objective of this assignment is to provide hands-on experience of System Programming concepts<br />
including:<br />
• How to invoke software interrupt<br />
• Concept of Memory Mapped I/O<br />
• Compiling &amp; running programs in TurboC++</p>
<p dir="auto">For any assignment related query, contact at <a href="mailto:CS609@vu.edu.pk" target="_blank" rel="noopener noreferrer nofollow ugc">CS609@vu.edu.pk</a></p>
<p dir="auto">Problem Statement:<br />
Write a C program that will print your Student ID using Memory Mapped I/O and interrupt 65H. (See<br />
detailed instructions)</p>
<p dir="auto">Detailed Instructions:</p>
<ol>
<li>
<p dir="auto">In this assignment, you will print your Student ID on the screen using Memory Mapped I/O and programming 65H interrupt. The memory area for display device (monitor) starts at the address B800:0000</p>
</li>
<li>
<p dir="auto">The Attribute Byte for the characters of your Student ID will be calculated as follows:<br />
a. If your Student ID ends with an Odd number (for example BC123456789), then Student ID must be printed in Red background color and White foreground color<br />
b. If your Student ID ends with an Even number (for example BC123456788), then Student ID must be printed in Blue background color and White foreground color</p>
</li>
<li>
<p dir="auto">In either case (Even or Odd), font must be Bold and there should be no blinking</p>
</li>
<li>
<p dir="auto">The printing code must be implemented in interrupt 65H and you should generate this interrupt from main() function</p>
</li>
<li>
<p dir="auto">Write complete code in NotePad++ (or any editor of your choice) and compile/run it using Turbo C++.</p>
</li>
<li>
<p dir="auto">You must take Two screenshots:<br />
a. Screenshot of Turbo C++ editor in which your program should be loaded<br />
b. Screenshot after running the program which shows final output</p>
</li>
</ol>
<p dir="auto">NOTE:<br />
• Printing with 21H/09H is not allowed. If used, you will be awarded ZERO marks<br />
• ASCII Table is available on this link: <a href="http://www.asciitable.com/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.asciitable.com/</a><br />
• Link of Tutorial of how to compile/run in <a href="https://vulms.vu.edu.pk/Courses/CS609/Downloads/Turbo%20Cplusplus%20Tutorial.pdf" target="_blank" rel="noopener noreferrer nofollow ugc">Turbo C++</a> is:<br />
• Pasting clear screenshots is mandatory. If your assignment does not contain required<br />
screenshots, it will be awarded ZERO marks<br />
• To take screenshot of active window, press ALT + PrntScr<br />
—BEST OF LUCK—</p>
]]></description><link>https://community.secnto.com//post/6063</link><guid isPermaLink="true">https://community.secnto.com//post/6063</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Sat, 28 Nov 2020 07:57:09 GMT</pubDate></item></channel></rss>