Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

RAM Test

Cambridge Computer wrote a BBC BASIC program to test the RAM. Unless the memory is good the Z88 will become unstable, the FAIL indicator may appear in the top right-hand corner of the display or inconsistent results will occur when checking the size of the RAM with (<> CARD). For example, you may have a 512K Ram card in your Z88 but (<> CARD) reports that you only have 128K. Failure of the RAM falls in the following categories.

  • Mechanical failure - due to the contacts being dirty or from a dry soldered joint
  • Unsuitable memory chip - if a different chip is used it may not have the identical specification.

Running the BASIC program while `tapping' the RAM pack may identify a mechanical failure. Finding other errors can be difficult.

The other sort of memory failure is where certain bits of memory suffer amnesia when you are not reading or writing to the memory.

This is like when you are just storing files in the RAM.

This fault can be found with any program, (zCheck, Zip, Unzip (Z88 Forever) or SqueeZ~88 (Rakewell)) that uses checksums on files. To use it you should:-

  1. Run the program initially so that the checksums of the files are calculated. If you are using SqueeZ~88 or Zip, squeeze/Zip a load of big files.
  2. Turn off the Z88 and leave it alone for about three to five days.
  3. Re-run the program to see if the checksums of the files are different or unsqueeze/Unzip all the files again. If they are, then the RAM where the file was stored is faulty.

The following BBC BASIC program tests 32K, 128K 512K and 1MB Ram packs.

It is what is called a destructive Ram Test which means that all the data that is stored on the RAM will be destroyed.

Download the 4 files zipped, (original instructions, two .CLI files (which do the same thing) and the memory test software from here, and then transfer them to your Z88 with a transfer program.

memory test software

There are two ways you can use this program.

  1. Just running the BBC BASIC program (Ramcard.bas)
  2. Before using the program you should save the program to EPROM as "RAMTEST.BAS" and write the following BOOT.CLI to use with it.

#F
|EF
RAMTEST.BAS~E~E
#B
CHAIN
"RAMTEST.BAS"~E

to do the memory test, do the following:-

   
Image Added Prepare an EPROM with BOOT.CLI and RAMTEST.BAS
Image Added Back-up all your files.
Take out
Image Added Remove the RAM pack
.Put in the EPROM with the two files BOOT.CLI and RAMTEST.BAS in it.
Image Added Insert the EPROM in slot 3
  

Do a Hard Reset.


  

Image Added

When you get the Command line

"Size of card to test? (in KBytes, Eg. 32, 128 etc.)"

type in the number of K the ram card is.

Put the Ram card

E.g. 1024

Image Added

Image Added Insert the RAM card to be tested in Slot 1.
  

Image Added

Press the ENTER key until you get the "Testing . . . " message.

  

Image Added

When the test is finished,

Image Added Remove the EPROM pack and
  Do another Hard Reset.

 

Technical Specification of a Flash and RAM chips

...