Re: A89: storing background
[Prev][Next][Index][Thread]
Re: A89: storing background
When you set graphlib::choosescreen to 1, it allows you to use a1 as a
pointer to where you want it to draw; hence the name of the variable
choosescreen, it allows you to choose the screen to draw on.
BLoWh0Le@aol.com wrote:
>
> In a message dated 1/5/00 4:17:36 PM Pacific Standard Time,
> littlbit@txcyber.com writes:
>
> << put_pic
> move.w #0,d0
> move.w #0,d1
> move.l #buffer1,a1
> lea pic(PC),a0
> jsr graphlib::put_sprite
> bsr buf1_buf2 >>
>
> i think i see the problem, but i'm not sure. it seems to me that you "move.l
> $buffer1,a1" because you think put_sprite will draw to the buffer instead of
> to the screen, although i can be mistaken in your intentions. however, upon
> checking graphlib.h, i see no mention of a1 being used as a pointer. i hope
> i am right, but i would not take my word for it.
--
Scott "_Wrath_" Dial
wrath@calc.org
ICQ#3608935
TimeCity AI Guy II - www.timecity.org
Member of TCPA - tcpa.calc.org
__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html
References: