Last change
on this file since 546 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
355 bytes
|
Rev | Line | |
---|
[444] | 1 | extern int led_putnum(); |
---|
| 2 | extern char putDebugChar(),print(),putnum(); |
---|
| 3 | |
---|
| 4 | main() |
---|
| 5 | { |
---|
| 6 | char buf[20]; |
---|
| 7 | |
---|
| 8 | outbyte ('&'); |
---|
| 9 | outbyte ('@'); |
---|
| 10 | outbyte ('$'); |
---|
| 11 | outbyte ('%'); |
---|
| 12 | print ("FooBar\r\n"); |
---|
| 13 | |
---|
| 14 | #if 0 |
---|
| 15 | write (2, "Enter 5 characters... ", 24); |
---|
| 16 | read (0, buf, 5); |
---|
| 17 | print (buf); |
---|
| 18 | print ("\r\n"); |
---|
| 19 | #endif |
---|
| 20 | |
---|
| 21 | /* whew, we made it */ |
---|
| 22 | print ("\r\nDone..."); |
---|
| 23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.