Diag rom now runs from bootloader!
[fpgaboy.git] / diag.asm
index 780f5c2..b30faf3 100644 (file)
--- a/diag.asm
+++ b/diag.asm
@@ -475,14 +475,14 @@ insntest:
 
 ; Serial port manipulation functions.
 putc:
-       ld c, $50
+       ld c, $53
        push af
 .waitport:
        ld a,[c]
-       cp $00
+       and $01
        jr nz,.waitport
        pop af
-       ld [c],a
+       ld [$FF52],a
        ret
 
 puts:
This page took 0.017054 seconds and 4 git commands to generate.