1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-12 17:30:50 +00:00
cc65/samples/kim1/kimHello.c

25 lines
518 B
C
Raw Normal View History

2022-06-04 13:00:48 -07:00
// --------------------------------------------------------------------------
// Hello World for KIM-1
2022-06-04 13:00:48 -07:00
//
// Dave Plummer based on Sym-1 sample by Wayne Parham
//
// davepl@davepl.com
// --------------------------------------------------------------------------
#include <stdio.h>
#include <kim1.h>
2022-09-19 23:57:26 +02:00
int main (void)
2022-06-04 13:00:48 -07:00
{
char str[100];
char c = 0x00;
printf ("\nHello World!\n\n");
printf ("Type a line and press ENTER, please.\n\n");
2022-09-19 23:57:26 +02:00
2022-06-04 13:00:48 -07:00
gets( str );
printf ("\n\nThanks: %s\n\n", str);
return 0;
}