English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 06 February 2024, 17:18   #1
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,165
Latest 68K P96 Developer Documentation

Probably one for @ThoR

As the title suggests, I'm looking for the developer documentation for the latest 68K versions of Picasso96.

What I am actually interested to find out for now is if there are any functions in there for reading and adjusting output DAC parameters like brightness, contrast, gamma etc., or whether it's all just down to what you feed LoadRGB32().
Karlos is offline  
Old 06 February 2024, 17:43   #2
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,354
Have you tried here:

http://wiki.icomp.de/wiki/P96#Developer_support
http://wiki.icomp.de/wiki/P96_Driver_Development
alexh is offline  
Old 06 February 2024, 23:50   #3
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 653
There is no direct P96 API for setting a gamma ramp. Maybe it could be done via "Features" in P96 (which is a way of exposing additional hw capabilities), but even if it was available, most VGA chips of that time didn't have a gamma ramp. You'd have to encode that into the palette.
pipper is offline  
Old 07 February 2024, 01:11   #4
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,165
Fixed point gamma it is then. For my use case, a linear interpolation of the form n.x^2 + (1-n).x (x in the range 0 - 1) gives a reasonable approximation for the "positive" side, and a similar interpolation between x and x^2 for the negative side, at least if my graphing calculator is telling me the truth.

Last edited by Karlos; 07 February 2024 at 01:23.
Karlos 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
Wanted: ClassAct Full Developer Latest Version tiffers request.Apps 9 09 July 2023 22:38
Documentation (...in being documentation) NLS support.WinUAE 12 23 October 2018 13:21
3DLabsPermedia2.chip & CVisionPPC.card (P96/68K) Michael request.Apps 3 25 February 2014 20:52
latest GCC compiler 68k Tony Landais Coders. General 27 23 November 2006 01:02
Documentation abelthorne support.WinUAE 1 23 November 2003 12:48

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 21:09.

Top

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