Tuesday, March 8, 2011

Z88DK

I started fooling around with Z88DK

Building the kit from the source distro - z88dk-src-1.9.tgz - in Cygwin on Win XP. Compiler is "gcc version 4.3.4 20090804" (Target: i686-pc-cygwin).

Following the instructions in z88dk/README.1st ... I created the following config file for my shell environment:

Z88DK=~/z88dk
export Z80_OZFILES=$Z88DK/lib/
export ZCCCFG=$Z88DK/lib/config/
export PATH=$Z88DK/bin:$PATH

In ./z88dk/src/z80asm/z80pass.c I had to change 3 references to "getline" to "mygetline" to avoid a naming conflict with getline declared in . Should change z80pass.c to make this a static instead.

Once the build completed, run make in "/z88dk/examples/embedded" to build one of the sample app.

No comments:

Post a Comment