X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/2bcaaabf0bbbb0232fe8ffe0a8943a14159852ab..00a4c19f8e97b088b9385af67f530c2ddecb92ce:/diag.asm?ds=sidebyside diff --git a/diag.asm b/diag.asm index 780f5c2..3a3d665 100644 --- 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: