Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Printputc
- ; c == character to print
- Printputc:
- ld a, [PrintY]
- ld h, 0
- ld l, a
- ; Multipliy y coordinate by 32
- rept 5
- add hl, hl
- endr
- ld a, [PrintX]
- add a, l
- ld l, a
- ld de, _SCRN0
- add hl, de
- ld [hl], c
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement