7 Programming the flash ROM
7.1 Basics
The software of the
TURBO FREEZERs
is not, as this is normally the case, stored in
an EPROM but in a flash ROM. The big advantage of the flash ROM is that it can be
re-programmed directly via the Atari. This means software updates can be installed at any
time and the unused parts of the flash ROM can be filled with module data without the
need for a special programming device. The flash ROM in the
TURBO FREEZER
can
be re-programmed up to 1.000.000 times, which should be enough for most experiments.
The flash ROM and the freezer RAM of the
TURBO FREEZER
are normally protected
against overwriting. The “
FlashWrite
” must be moved to the right position (
ON
) to enable
write access to both memories. If the switch is in the left position (
OFF
), the flash ROM
and the freezer RAM are write protected. It is very unlikely that any software overwrites
the flash ROM accidentally. To program the flash ROM a special write sequence must be
sent to the flash ROM, otherwise write access is simply ignored. Therefore is not really
dangerous to have the “FlashWrite” switch in the right position (ON) permanently.
When using “real” bank switching cartridges in the cartridge port both the
“
CartEmu
” as well as the “
FlashWrite
” switch should be turned
OFF
. This prevents a
conflict between the cartridge emulation and the bank switching cartridges.
Caution:
It is important that the “
OldOS
” switch is turned
OFF
during flashing in
order to ensure that the flash ROM is exclusively accessible by the flashing program. If
the Oldrunner is active at the same time conflicts can occur –
e. g.
when an interrupt is
raised – and the Atari can crash.
7.2 Banks and blocks in the flash ROM
It is helpful to know some details about the inner structure of the flash ROM in order
to use it best. The used flash ROM is partitioned into blocks of 64k each (
i. e.
eight 8k
banks). These blocks can be re-programed completely independent of each other. This
means that
e. g.
changes to the data of the cartridge emulation to not impact the freezer
software and vice versa.
Unfortunately the partitioning into 64k blocks also has a small disadvantage. It is not
possible to re-program only a part of a 64k block. Still free, not yet programmed parts can
be programmed later on. You can for example first program an 8k module into bank 0 and
program later another 8k module into bank 1 of the same block. But is it recommended
to merge several
e. g.
8k modules into a large file and program them then in one go. The
47
Komentáře k této Příručce