From be8ae80aea3e0f6223ca2b201f6b8aecb738ce69 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 11 Mar 2016 06:58:06 -0500 Subject: preliminary work for 5200 port --- hello52.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hello52.c (limited to 'hello52.c') diff --git a/hello52.c b/hello52.c new file mode 100644 index 0000000..eba835d --- /dev/null +++ b/hello52.c @@ -0,0 +1,20 @@ +/* + build as a 32K diagnostic cart: + cl65 -m hello52.map -t atari5200 -Wl -D__CARTSIZE__=0x8000 -o 1.bin hello52.c cartname_5200.s cartyear_5200.s crt0_5200.s + + run with original OS: + atari800 -5200 -cart-type 4 -cart 1.bin + + or run with rev A: + atari800 -5200 -5200-rev a -cart-type 4 -cart 1.bin + +*/ + +#include + +int main(void) { + gotoxy(5, 11); + cputs("HELLO WORLD"); +hang: goto hang; + return 0; +} -- cgit v1.2.3