In order to build the project, you will need to download and install the following tools:

  * Zilog Developer Studio 3.68 (http://www.zilog.com/download/z8/devtools/ZDS368.exe)
  * hex2bin (http://hex2bin.sourceforge.net/, also provided in the "tools" directory)

BUILD STEPS

1) Open "fatware.zws" project in Zilog Developer Studio. When asked whether you wish to move
   it to a new location, select Yes. Ignore any messages about emulator name.

2) Press Alt+F7 or select Build->Rebuild All from the main menu. This will generate output
   file in Intel HEX format (.hex) as well as listing (.lst) and object (.o) files.

3) Run "make.bat" that will convert the .hex file to binary data (.bin). The .bin is then
   split into two images: "flash.bin" that must be flashed to divIDE's EEPROM and "boot.bin"
   that must be copied to "C:\FATware\" directory on your primary divIDE medium. Both images
   can be found in "build" directory.

4) Reset your ZX Spectrum with updated images. FATware should now boot.


Note:

FATware is capable of flashing custom "C:\flash.bin" image if it finds one upon boot. This
greatly simplifies the update to a new version. However, you will still have to use the tape
input, snapshot file or any other means to flash the very first image to your Speccy.

A template "tools\flasher\flasher.sna" file is provided that contains BASIC loader and flash
utility. Open it in the ZX Spectrum emulator and load "flash.bin" image to address 24576
(6000h). Then

a) save snapshot, load it to ZX Spectrum (provided that you already have a firmware capable
   of doing it) and type "RUN 20", or

b) type "RUN 2" either to create a tape signal for your Speccy or to save a .TAP file that
   can be loaded and run by existing divIDE firmware.
