Article View: comp.sys.amiga.tech
Article #10554Sprite Problem
From: Brett S Bourbin
Date: Sun, 11 Dec 1988 20:46
Date: Sun, 11 Dec 1988 20:46
28 lines
1762 bytes
1762 bytes
I am trying to get some SimpleSprites to work with a custom View that
I have created with no luck. What I am doing is creating a View with 6
bitplanes (HAM) and I set v_Modes and vp_Modes to "V_HAM!V_SPRITES". Then I
do some standard initialization of the BitMap and RasInfo structures. Once
I am all finished, I _LVOMakeVPort and _LVOMrgCop then _LVOLoadView. At this
point everything is going fine, and then I _LVOGetSprite number 2 and
initialize a chip memory buffer to hold the sprite image. Finally I call the
_LVOChangeSprite function with a zero in register A0, to act on the current
View (the one I just created).
I never see the sprite on the screen. But if I then hit the
Left-Amiga M keys, and bring the screen behind to the front, I see the sprite
on that screen. Why is it going to the background screen when I LoadView
my new View?
I have tried to use the ViewPort address instead of a zero in A0 with
no change. Can anyone see what I am doing wrong?
Thanks in advance for any help you can give.
--Brett S Bourbin
__ __ _ __ _ Instructional Computing Programs -- Univ of Maryland
| || | / || || \
| || || || || | INTERNET: brett@SYLVESTER.UMD.EDU
| || || || || | bbourbin@UMD5.UMD.EDU
\_||_/ |__||__||__| BIX: brettb
College Park BITNET: bbourbin@UMDD
Technical Details
Message-ID:
<3039@haven.umd.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!gatech!rutgers!haven!sylvester.umd.edu!brettShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!gatech!rutgers!haven!sylvester.umd.edu!brett From: brett@sylvester.umd.edu (Brett S Bourbin) Newsgroups: comp.sys.amiga.tech Subject: Sprite Problem Message-ID: <3039@haven.umd.edu> Date: 11 Dec 88 20:46:33 GMT Sender: news@haven.umd.edu Reply-To: brett@sylvester.umd.edu (Brett S Bourbin) Organization: University of Maryland, College Park Lines: 28