aboutsummaryrefslogtreecommitdiff
path: root/hello52.c
blob: eba835d18f6f661e4593980436766b6599ea51fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 <conio.h>

int main(void) {
	gotoxy(5, 11);
	cputs("HELLO WORLD");
hang: goto hang;
	return 0;
}