]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - diag.asm
IP
[fpgaboy.git] / diag.asm
index 780f5c2b452df06e5da55f2c4d1d9cb932058dfb..3a3d6659ac4ff8ad2e85bed4c338ec35d65f3639 100644 (file)
--- a/diag.asm
+++ b/diag.asm
@@ -1,6 +1,8 @@
        SECTION "a",HOME[$00]
 
-start: jp main
+start: ld a, $AA
+       ld [$FF51], a
+       jr start
        
        section "vbl",HOME[$40]
        jp vbl
@@ -475,14 +477,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.027527 seconds and 4 git commands to generate.