Moved and unpacked examples to sdcc/device/examples/ds390
[fw/sdcc] / device / examples / ds390 / hello390 / hello390.c
1 /* This example compiles right out of the box for TINI after you did a 
2    make install of sdcc (latest revision :).
3    
4    Just do a "make" which compiles and compresses it a little.
5    Than use JavaKit to load hello390.hex (it goes into bank 1, see Makefile)
6    Type 'E' in JavaKit and enjoy :) */
7
8 /* if you are using the (default) interrupt scheme for serial i/o,
9    you need to include this in the main program, so the vector will
10    be initialized */
11 #include <serial390.h>
12
13 #include <stdio.h>
14
15 void main (void) {
16   printf ("\n\rHello from 390.\n\rSee you, bye...");
17 }