Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Simple code for display a single sprite
- v = $d000
- ; Load Sprite into memory from data
- lda #13
- sta 2040
- lda #1
- sta v+21
- sta v+39
- ldx #62
- copysprite
- lda racecar,x
- sta $340,x
- dex
- bpl copysprite
- ; Display Sprite
- lda sprx
- sta v
- lda sprx+1
- sta v+16
- lda spry
- sta v+1
- sprx !byte 135,0
- spry !byte 210
- ; sprite 0 / singlecolor / color: $03
- racecar
- !byte $00,$18,$00,$00,$3c,$00,$00,$3c
- !byte $00,$03,$7e,$c0,$03,$ff,$c0,$03
- !byte $7e,$c0,$00,$5a,$00,$00,$5a,$00
- !byte $00,$c3,$00,$01,$db,$80,$03,$e7
- !byte $c0,$07,$ff,$e0,$00,$ff,$00,$07
- !byte $66,$e0,$07,$7e,$e0,$07,$e7,$e0
- !byte $07,$7e,$e0,$07,$7e,$e0,$00,$24
- !byte $00,$03,$ff,$c0,$03,$ff,$c0,$03
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement