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
Since its a old compiler my adivise would be search the net first and find out the possibilities.
Raghu
|
|
|
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.
|