SECTION "a",HOME[$00]
-start: jp main
+start: ld a, $AA
+ ld [$FF51], a
+ jr start
section "vbl",HOME[$40]
jp vbl
; 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: