English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 28 August 2006, 10:04   #1
CFou!
Moderator
 
CFou!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 51
Posts: 4,277
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 16:34.
CFou! is offline  
Old 28 August 2006, 10: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, 11:42   #3
CFou!
Moderator
 
CFou!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 51
Posts: 4,277
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, 16:40   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,575
Most likely nobody has never used OS sprite functions
Toni Wilen is online now  
Old 28 August 2006, 17:51   #5
dlfrsilver
CaptainM68K-SPS France
 
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 47
Posts: 10,517
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, 20:53   #6
CFou!
Moderator
 
CFou!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 51
Posts: 4,277
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, 201 views)

Last edited by CFou!; 29 August 2006 at 09:04.
CFou! is offline  
Old 28 August 2006, 22:23   #7
CFou!
Moderator
 
CFou!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 51
Posts: 4,277
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 22:34.
CFou! is offline  
Old 29 August 2006, 01:09   #8
CFou!
Moderator
 
CFou!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 51
Posts: 4,277
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 09:04.
CFou! is offline  
Old 30 August 2006, 19:08   #9
CFou!
Moderator
 
CFou!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 51
Posts: 4,277
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 12:39
jpeg.libary 5.1 for PhotoFolio Error crazyegg support.Apps 2 22 November 2010 22:51
How to Rip graphics (background and sprite) NubeCheCorre project.Sprites 5 19 September 2010 14:27
Help needed please graphics issue Amiga_Geek support.WinUAE 2 29 October 2009 08:46
Brian the Lion AGA - 1.6.0 sprite not displayed Ian support.WinUAE 2 20 July 2009 11: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 10:57.

Top

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