1
0
mirror of https://github.com/cc65/cc65.git synced 2024-05-31 22:41:32 +00:00
cc65/samples/kim1/kimHello.c

25 lines
518 B
C
Raw Normal View History

2022-06-04 20:00:48 +00:00
// --------------------------------------------------------------------------
// Hello World for KIM-1
2022-06-04 20:00:48 +00:00
//
// Dave Plummer based on Sym-1 sample by Wayne Parham
//
// davepl@davepl.com
// --------------------------------------------------------------------------
#include <stdio.h>
#include <kim1.h>
2022-09-19 21:57:26 +00:00
int main (void)
2022-06-04 20:00:48 +00: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 21:57:26 +00:00
2022-06-04 20:00:48 +00:00
gets( str );
printf ("\n\nThanks: %s\n\n", str);
return 0;
}