Skip to content

The development kit for over a hundred z80 family machines - c compiler, assembler, linker, libraries.

Notifications You must be signed in to change notification settings

zxplay/z88dk-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

About

The development kit for over a hundred z80 family machines - c compiler, assembler, linker, libraries.

Topics

Resources

Stars

Watchers

Forks

Packages