Flash and EPROM cards

History & Introduction

Summer 1997

Thierry Peycru from France, decided to put together a 256K Flash card for the Z88 using an INTEL chip. EPROM cards were good, but they needed a separate EPROM Eraser to clear them. Flash chips could be erased in the Z88 itself, a far more attractive option. The PCB was designed with a CAD software and then homemade, the case was moulded with some dental methacrylate. Using a BBC BASIC program, he was able to start with, save a few bytes and then a complete file. Who could have ever guessed at that time what was to follow?

Original BBC BASIC Flashstore screen

Having a BBC BASIC program was all very well to start with, but this was not ideal. It was stored on an EPROM card. Then with the Filer, that file was fetched to RAM. With BBC BASIC and the program loaded, the program could be started. This was all a very tedious process. What was really needed was for this program to be a Z88 Application, better still, if that Application was on the same Flash card that the files were being stored on. However, before that could be achieved, there were a few software problems to be solved. Normally when an Application runs in a ROM or EPROM card, the card is always there for the Application to run in. That is also true for most of the time when using a Flash card except when writing to it. At that point the card disappears so that the writing can take place.

Enter Gunther Strube from Denmark. He had already written software development tools for the Z88. One of them was called a Workbench, not the four legs and a plank of wood variety, but one that ran on the Z88 itself. He came up with a cunning plan. Before writing to the Flash card, the routine required to do that function could be loaded into RAM before the program jumped there to do the writing. After it had done that, it would jump back into the Flash card. All that was needed now was some better hardware.

Final BBC BASIC Flashstore screen

Enter Vic Gerhardi & Tony Firshman from England. When Cambridge Computer ceased trading Vic bought up a lot of unwanted remaining stock. One of the items he had were the Black 1M RAM cases. These would be ideal to use. He mentioned to Tony about this idea of using flash chips with the Z88 and before you could say "where can we get a PCB?" Tony had designed it on a single sided board using wire links.

So that was how it started. A load of stuff has happened since then.

  • Flashstore popdown allowing files stored in RAM to be saved to Flash cards
  • OZ 4.5 (gave a faster serial port and flash cards could be used from Filer & OZ)
  • OZ 4.7 allowing applications to save and load files directly to the Flash card file areas
    None of this would have been developed without these humble beginnings.

In 2015 the Flash Card came of age 18 years old. The same cases are still being used, the PCB have been upgraded to double-sided with plated through holes. They can be used for three different devices (although not at the same time) 1M Flash, 512K/512K Flash/RAM or 1M RAM.

Flash & EPROMs

These cards are designed to be used for long term storage of important data or programs. Unlike RAM, they will retain information even when removed from the Cambridge Z88. Thus, in addition to providing a means to make back-up copies of valuable data, they provide a convenient means for transferring data between Cambridge Z88s.

One important fact to note about them is that data cannot be change once it is recorded into them. If you record a file and then make some changes you will be able to record a complete new copy of the file, but this will use up more space within them. The space occupied by the original version will not became available again. When they become completely full in this way you will only be able to re-use it by erasing ALL the data which it contains. EPROMs cannot be partially erased.

Flash cards may be used in any slots and are erased electrically in 64K wide sectors. This means that Applications may be stored in a protected area. When the format command is given, it only formats the file area, leaving the area for applications intact.

They may be inserted or removed at any time, except when they are actually being read or written to. They do not consume much power except when EPROMs are being written to, at which time the Cambridge Z88's screen will be intermittently switched off and on, to conserve power. EPROM cards can only be written to in slot 3

Inserting a FLASH or EPROM Card

  1. Make sure that the Cambridge Z88 is switched ON and the Index is displayed.
  2. Open the Perspex flap at the front. The Cambridge Z88 will give a short beep and the screen will go blank.
  3. Push the FLASH or EPROM card into the slot making sure that the label is facing outwards and is the correct way up. Make sure that the card is pushed in as far as it will go.
  4. Close the flap. The Cambridge Z88 will turn itself back on and re-display the Index. You can check that the card has been recognised by typing CARD.

Removing a FLASH or EPROM Card

  1. Make sure that the Cambridge Z88 is switched ON and the Index is displayed.
  2. Check that the Application you are removing is not still running and displayed in the suspended activities window.
  3. Open the Perspex flap at the front. The Cambridge Z88 will give a short beep and the screen will go blank.
  4. Remove the FLASH or EPROM card from the slot.
  5. Close the flap. The Cambridge Z88 will turn itself back on and re-display the Index. You can check that the card has been removed by typing CARD.

It is important to remove any EPROM card from the Cambridge Z88 if you have to re-power a Cambridge Z88 which has been left without power. Otherwise there is a small risk that data on the card may be corrupted. If the EPROM becomes corrupted it will need to be fully erased and all the data will be lost. An EPROM may not be recognised by the Cambridge Z88 when you type CARD within the Index. It will be shown once you have saved a file to it. If a new EPROM will not catalogue, then try installing it again. If this fails, try erasing the EPROM.

There is a facility on EP-Fetch2 to read corrupt EPROMs but this is not guaranteed to work.

The Flash card's file area is created or erased using Filer's Create File Card command or Flashstore's Format File Area command.

FLASH or EPROM cards

The Z88 uses FLASH in two ways. They are the

  • EPROM Filing System and as
  • ROM for Applications to run in.

There is not a central point to view or manage FLASH or EPROM cards. Different Applications are used to do this.

ApplicationKeyCommandFunction
INDEXCARDSCARD
FlashstoreJSELECT CARDSC
FilerFCAT. FILE CARDCE
EP-FetcHHRe-scan EPROM

EPROM Filing System

Files created by Applications and saved in RAM are copied to the FLASH or EPROM using one of the Applications above. To see how much space there is, use the following command.

Card information <>CARD

The CARD command, on the Index COMMANDS menu, shows the type and size of the card in each slot. However it will not show an erased EPROM until it has been accessed by the Filer.

1M/1M FLASH/RAM

This shows the 1M Flash/1M RAM configuration. The Flash card in Slot 1 shows there is 256K used for Applications (OZ 4.x) leaving the remainder 768K for files. To see how much spare space is in the File Area, use Flashstore. 409K.

512/512K FLASH/RAM

This shows the 512K Flash/512K RAM configuration. The Flash card in Slot 1 shows there is 256K used for Applications (OZ 4.x) leaving the remainder 256K for files. To see how much spare space is in the File Area, use Flashstore. 192K.

To erase an EPROM Card

Use the EPROM eraser, the user needs to be near a mains power point as it runs off 240v.

For this reason, consider either having an unused spare EPROM or use a Flash card that can be erased in the Z88 itself when out in the field. 

This will erase all the data or the ROM image stored in the EPROM by exposing the integrated circuit through the round window in the card to ultra-violet light.

 

 

 

 

 

WARNING

WARNING

If the internal light can be seen when there is no card present the EPROM eraser is faulty and should be retuned.

The EPROM eraser produces an intense ultra-violet light which can only be activated by inserting a Cambridge Z88 memory card into the eraser; this safety feature prevents any escape of ultra-violet light.

REMOVE FROM MAINS SUPPLY WHEN NOT IN USE.

Never touch the ultra-violet light source. It gets hot in use and may cause burns; also it is made of quartz and will cloud over due to moisture from the skin.

  1. Connect the eraser to the domestic mains supply. The plug should be fitted with either a 1 Amp or a 3 Amp fuse.
  2. Fully insert the EPROM card into the slot on the front of the eraser, with the round hole uppermost. The card is correctly inserted if the white label on the end of the card is visible and the printing "32K EPROM" or "128K EPROM" is upside down.
  3. The action of inserting the card switches the eraser on. The red indicator light on top of the eraser should light and the EPROM will be exposed to ultra-violet light for approximately twenty minutes. After this time the ultraviolet light is automatically switched off and the red light will go out.
  4. After the red light goes out, you can remove the card from the eraser. DO NOT REMOVE THE EPROM BEFORE THE RED LIGHT IS OUT. The EPROM card should now be blank and ready for re-use. Removing the card resets the timer, so to erase another card, simply insert it; the red indicator light will again be illuminated, and the process can be repeated.

The ultra-violet light source decreases in efficiency with use and eventually a single 20-minute exposure may not completely erase all the data in the EPROM. In this case it may be a good idea to repeat the process a second time to be absolutely sure that it is thoroughly erased.

There is no means of erasing selected individual parts of data from the EPROM. When the EPROM is exposed to the ultra-violet source all data is affected in the same way.

EPROM Card fully erased?

The first time a blank EPROM is catalogued in the Filer, the File Area is checked before the Header is blown. If this test fails, a warning will appear:

 The EPROM may need to be erased several times until it is erased properly.

web analytics