Redirect putchar to the parallel port.
* The screen is used by conio,
* First step towards getting rid of the firmware.
diff --git a/contiki-cpc/arch/putchar.s b/contiki-cpc/arch/putchar.s
index cc98c8d..91e42af 100644
--- a/contiki-cpc/arch/putchar.s
+++ b/contiki-cpc/arch/putchar.s
@@ -5,23 +5,15 @@
.area _CODE
_putchar::
-_putchar_rr_s::
ld hl,#2
add hl,sp
ld a,(hl)
-;; ld a,#1
-;; rst 0x08
- call 0xBB5A
- ret
-
-_putchar_rr_dbs::
+
+ ld bc,#0xef00
+ out (c),c
+ or #0x80
+ out (c),a
-;; ld l,e
-;; ld a,#1
-;; rst 0x08
-
- ld a,e
- call 0xBB5A
ret
-
\ No newline at end of file
+