A86: pointers


[Prev][Next][Index][Thread]

A86: pointers




i have about 6 rle encoded pics stored in my program
and have a short function to display the current
number

curr: .db 0
draw:
 ld a,(curr)
 add a,a
 ld d,0
 ld e,a
 ld hl,pointers
 add hl,de
 ld de,$fc00
 call DispRLE
 ret

pointers:
 .dw pic1,pic2,pic3,pic4,pic5

pic1: .db ............
pic2: .db...
many many byte for all the pics
but that doesn't seem to work
any ideas?
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


Follow-Ups: