A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / Some question about Amiga graphics system

 

Author Message
Sonic
Member
#1 - Posted: 26 Jul 2010 10:41
Reply Quote
Hello!

I tried to ask these question at utilitybase.com, however noone knows the answer there. I hope this is the better place to ask them, i see there are some oldschool demo coders here with lowlevel stuff knowledge. Perhaps someone knows answers...

1. What is actually DrawInfo.dri_Resolution? In what units is it expressed? Comment in OS3.9 NDK says that is's a copy of DisplayInfo data for screen's display mode.
I guess it's taken from DisplayInfo.Resolution. Well, again, what is it? Comment is short: "ticks-per-pixel X/Y". What is tick then?

2. About sprites, when used by graphics.library. If i want to completely remove my sprite from the screen, before FreeSprite() or FreeSpriteData(), what should i do? I beleive if i just call FreeSpriteData() the hardware will still be directed to display deallocated sprite image, which will then be trashed? So what function does the job of actual sprite removal? FreeSprite() FreeSpriteData()? Should i do it manually somehow?

I am working graphics.library on AROS operating system and i am implementing some missing parts. The answers are needed in order to do this correctly.
Vektor
Member
#2 - Posted: 10 Aug 2010 22:44
Reply Quote
Does Tick not refer to the screenrefresh frequency?
ZEROblue
Member
#3 - Posted: 11 Aug 2010 07:53
Reply Quote
I think we discussed this on the EAB a while back, and concluded that it's just a generic unit for describing the exact pixel aspect. It just has a misleading name.

 

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0