aboutsummaryrefslogtreecommitdiff
path: root/libgloss/m68k/test.c
blob: d84045d6054174af20f884399036f28d95204de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
extern int led_putnum();
extern char print(),putnum();

#include <stdio.h>

main()
{
  char buf[20];

  outbyte ('&');
  outbyte ('@');
  outbyte ('$');
  outbyte ('%');
  print ("FooBar\r\n");

#if 0
  write (2, "Enter 5 characters... ", 24);
  read (0, buf, 5);
  print (buf);
  print ("\r\n");
#endif

  /* whew, we made it */
  print ("\r\nDone...\r\n");
  fflush(stdout);
}