English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 28 August 2006, 11:04   #1
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,372
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

Last edited by CFOU!; 28 August 2006 at 17:34.
CFOU! is offline  
Old 28 August 2006, 11:50   #2
Tony Landais
Zone Friend
 
Join Date: Mar 2003
Location: uk
Posts: 426
Do you know that page?
Maybe you ll find the right documentation.

http://www.deadwoodinc.net/amigan/amiga/
Tony Landais is offline  
Old 28 August 2006, 12:42   #3
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,372
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
CFOU! is offline  
Old 28 August 2006, 17:40   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,349
Most likely nobody has never used OS sprite functions
Toni Wilen is offline  
Old 28 August 2006, 18:51   #5
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 42
Posts: 8,231
Send a message via MSN to dlfrsilver
it means that if Bertrand finds the way to do it, he will be the ONLY guy
to know how it works ^^.
dlfrsilver is offline  
Old 28 August 2006, 21:53   #6
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,372
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???
Attached Files
File Type: lha SpritesPointerEOB1.lha (845 Bytes, 130 views)

Last edited by CFOU!; 29 August 2006 at 10:04.
CFOU! is offline  
Old 28 August 2006, 23:23   #7
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,372
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.)

Last edited by CFOU!; 28 August 2006 at 23:34.
CFOU! is offline  
Old 29 August 2006, 02:09   #8
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,372
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

Last edited by CFOU!; 29 August 2006 at 10:04.
CFOU! is offline  
Old 30 August 2006, 20:08   #9
CFOU!
Moderator
CFOU!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 46
Posts: 2,372
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
CFOU! is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple chunky 2D Graphics Library needed in C NovaCoder Coders. General 4 19 December 2011 13:39
jpeg.libary 5.1 for PhotoFolio Error crazyegg support.Apps 2 22 November 2010 23:51
How to Rip graphics (background and sprite) NubeCheCorre project.Sprites 5 19 September 2010 15:27
Help needed please graphics issue Amiga_Geek support.WinUAE 2 29 October 2009 09:46
Brian the Lion AGA - 1.6.0 sprite not displayed Ian support.WinUAE 2 20 July 2009 12:49

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.07233 seconds with 14 queries