Jump to content

Recommended Posts

 

 

Hi, 

 

I'm a bit confused (even after reading the docs) over how vro_cpyfm (and anything that uses MFDB's actually) works with colours. There doesn't appear to be anywhere in the MFDB to indicate which actual colour a pixel is when the format is the device-dependent one. I can see how the bits identify the "pen", but they don't know that (in MFDB A) pen #1 is 'red' and (in MFDB B) pen #1 is 'green'. 

 

Questions:

 

  • Is the palette just whatever is on the screen at the time, so this doesn't really matter ?

 

  • What if the screen is 'true-colour' like one of the Falcon modes, or a TT video card ? Is the device-dependent form just 16/24/32-bit packed-data RGB per pixel ?

 

  • Do the bit operations (eg: S_XOR_D) work on the colour values, or the pen-ids (ie: what's in the video memory). I'm assuming it's the pen-id's, but since I'm asking questions :)

 

Ta :) 

 

[I really wish otter-correct would stop converting vro_... into bro_...]

  • Like 1
Link to comment
https://forums.atariage.com/topic/355030-vro_cpyfm-and-colours/
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...