ROM flashing utilities for the eLeMeNt ZX computer
--------------------------------------------------

Put one or a set of system 8K, 16K, 32K and 64K ROMs into one
of four 128K FlashRAM areas, per 16K blocks.

Use the version_1 with the FLASH5 m/c program, when you have a motherboard V1. On the V1 motherboards, FlashRAM areas can be switched by hardware DIPs only.

The new FLASH6 m/c utility is intended for motherboards V2 and enables
to change a 128K area, from the whole 512 FlashRAM, by a software method. FLASH6 works also on the V1 motherboards, but can be only applied
to the current, DIP-selected area.

Here are pre-set and recommended FlashRAM area layouts:
  Area 0  - ZX128+2 set
  Area 1  - ZX128+2A set
  Area 2  - ZX48 set
  Area 3  - alternative ROMs (eg. Spectrum SE for +2A)

Every area takes a space of 128KB, divided into 8 blocks:
  64KB - block 1-4, BASIC (from ZX48, 16K only, per 32K ZX128 to ZX128+2A)
  16KB - block 5, esxDOS
  16KB - block 6 is reserved
  16KB - block 7, RescueROM
  16KB - block 8, eLeMeNt ZX SetUp


Apply flashing programs according to their filenames:

FlashESX  ... 8KB esxDOS
Flash48   ... 16KB ZX Spectrum 48
FlashDG   ... Didaktik Gama
Flash128  ... 32KB ZX Spectrum 128
Flash2A   ... 64KB ZX Spectrum +2A

There are also some extra-ROM flashers:

FlashBS   ... BSROM v1.40ESX by Busy, 16KB
FlashSE   ... SE BASIC by Andrew Owen, 32KB
FlashDia  ... Diagnostic ROM by Phil Ruston, 16KB


Flash-apps will automatically install relevant 16K ROM parts
to their appropriate areas and blocks.

When installing the esxDOS, you need to input a number
of the area to be flashed. This enables to have different esxDOS versions,
for legacy or testing purposes.

Patched BASIC ROMs and utilities (e.g. diagnostic ROMs) are suggested to be installed into the area no.3.

Please note that for running a diagnostic ROMs you need to switch off
the DivSD memory in the SetUp.


Keep the default upper blocks in the area 0 untouched! Do not make
experiments with this area, do not change its 16K content!


Of course there is also a SetUp rom flasher, you can find it in every core
and firmware update: https://sites.google.com/view/elementzx/download


What's the relationship between options Machine and ROM area (in the SetUp)?

They are independent of each other. You have to make sure that you use
the correct ROM set for the choosen Machine. But if you need to, you can set
a mere 16K, e.g. BSROM for the machine like the ZX Spectrum +2A.


How to make own ROM installers with the FLASH6 utility?

Modify a BASIC part of the flasher for your ROM binary file.
Change loader files
     "Flash48" for any 16KB BASIC ROM or for FlashRAM area no. 2
     "Flash128"        32KB BASIC ROM                          0
     "Flash2A"         64KB system ROM                         1
     "FlashDia"        16K utility or game ROM                 3
     

Note on the SetUp part in every Area:
If you are flashing a new version of the SetUp, you have to do so in all 4 Areas. If you flash Setup to Area 1 only, then reboot, you will have a new Setup. But if you subsequently switch to Area 2 (on the eLeMeNt v2 directly in the SetUp, on the eLeMeNt v1 manually, by switching at the back), then after reboot you will have the old SetUp.
 
