summaryrefslogtreecommitdiff
path: root/core/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/hello.c')
-rw-r--r--core/hello.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/hello.c b/core/hello.c
index 5b224784..d30fc3b9 100644
--- a/core/hello.c
+++ b/core/hello.c
@@ -9,14 +9,10 @@
void myputchar(int c)
{
- static com32sys_t ireg;
-
if (c == '\n')
myputchar('\r');
- ireg.eax.b[1] = 0x02;
- ireg.edx.b[0] = c;
- __intcall(0x21, &ireg, NULL);
+ writechr(c);
}
void myputs(const char *str)