[A83] Re: 83 help


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

[A83] Re: 83 help






>From: "Dustin Davis" <titan2782@hotmail.com>
>Reply-To: assembly-83@lists.ticalc.org
>To: <assembly-83@lists.ticalc.org>
>Subject: [A83] Re: 83 help
>Date: Mon, 2 Apr 2001 22:31:33 -0700
>
>
>i am very greatful for your help, and everyone elses help. I have two more
>questions. ionLargeSprite puts the sprite ok, but its all scrambled. If i
>make a giant block it will put the sprite on the screen just fine. But if i
>make a picture then it is all scrambled. I set everything correct but still
>it messed it up.

Make sure your sprites are like this: (ionguru is WRONG)
Sprite:
.db %11111111,%11111111
.db %10000000,%00000001
.db %10000000,%00000001
.db %10001100,%00110001
.db %10001100,%00110001
.db %10000000,%00000001
.db %10000000,%00000001
.db %10000011,%11000001
.db %10000011,%11000001
.db %10000011,%11000001
.db %10000000,%00000001
.db %11111111,%11111111



>And My next question is how do I compare a 16 bit number?
>like my game has numbers that go past 255 and up to 527 and i have to
>compare numbers over 255. I tried cp 300 but as i guessed, it didnt work.
>Any idea?

ld hl,[16 bit number]
ld de,[16 but number to compare it to]
bcall(_cphlde)

>
>Dustin Davis
>Lead Software Developer
>Vision Works Studios
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





Follow-Ups: