]> Joshua Wise's Git repositories - fpgaboy.git/commitdiff
Say ABCD.
authorJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 19 Apr 2008 08:27:55 +0000 (04:27 -0400)
committerJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 19 Apr 2008 08:27:55 +0000 (04:27 -0400)
diag.asm

index c832ff2c6c6ba69de8fb24e2a3a8054a06a587b3..e7bb0d4bfa23a6b5ce449e624c55488a08b54ca9 100644 (file)
--- a/diag.asm
+++ b/diag.asm
@@ -69,13 +69,31 @@ tiles:
        db %11111100
        db %00000000
 
+       db %01111100
+       db %11000110
+       db %11000010
+       db %11000000
+       db %11000010
+       db %11000110
+       db %01111100
+       db %00000000
+
+       db %11111100
+       db %11000110
+       db %11000110
+       db %11000110
+       db %11000110
+       db %11000110
+       db %11111100
+       db %00000000
+
 putscreen:
        ; Wait for vblank
        call .vblwait
 
        ld hl, $8000    ; Copy two tiles.
        ld de, tiles
-       ld c, $10
+       ld c, $20
 .cloop:        push hl
        ld h, d
        ld l, e
@@ -93,9 +111,9 @@ putscreen:
 .vloop:        call .vblwait
        ld c, $40
        ld b, 0
-.loop: inc b
-       ld a, b
-       and $01
+.loop: ld a, b
+       inc b
+       and $03
        ld [hli], a
        ld a, h
        cp $9C
This page took 0.023743 seconds and 4 git commands to generate.