How to start with Z88DK
=======================
Warning: This is rate a note self than a proper phlog/blog post.
I have needed (well, wanted) to run a C program on the Cambridge Z88
[1] computer. Of course I can write BASIC stuff here (and it will be
probably more powerful than my naive C codes) but I have wanted to try
this.
So, I added this stuff to my program:
#ifdef __Z88_APPLICATION
#include <dor.h>
#include <application.h>
#define APP_NAME "IPEfind"
#define APP_KEY 'I'
#endif
And then compiled the thing zith the z88dk [2]:
zcc +z88 -create-app -subtype=app bipe.c -lmz -D__Z88_APPLICATION
References:
[1]
gopher://gopherpedia.com/0/Cambridge%20Z88
[2]
gopher://gopherpedia.com/0/Z88DK