Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 487 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 487 Bytes

Z88DK

Example usage

vi hello.c
#include <arch/zx.h>
#include <stdio.h>

int main()
{
  zx_cls(PAPER_WHITE);
  puts("Hello, world!");
  return 0;
}

The following command will compile hello.c to create a hello.tap file that can be run in Fuse.

docker run -v ${PWD}:/src/ -it ghcr.io/stever/z88dk-docker \
	zcc +zx -vn -create-app -clib=sdcc_iy -startup=0 hello.c -o hello
fuse hello.tap