IT Community - Software Programming, Web Development and Technical Support

Some secrets of system Programs

This is a discussion on Some secrets of system Programs within the C and C++ Programming forums, part of the Software Development category; SHOW MOUSE POINTER IN MSDOS MODE This tips is to display the mouse cursor in MSDOS command prompt. Just follow ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C and C++ Programming

Register FAQ Members List Calendar Mark Forums Read
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 03-16-2007, 07:19 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Default Some secrets of system Programs

SHOW MOUSE POINTER IN MSDOS MODE
This tips is to display the mouse cursor in MSDOS command prompt. Just follow the below steps

1. Open a command windows by simply typing the "cmd" in start->Run window
Start->Run->Type "cmd"

2. Make the command windows as full screen by simply pressing Alt+Enter

3. Type the following command in the command prompt

debug
-a
0B37:0100 mov ax,1
0B37:0103 int 33
0B37:0105 int 21
0B37:0107
-g

Program terminated normally
-


Now you can see the mouse cursor by moving your mouse

to quit from the debug window, just press "q" and enter

-q

thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-27-2007, 05:26 PM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Thumbs up Re: Some secrets of system Programs

Device drivers are the programs that control the functioning of
peripherals like keyboard, printer, etc. More specifically, they are the modules of an operating system.

MS DOS device drivers are with .SYS extensions. Since drivers drive peripheral devices, they get loaded into the memory when we bootup the system. So obviously, they remain resident in memory, but they are not considered as normal TSRs.

As drivers are the modules of an Operating System, one has to modify the OS whenever he adds new device to his system. Fortunately the installable device drivers technology available with MS DOS gives more flexibility to the user. It avoids direct operations or modifications of Operating System. The user can simply install a new device in a system, copy the driver files to boot disk and edit the system configuration file. Thus it clearly avoids complexity.

Types of MS DOS device drivers
1. Character device drivers
2. Block device drivers
Character device drivers
Character device drivers correspond to single byte. That is, these device drivers controls peripheral devices that perform input and output one character (i.e., one byte) at a time. The example for such devices are terminal, printer etc.
Block device drivers
Block device drivers correspond to block rather than byte. Even though they can be used with other devices, they are usually written to control random access storage devices such as floppy drives.
Writing our own device driver
Writing device driver is not a tough job as one may think. But nowadays device driver programming is not needed as the peripheral device vendors provide powerful drivers along with their products. So I avoid indepth explanation about the device driver programming. In a nutshell, device drivers are the COM (BIN) files with .SYS as their extensions. Our new device driver
should be added with CONFIG.SYS file. Drivers also have headers. MS DOS 5+ versions support EXE file (renamed to .SYS extension) as drivers too. But it is a good practice to have COM file as drivers.
In the above section I have told about the basic knowledge of the Device Driver Programming. We will continue this thread for discussing only about the Device Driver Programming

thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-02-2007, 05:23 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Thumbs up Re: Some secrets of system Programs

You can create a nice 3D effect for your windows
1. Start Regedit
2. Go to HKEY_CURRENT_USER \ Control Panel \ Colors
3. Make sure the following setting are there:
• ButtonHilight=128 128 128
• ButtonShadow=255 255 255
Restart or relogin

thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/c-c-programming/644-some-secrets-system-programs.html
Posted By For Type Date
Digg / Technology / Upcoming This thread Refback 07-20-2007 08:11 AM
Digg / News / Upcoming This thread Refback 07-20-2007 06:08 AM
Digg / Technology / Upcoming This thread Refback 07-20-2007 03:26 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Secrets Karpagarajan Operating Systems 28 09-29-2008 06:58 AM
Secrets Of Love Sabari The Lounge 6 04-17-2008 10:50 PM
Difference between System.String and System.StringBuilder class? S.Vinothkumar C# Programming 1 10-29-2007 05:23 AM
Relationship Secrets Sabari The Lounge 0 09-06-2007 03:07 AM
ASP.NET AJAX secrets a.deeban ASP and ASP.NET Programming 15 09-05-2007 07:11 AM


All times are GMT -7. The time now is 04:21 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0