X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/14778cde2df07491e9c2e8da0e8a1ab8724e6cec..decafd62efeba345e3ff285662021f36c9c3ae2f:/diag.asm diff --git a/diag.asm b/diag.asm index e7bb0d4..e9a9f19 100644 --- a/diag.asm +++ b/diag.asm @@ -94,12 +94,8 @@ putscreen: ld hl, $8000 ; Copy two tiles. ld de, tiles ld c, $20 -.cloop: push hl - ld h, d - ld l, e - ld a, [hl] +.cloop: ld a, [de] inc de - pop hl ld [hli], a ld [hli], a dec c