English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 10 September 2023, 14:24   #1
Steam Ranger
Registered User
 
Steam Ranger's Avatar
 
Join Date: May 2022
Location: Adelaide, South Australia, Australia
Posts: 208
Screen colours

I have two questions about how colours work on screens:
  1. Can block and detail pens be anything either than 0 and 1?
  2. Can you change which colour registers they are while the screen is running?
Steam Ranger is offline  
Old 11 September 2023, 12:31   #2
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,247
Quote:
Originally Posted by Steam Ranger View Post
Can block and detail pens be anything either than 0 and 1?
Sure. See for example "struct NewScreen".


Quote:
Originally Posted by Steam Ranger View Post

Can you change which colour registers they are while the screen is running?
Not for windows or screen elements that are already on screen. But every window has its own detail and block pen, thus you can change it for windows you open (or, re-open).
Thomas Richter is offline  
Old 11 September 2023, 13:54   #3
Steam Ranger
Registered User
 
Steam Ranger's Avatar
 
Join Date: May 2022
Location: Adelaide, South Australia, Australia
Posts: 208
Quote:
Originally Posted by Thomas Richter View Post
Not for windows or screen elements that are already on screen. But every window has its own detail and block pen, thus you can change it for windows you open (or, re-open).
Damn. Is there a way I can very quickly re-open screen's? I don't need to be doing it any frame of anything like that, but it shouldn't take more than 10-20 frames on an ECS system.

Setting the colours before opening doesn't work for me, I've made a high level colour management thing meant to make it act like bitmap colours, and the colour handle needs to open after the screen (because it sets the screens register colour, and I don't know how I'd get it to do that after opening the screen).
Steam Ranger 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
Split screen with a copper list - changing all the colours in time deimos Coders. Asm / Hardware 29 21 January 2022 18:32
Workbench and colours burf2000 support.Apps 3 31 August 2012 05:14
ECS screen mode colours. redblade support.Hardware 10 28 June 2010 05:30
Something about the colours Maren support.WinUAE 17 21 March 2010 12:16
how many colours has the petza Amiga scene 21 17 August 2006 11:26

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:48.

Top

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