🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2957

Attaching to the Intuition Pointer

#2957
From: Henrik Clausen
Date: Thu, 15 Mar 1990 02:13
31 lines
1868 bytes
   I'm working on getting a very tall Intuition Pointer for a program for
disabled - they keep banging on me to make it - the 1.3 limit of 127 pixels is
too little. 
   I'm not so foolish as to attack the Intuition Sprite (#0) directly, so I
figured I'd better tack on upon it, so I ask for Sprite #1, set the
SPRITE_ATTACH flag, set a height of 255 on my sprite, and off it goes.
Anything icky in this approach?
   My system seems a bit unstable when I work on this. The Libraries&Devices
manual tells me to look in the Hardware manual. The H.M. does not care about
Intuition, but it does tell me that the two sprites should be equally tall.

   Later I'll want this tall sprite to detach and move to show the X
coordinate of that moment's position, in the full screen height. Could I just
clear the SPRITE_ATTACH bit? It seems not.
   Perhaps I'd preserve the first two sprite words, ChangeSprite to something
else, set VSTART to 0, VSTOP to 255, clear SPRITE_ATTACH, and ChangeSprite to
my new data. This should do it.

   Are the Sprites limited to 255 pixels height? Seems there's hardly room for
more in the data structures.

   And now if the limit to the Intuition Pointer was 255 (UBYTE instead of
BYTE), there'd be no problems. Coming in 1.4, you West Chester guys???

      I hope someone can enlighten me on the subject...

                        -Henrik

--
*** Henrik Clausen, Graffiti Data (Fido: 2:230/22.33, UseNet: hrc@daimi.dk) ***
Technical Details
Message-ID: <00451.AA00451@adspdk.CBMNET>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!usc!rutgers!cbmvax!cbmehq!cbmdeo!adspdk!hclausen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!usc!rutgers!cbmvax!cbmehq!cbmdeo!adspdk!hclausen
From: hclausen@adspdk.CBMNET (Henrik Clausen)
Newsgroups: comp.sys.amiga.tech
Subject: Attaching to the Intuition Pointer
Keywords: Sprites, Attached, Tall, Intuition Pointer
Message-ID: <00451.AA00451@adspdk.CBMNET>
Date: 15 Mar 90 02:13:59 GMT
Followup-To: comp.sys.amiga.tech
Lines: 31