Code: Select all
#pragma string name Hello World
#pragma data icon 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00;
#include <stdio.h>
main() {
// print string
printf("Hello World!");
// wait for keypress
while( getk() == 0 ) {
}
}
Code: Select all
zcc +ti8xansi -startup=1 -o hello.bin hello.c
Code: Select all
devpac8x hello
Setting up your environment vars properly would make things easier of course.