English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 18 February 2017, 16:39   #1
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
Setting the sprite color base with VideoControl()

I'd like to change the base color for the even sprites in a system-friendly way. I tried to use the VideoControlTags() function, but it doesn't seem to do anything:

Code:
    VideoControlTags(screen->ViewPort.ColorMap,
        VTAG_SPEVEN_BASE_SET, 0,
        TAG_DONE);
When I tried to read the default values with VTAG_SPEVEN_BASE_GET, I didn't get any meaningful result either. From what I understand I should be able to select 16 color banks, but I don't know what value to set to achieve this.
BSzili is offline  
Old 19 February 2017, 09:50   #2
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
You are using an extended colormap structure, correct?
Samurai_Crow is offline  
Old 19 February 2017, 18:19   #3
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
I'm using the ColorMap that's allocated by OpenScreen, but I checked the type just in case and it's 0x02.
BSzili 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
Color Saturation and Color Tint/Hue Retro-Nerd support.WinUAE 22 02 August 2018 10:38
Printing in color with WinUAE on color laser source support.Apps 7 14 April 2013 00:32
ISO true color to 256 color algorithm Lord Riton Coders. General 19 15 April 2011 17:49
Base Jumpers Graham Humphrey request.Old Rare Games 22 16 July 2009 20:51
Game Base 64 V2 plasmatron Retrogaming General Discussion 14 03 September 2004 23:02

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 18:36.

Top

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