English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   Coders. General (http://eab.abime.net/forumdisplay.php?f=37)
-   -   Documentation needed Graphics.libary (about AGA Sprite/pointer) (http://eab.abime.net/showthread.php?t=25247)

CFOU! 28 August 2006 11:04

Documentation needed Graphics.libary (about AGA Sprite/pointer)
 
I need your help for EOB1 aga project indeed i need documentations of AGA updates of graphics library about AGA sprites/pointer management?

FreeSprite/GetPointer/ChangePointer etc.....

how use BPLCON2 BPLCON3 BPLCON4 ($dff104/$df106/dff10c) aga specification on WB?

are it limitation on WB of AGA sprite possibilities?

Maximum size of pointer? Maximum color of pointer? (on WB)

How select sprite palette (i need colors 192 to 223 for normal items)

Thanks in advance

Tony Landais 28 August 2006 11:50

Do you know that page?
Maybe you ll find the right documentation.

http://www.deadwoodinc.net/amigan/amiga/

CFOU! 28 August 2006 12:42

Quote:

Originally Posted by Tony Landais
Do you know that page?
Maybe you ll find the right documentation.

http://www.deadwoodinc.net/amigan/amiga/


thanx i will try Amiga ROM Kernel Reference Manual: Libraries

Toni Wilen 28 August 2006 17:40

Most likely nobody has never used OS sprite functions :)

dlfrsilver 28 August 2006 18:51

it means that if Bertrand finds the way to do it, he will be the ONLY guy
to know how it works ^^.

CFOU! 28 August 2006 21:53

1 Attachment(s)
Quote:

Originally Posted by dlfrsilver
it means that if Bertrand finds the way to do it, he will be the ONLY guy
to know how it works ^^.


no found now the solution :(

2 problems with graphics library (i dont wnt use direcltly DMA register for upper compatibility):
- How change sprite palette with graphics.library ($dff10c) to set sprites color of 208 to 223
- How display 16 colors pointer on OS39 (no problem with old OS it's seems)


Here original EOB1 code which work on os39 if SETPATCH are not loaded

Have somebody an idea???

CFOU! 28 August 2006 23:23

here doc but it's seems Atach bit don't work on 3.9 with pointer???

If you want to have some fun you can reserve sprite 1 and set
the SPRITE_ATTACHED flag. Since sprite 0 is already used by
Intuition as the pointer, sprite 1 would be attached to the
pointer, and you could have a 15 coloured pointer! (Whenever
Intuition moves the pointer (sprite 0, which is the Bottom
sprite), your sprite (sprite 1, Top Sprite) will move
automatically.) (You can change Intuition's pointer by calling
the function SetPointer. See chapter 2 WINDOWS for more
information.)

CFOU! 29 August 2006 02:09

Finally, I have found solution to fix ECS/color 16 colors sprite pointer code on OS3.9 (I have just to change screen position =>not 0,0)



now my last question is:

How in the OS to change BLPCON4/$10C DMA register ?

Indeed by default $dff10c=$0011 in the copper list of my intuition screen (to select second 32 colors palettes for sprites)

I must set $dff10c to $00cc to select the palette 13 for sprite

Have you an idea to change it using OS-Friendly code? it's last problem to finish EOB AGA conversion


PS: I can change it my-self in the copper list but is not a good solution

CFOU! 30 August 2006 20:08

Quote:

Originally Posted by CFOU!
Finally, I have found solution to fix ECS/color 16 colors sprite pointer code on OS3.9 (I have just to change screen position =>not 0,0)



now my last question is:

How in the OS to change BLPCON4/$10C DMA register ?

Indeed by default $dff10c=$0011 in the copper list of my intuition screen (to select second 32 colors palettes for sprites)

I must set $dff10c to $00cc to select the palette 13 for sprite

Have you an idea to change it using OS-Friendly code? it's last problem to finish EOB AGA conversion


PS: I can change it my-self in the copper list but is not a good solution

Solution found will Wepl help :)


All times are GMT +2. The time now is 19:59.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.

Page generated in 0.04249 seconds with 11 queries