Download presentation
Presentation is loading. Please wait.
1
How to Execute TSR Program
2
Install Borland C++ Download Borland C++ from LMS
Install as per instructions given in the tutorial
3
Open Borland IDE Go to Bin folder inside BorlandC Locate BC.exe
Double Click to open IDE Note: IDE stands for Integrated development environment and it is named as because Editor, Compilor, Debuger, Linker etc. are all integrated in one environment.
4
This is the simple program given in handouts at page#29
This is the simple program given in handouts at page#29. I have saved it as TSRCAPS.C
5
Click on Compile menu then compile.
6
Press any key to close this report.
This is compilation report and it shows that our program has no errors but one warning. We will ignore that warning for now. Press any key to close this report.
7
To generate .com file, open DOS Command prompt, Go to D: drive and inside BORLANDC\BIN directory as shown in this figure.
8
This is the Command to generate .com file.
9
There is a warning (again) but our TSRCAPS.com is generated.
After command execution close this DOS window as you can see on its title bar that cmd.exe is not running purely. There is a warning (again) but our TSRCAPS.com is generated.
10
This is our TSRCAPS.COM file located inside D:\BORLANDC\BIN
11
Open new instance of DOS Command prompt
Open new instance of DOS Command prompt. Go to D: drive and inside BORLANDC\BIN directory as shown in this figure.
12
We have executed TSRCAPS
We have executed TSRCAPS.COM but our text is not appearing in Capital as it should be.
13
Again, open new instance of DOS Command prompt
Again, open new instance of DOS Command prompt. Go to D: drive and inside BORLANDC\BIN directory as shown in this figure. Before executing TSRCAPS.com, just type edit to open edit program. This is done to do some internal parameter setting in order to get access to some internal resources.
14
Simply close edit program after opening it.
15
In order to execute, just type TSRCAPS.COM and press Enter.
16
You see cmd.exe (DOS) is running along with TSRCAPS.com
Now you can see, I am unable to type in lower case…even by switching ON/OFF caps-lock key.
17
Send your feedback and queries cs609@vu.edu.pk
The End Send your feedback and queries
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.