Assignment GDB Solution: CS609 System Programming

loading...

CS609 System Programming Assignment 1 Solution 2017

Problem Statement: Write a TSR (Terminate and Stay Resident) program that will show your VUID whenever “R” key is pressed and clear the screen whenever “C” key is pressed. Instructions: 1)      In this program, you have to intercept keyboard interrupt (0x09) and write your own interrupt function. 2)      Your VUID must be displayed (whenever R key is pressed) starting from the beginning of monitor text memory area 0xb8000000 3)      The screen must be cleared whenever “C” key is pressed. […]

CS609 GDB Solution Spring 2017

The Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.  (https://en.wikipedia.org/wiki/Internet_of_things). Can learning System Programing play in major role in the development of IoT. […]

CS609 Assignment 3 Solution Spring 2017

The objective of this assignment is to provide hands-on experience of: § Understanding system programming concepts including accessing hard disk and reading its contents using BIOS § Hands on experience of using Virtual Box and working with DOS environment Important: As in the case with previous two assignments, you should use Virtual Box and run […]

CS609 Assignment 3 Solution Feb 2015

Assignment Question: [Marks = 20] Write a C program in BORLANDC to read the information about extended partition of your system’s hard disk using extended 13H services. The program should display the following information by reading the data part of the partition table. ü  End Cylinder ü  Boot Record with respect to start of partition ü  […]

CS609 System Programming Assignment 1 Solution Fall 2014

Question 1 : Write a C program that should write the value of ‘w’ in the keyboard buffer whenever the letter ‘a’ is pressed from keyboard. Solution:  #include #include void interrupt (*oldint15) ( ); void interrupt newint15(unsigned int BP, unsigned int DI, unsigned int SI, unsigned int DS, unsigned int ES, unsigned int DX, unsigned […]

CS609 System Programming GDB Solution Spring 2014

Increase in NTFS cluster size will decrease the volume size. Support or contradict this statement with proper logic. Solution: The maximum NTFS volume size is 264−1 clusters. However, the maximum NTFS volume size as implemented in Windows XP Professional is 232−1 clusters partly due to partition table limitations. For example, using 64 kB clusters, the […]

CS609 System Programming Assignment 3 Solution Spring 2014

Dear Student, This is very easy assignment which requires only the implementation of a given program. This implementation will build your understanding of BIOS interrupt 13H routine more clearly. So, do not paste your solution from any kind of source. Just do and describe what happens and how you tackle the errors if any. Question:                                                                                                                               Marks 20   Implement the program of lecture number […]

CS609 System Programming Assignment 4 Solution Fall 2013

Question: Ahwas installed 64 bit operating system on his PC. Unfortunately, his system crashed and could not boot even in the safe mode. He has two equal partitions of his 120 GB hard drive. He has an important data on his secondary partition. He has a DOS bootable USB drive with FAT16 structure. Is it possible for Ahwas to access his […]

CS609 System Programming Assignment 3 Solution Fall 2013

Question: Implement the program of lecture number 27 by using the BORLANDC compiler. File path of this program should be at the root directory of D partition and the file name should be LBA.txt. After the implementation of this program you take a memory dump which shows the successive operation of this program.  Also describe the values […]

CS609 System Programming Assignment 2 Solution Fall 2013

Question 1: Serial port contains a special chip for input/output which can communicate in two different modes. Explore and describe these modes and which one is better in the serial communication. Note: Solutions containing the image of any text will reward zero marks. Solution: UARTs (Universal Asynchronous Receiver Transmitter) are serial chips on your PC […]