[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What do you get when you access RAM that isn't there?
Dosius <steve@dosius.zzn.com> wrote:
>> If memory serves, it was a pattern of largely 00 and ff bytes, with
>> some semi-random other junk. I can't remember if the results were
>> stable.
>
> I wonder how DOS detected a sub-48K system then...
Write a byte. Read it back. Write a different byte. Read it back.
Pick the bytes carefully (not $ff or $00). $55/$AA might be a good combo.
So long as the results are semi-stable or semi-predictable, you should
pretty much always get the right answer.
--
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
CD-Recordable FAQ - http://www.cdrfaq.org/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/