This is the source tree for SDK-1600.  There's a lot here.  

If you're building SDK-1600, then you probably want to look at the Makefiles
and config.h.  If you're building under Unix/Linux, use "Makefile".
If you're building under Win32, use "Makefile.w32".  If you're building
for Win32 using a cross-compiler under Unix/Linux, use "Makefile.w32x".

For each of these, make sure CC points to the appropriate compiler, etc.

Here's a quick map to what's where:


   src
    |-- Makefile        UNIX / Linux Makefile
    |-- Makefile.w32    Win32 Makefile (tested w/ Mingw32)
    |-- Makefile.w32x   Linux -> Win32 cross-compile Makefile
    |-- Makefile.common Common elements across above 3 Makefiles
    |-- config.h        Configuration header file
    |-- asm             Assembler 
    |-- dasm            Disassembler
    |-- icart           Intellicart ROM support routines
    |-- mini            Mini-EXEC and Mini-GROM, sufficient for examples
    |-- misc            Miscellanous support routines (CRCs, AVL tree)
    |-- plat            Cross-platform compatibility shims 
    `-- util            Miscellaneous commandline utilities


The following utilities are built from this tree:

    as1600              CP-1600 assembler
    bin2rom             Convert BIN+CFG format to Intellicart .ROM format.
    dasm0256            SP-0256 disassembler
    dasm1600            CP-1600 disassembler (reassemblable output)
    dasm1600o           CP-1600 disassembler (old version)
    ec_dump             ECScable-based ROM dumper (for EXEC, GROM, ECS roms)
    ec_load             ECScable-based game loader
    ec_test             ECScable confidence test
    ec_watch            ECScable-based variable watcher
    gromfix             Fix the GROM file generated by minigrom.asm
    frombit             Textual bit-dump to binary (normal bit-ordering)
    frombit_r           Textual bit-dump to binary (reverse bit-ordering)
    fromhex             Textual hex-dump to binary
    gms2rom             Convert INTVPC .GMS game-save file to .ROM
    rom2bin             Convert Intellicart .ROM to BIN+CFG format
    show_grom           Outputs an ASCII or HTML dump of GROM.BIN.
    test_cart           Test Moeller/Nudds cart-reader via built-in loopback
    test_hcif           Test INTV2PC Hand Controller Interface
    tobit               Binary to textual bit-dump (normal bit-ordering)
    tobit_f             Same as tobit, slight output format differences.
    tobit_r             Binary to textual bit-dump (reverse bit-ordering)
    tohex               Binary to textual hex-dump


The Makefiles are configured to place all the executables in the "bin"
directory above this one.

Source code file format note:  The source files contained here are in 
Unix text format.  Many Windows programs handle this format ok, but 
some do not.  For instance, Notepad will not correctly view these files.
Wordpad will, though, as will MS-DOS EDIT.  I believe most development 
environments (such as Visual Studio) are also able to cope with 
Unix-format files, which is why I'm not too worried.

The reason for this format difference is that the cross-compiler I have 
for generating Windows executables from Linux ironically cannot cope with 
DOS-format files.  The Linux version of Bison (which is needed to convert 
as1600.y to as1600.c) also does not cope with DOS format files.

