View Single Post
Old 05 September 2019, 12:38   #15
Tigerskunk
Inviyya Dude!
 
Tigerskunk's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,785
Quote:
Originally Posted by Clydos View Post
Alright, thanks. But if I would address AGA, I could
use $00FF0000? Or "just" $FF0000?
Don't know, I never dabbled in the dark arts of AGA.

Quote:
Originally Posted by Clydos View Post
Regarding the first nibble: I thought this has sth to do with transparency (as I am coming from the web dev corner). No?
No, there is no "alpha" value in those early graphics chips.
If you write an OCS colour value, the first nibble doesn't count. I don't know if it must be set to zero though, or what happens if you don't, since I never tried that out. I guess it just doesn't get read.

so #$0fff is white, and #$0000 is black, #$0f00 is red, etc...

if you want to set your screen to a black background, you'd put..

dc.w $0180,$0000

in your copperlist. The $0180 here is short form for $dff180, which is the register responsible for colour 0, the background colour.. The copper understands writing this short form.

And what Roondar said. Get aquainted with OCS first.
AGA is really a lot more confusing, imo...
Tigerskunk is offline  
 
Page generated in 0.04536 seconds with 10 queries