Hi all,

I hope a would get here some help about my topic...
In school i have got a task to write assembly program that starts from diskette (bootable disk) and check memory. Does someone know how to do this or can someone give me some advice about this...?
Posted on 2006-11-07 11:03:15 by sonny
This falls more into the category of OS Development than anything else. I would recommend searching Google for such information. You can also visit sites such as www.osdev.org.

Now, assuming you are targetting the x86 architecture, the main thing you want to search for and/or ask about is the BIOS E820 function call and related material.
Posted on 2006-11-07 13:09:51 by SpooK
you can find a complete project source here
http://freshmeat.net/projects/memtest86/
you should take a look
Posted on 2006-11-07 13:57:21 by Dite
That sounds like quite an ambitious school project, considering what amount of effort it takes if you want it to actually be usable...
Posted on 2006-11-07 17:00:41 by f0dder
yes it is for x86, thanx for this tips a will check this pages...

yah, ambitious, it must just work. I have in mind something like this...Fill whole memory with zero and then check if it still same values...
Posted on 2006-11-08 08:35:18 by sonny
Just filling memory with blah value won't detect some kinds of memory problems.. you really should read this: http://www.memtest86.com/#philo
This guy knows his stuff, what a refreshing change :)
Posted on 2006-11-08 08:40:18 by Homer
Well, you need to test various bit patterns... All zeroes, all ones, etc. And you need to look at the E820 map as SpooK said, to avoid filling reserved memory or possibly messing up memory mapped devices.
Posted on 2006-11-08 08:41:52 by f0dder