brett@sylvester.umd.edu (Brett S Bourbin) (12/12/88)
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