source: trunk/libs/newlib/src/libgloss/m68k/test.c @ 687

Last change on this file since 687 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 379 bytes
Line 
1extern int led_putnum();
2extern char print(),putnum();
3
4#include <stdio.h>
5
6main()
7{
8  char buf[20];
9
10  outbyte ('&');
11  outbyte ('@');
12  outbyte ('$');
13  outbyte ('%');
14  print ("FooBar\r\n");
15
16#if 0
17  write (2, "Enter 5 characters... ", 24);
18  read (0, buf, 5);
19  print (buf);
20  print ("\r\n");
21#endif
22
23  /* whew, we made it */
24  print ("\r\nDone...\r\n");
25  fflush(stdout);
26}
Note: See TracBrowser for help on using the repository browser.