Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Put16x16_X8:
- ld de,(IndirectSpriteAddress) ; could just pass this as an argument for more flexibility
- ld a,(foo) ; this could also be passed as an argument
- ld l,a
- add a,a
- add a,l
- ld h,0
- ld l,a
- add hl,hl
- add hl,hl
- ld bc,plotSScreen+1
- add hl,bc
- ld bc,(16<<8)|11
- drawLoop:
- ld a,(de)
- ld (hl),a
- inc de
- inc hl
- ld a,(de)
- ld (hl),a
- inc de
- ld a,b
- ld b,0
- add hl,bc
- ld b,a
- djnz drawLoop
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement