sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
sixthscroll's Avatar

Back to the basics - Old DOS C++ and memory testing


Question posted by: sixthscroll (Newbie) on August 21st, 2008 03:07 PM
Hi everyone, it's been a very long time since I've programmed, so speak real slow.

I need to use good old DOS C++ (I'm using borland C++ 5.5 compiler with no IDE and therefore no syntax checking) on DOS 6.33 for a specialized GPS receiver. Unfortunately, there is no way for me to test several key functions of the unit. I want to test CPU stability and RAM.

If anyone has any code they already have made, I don't need to reinvent the wheel. If not, here are my questions:

1) How do I find out how much RAM I have?
2) How do I write an algorithm that will test every byte to see if the RAM is good?
3) What is a good CPU stability test? I was going to use an easy algorithm like Knight's Move or something, but does that really test the CPU?

Thanks for any help.

Long
1 Answer Posted
gpraghuram's Avatar
gpraghuram August 22nd, 2008 02:43 AM
Expert - 1,151 Posts
#2: Re: Back to the basics - Old DOS C++ and memory testing

Since its a old compiler my adivise would be search the net first and find out the possibilities.


Raghu
Reply
Not the answer you were looking for? Post your question . . .
197,045 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 197,045 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top C / C++ Contributors