[A83] Re: sprites


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

[A83] Re: sprites




and if sprx is right after spry in the memory he can then do ld a,h and you
dont have to mess with the ld a,(sprx)
----------------------------------------------
Original Message
From: ""<ComAsYuAre@aol.com>
Subject: [A83] Re: sprites
Date: Tue, 24 Apr 2001 14:27:05 EDT

>Actually assuming he's not putting anything into h, he can just do ld 
>hl,(spry) which puts (spry) in l and (spry+1) in h.
>
>
>In a message dated 4/24/2001 7:42:50 AM Eastern Daylight Time, 
>SOCCERK121@aol.com writes:
>
>
>> You can't load a variable directly into l, change your code to this:
>> putsprite:
>>   ld b,8
>>   ld a,(spry)
>>   ld l,a
>>   ld a,(sprx)
>>   ld ix,sprite
>>   call ionPutSprite
>>   bcall(_grbufcpy)
>>   ret
>> sprite:
>>   .db $18
>>   .db $18
>>   .db $3C
>>   .db $3C
>>   .db $3C
>>   .db $5A
>>   .db $7E
>>   .db $BD
>
>
>
>----
>Jonah Cohen
><ComAsYuAre@aol.com>
>http://jonah.ticalc.org
>
>
>
>

_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com