localtime.s
mktime.s
perror.s
-putchar.s
puts.s
qsort.s
realloc.s
localtime.o \
mktime.o \
perror.o \
- putchar.o \
puts.o \
qsort.o \
realloc.o \
modload.o \
oserrcheck.o \
printf.o \
+ putchar.o \
rand.o \
raise.o \
remove.o \
+++ /dev/null
-/*
- * putchar.c
- *
- * Ullrich von Bassewitz, 11.12.1998
- */
-
-
-
-#include <stdio.h>
-#undef putchar /* This is usually declared as a macro */
-
-
-
-/*****************************************************************************/
-/* Code */
-/*****************************************************************************/
-
-
-
-int __fastcall__ putchar (int c)
-{
- return fputc (c, stdout);
-}
-
-
-
--- /dev/null
+;
+; Ullrich von Bassewitz, 2004-10-06
+;
+; int __fastcall__ putchar (int c);
+;
+
+ .export _putchar
+ .import _stdout
+ .import _fputc
+
+
+.code
+
+_putchar:
+ lda #<_stdout
+ ldx #>_stdout
+ jmp _fputc ; __fastcall__ function
+
+
+