[A83] Re: Tiles and such


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

[A83] Re: Tiles and such




Crashman's Tilemapping routine works fine on the 83+ with some _small_ 
modifications.  To make 16x16 sprites use ionLargeSprite.  Ex:

;----ION LARGESPRITE ----
;Input: a-x coordinate
;       l -y coordinate
;       b-height
;       c-width in bytes (16/8=2)
;       ix-sprite
drawmysprite:
    ld a,0
    ld l,0
    ld b,16
    ld c,2
    ld ix,bigsprite
    call ionLargeSprite
    call ionFastCopy

TCPA's tilemapping routine is also very good.

-Cole South