Ed Grochowski's Website

Memory Test

Memory Test stores a pattern of bytes in the computer's memory and reads it back, checking for errors. I have long used various versions of the memory test to diagnose unreliable hardware.

Memory 3

memory3 Years: 1980-1983
Language: Z80 assembly language
Size: 200 lines

Memory 3 was an early memory test for the Z80.


memtest Year: 1996
Language: C language
Size: 700 lines

This is the Windows version of the memory test. It uses the same algorithm with the ability to test up to 2GBytes of memory! Unlike the PC's power-on self-test, this memory test runs continuously. It may be run overnight to check for problems in DRAMs and CPU caches.