[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apple II graphics
Gabriel Morales <Togega@concentric.net> wrote:
>Now I ask:
>
>Now, could I subsequently call up these graphics in BASIC in order to produce
>simple animation, or is there a better way of doing this?
Yes; the easiest way is to load up hires screens from the slot 3 RAM
disk. Assuming your program is in slot 6, drive 1 and your graphics
are labeled gpx1 through gpx7, you can use the following program...
10 let a=0
20 let a=a+1
30 ? chr$(4);"bload gpx";a;",s6,d1"
40 ? chr$(4);"bsave gpx";a;",a$2000,l$4000,s3,d2"
50 if a=7 then goto 70
60 goto 20
70 hgr
80 let b=0
90 let b=b+1
100 ? chr$(4);"bload gpx";b;",s3,d2"
110 if b=7 then goto 80
120 goto 90
130 end
The reason you want to load from s3,d2 is because of the speed
of the RAM disk. If you have a larger RAM disk, you can add more
frames.
My Applesoft BASIC is VERY rusty, so someone please check my
program...I am especially not sure about a$2000,l$4000...