Important alert: (current site time 7/15/2013 6:01:35 PM EDT)
 

article

A examle of MEMORY RESIDENT PROGRAM (Now zip file included)

Email
Submitted on: 8/5/2001 4:15:07 AM
By: Mahatab-ur-Rashid  
Level: Intermediate
User Rating: By 7 Users
Compatibility: C, C++ (general)
Views: 22075
(About the author)
 
     

I think who wants to write TSR, will get some help from this program. anyone can also know how to use VDU memory directly.

This program changes existing texts color of the DOS in every 10 second with 15 random colors.

NOTE: I compiled this program with Turbo C++ 3.0. Please run this program in DOS mode and wait 10 seconds to see action. It changes color in every 10 seconds.
To know is it in the memory or not, write this in command prompt mem /c/p

Thank you. Mahatab-ur-Rashid

This article has accompanying files
 
 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
				PLEASE DOWNLOAD THE ZIP FILE!

winzip iconDownload article

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.


Other 2 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this article (in the Intermediate category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

8/5/2001 6:43:13 PMJared Bruni

I hope to see more articles :) good job
(If this comment was disrespectful, please report it.)

 
8/10/2001 2:10:30 PMBailout

Hey, i'm in borland and when i try to compile it gives me a ton of errors
(If this comment was disrespectful, please report it.)

 
8/10/2001 5:02:12 PMMahatab-ur-Rashid

Please compile this code with Turbo C/C++ 3.0.Cause, All Header files are not same in Borland C++ and TC++. And also my program use only DOS memory model.
(If this comment was disrespectful, please report it.)

 
1/27/2002 2:11:50 AMDave

So I can't use this with VC++ ?
(If this comment was disrespectful, please report it.)

 
1/27/2002 2:14:11 AMDave

why can't there just be ONE compiler that everyone uses so we dont always have to go through this crapp !!!
(If this comment was disrespectful, please report it.)

 
4/27/2002 5:38:06 AMzilverhair

your program's are great can you teach me how to create virus?
(If this comment was disrespectful, please report it.)

 
7/5/2002 2:42:40 PMalex

lmao thats one of the worst comments yet
(If this comment was disrespectful, please report it.)

 
8/21/2003 12:17:56 AM

Use one compiler...that would be too easy...why does anyone want to write a virus...you have obviously never had to remove one...LOL
(If this comment was disrespectful, please report it.)

 
11/29/2003 10:49:02 PMWolf McCloud

There is ONE real C++ syntax, but people like to use built-in compiler functions...

Why people use MASM syntax? Why don't they use real ASM syntax that is understood by all compilers?
(If this comment was disrespectful, please report it.)

 
10/17/2005 3:31:33 PM.::Anubis::.

hey i do beleive i have seen this before in a help on msdn..did you copy this from someone else?
(If this comment was disrespectful, please report it.)

 
2/20/2007 1:06:55 AMhemendra

will u plz tell me how it works properly.
i have c++ 3.0 & vc++ .
further inormation plz send me at my email address "h.hemendra@gmail.com"
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular article, please click here instead.)
 

To post feedback, first please login.