]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - diag.asm
Diag rom now runs from bootloader!
[fpgaboy.git] / diag.asm
index 780f5c2b452df06e5da55f2c4d1d9cb932058dfb..b30faf390b33003ed6a880cd19ed6756ee875391 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.025854 seconds and 4 git commands to generate.