ECS/OCS Palette on AGA Computer
So I have realised that a non-AGA machine only has RGB values 0-15 and and AGA machine has 0-256.
Is there anyway on Personal Paint or Deluxe Paint to use the OCS/ECS palette? Or should I just use DPaint 3? |
If you don't mind taking care of the palette, you should be fine. Just set your color RGB components to $00, $11, ..., $ee, $ff instead of $00, $01, .., $fe, $ff (both nibbles must be the same) and you'll have OCS/ECS colors.
|
Also an option: DPaint IV came in both AGA and ECS versions, so you could try the ECS version of that.
|
You can force it by holding both mouse buttons on startup and selecting original or enhanced under display options. Dpaint and Ppaint will use the 4096 colours then.
|
Ingenious! Why I never thought of that...
|
Thanks guys, very helpful. Out of all the things when programming the Amiga, I find palettes the most confusing!
|
For this purpose I have both Dpaint4.03 and 4.6 AGA installed in my Amiga.
|
Personal Paint has options REDBITS, GREENBITS, BLUEBITS in the Startup_1.set file which can be set to 4,4,4 for OCS mode.
|
Here is an OCS RGB conversion table that I myself use:
OCS values (0-15) on the left, and normal RGB (0-255) values on the right. 0 = 0 1 = 17 2 = 34 3 = 51 4 = 68 5 = 85 6 = 102 7 = 119 8 = 136 9 = 153 10 = 170 11 = 187 12 = 204 13 = 221 14 = 238 15 = 255 Just make sure that the RGB values of your palette are set to those, and you can use any paint program to make OCS graphics. :great |
It may or may not be a help, but I wrote a palette editor a while back for helping with palette shuffling, arranging, merging etc. It has an option to round any palette to 12 bits, which will give you OCS/ECS values, and gives you some hints about pens (e.g. sprite pen banks). It called PaletteEd, needs AGA to run, and you can find it here and on Aminet.
http://robthenerd.com/pics/PaletteEd-1.png |
Thanks - looks really helpful and I like your website, I have never been happy with the layout on mine. :banghead
I finally tore myself away from SF2 and went back to Invaders and added a new background choice but struggles with the colours until I used Master's conversion chart! Also, on WinUAE (I may be wrong) but I couldn't get the the early boot menu up but just chose OCS instead of AGA and still booted into my workbench and had the limited palette colour choice. So both methods work well. Need to rework the RGB statements in my game to work on 0-15 instead of 0-255 and then all should be good. I guess when using a non-AGA game on an AGA computer, the Amiga automatically corrects the colour values otherwise the games would be very dark! Never ever thought about this before... |
Cool :) In software terms, internal RGB values are always 8-bit anyway with the 4 MSBs being used for the 4-bit colour registers, and IIRC the development docs recommend that you should save palettes as the same 4-bit value repeated for compatibility with future systems. This gives full compatibility in both directions, and even if the same 4 bits aren't repeated, you only get a small dip in intensity when loaded into 8-bit registers.
When coding in Blitz, there are separate commands for modifying OCS and AGA palette entries. RGB takes 0-15 values and AGARGB takes 0-255 values. |
Quote:
|
All sorted and with a bit a reorganisation of the code - all is good!
Probably my favourite method is the Master484 table as this is simples for my simples brain! |
Quote:
|
Remapping like that is best done in PPaint I'd say. Usually, colour 0 is set to a colour far away from every other colour in use, so something like full magenta (255-0-255). Then another pen is used for black. If the black from the characters is already lost to the background then it'll have to be redone, but if it's still there and separate from the background, these are the steps I would do to move it:
- Set colour 0 to magenta - Set another pen of your choosing to black (ideally one not already in use) - Choose Colour->Remap from the PPaint menus. Your blacks (including the background) will be restored - Floodfill the background to colour 0 again. |
Quote:
|
Quote:
|
No go I'm afraid, DPAINTV4.DMS actually contains DPAINT V Extras (i.e. filename means DPaint 5, disk 4) and DPaintIV.zip has v4.0, not 4.03.
I should probably just find my boxed DPaint 4 and check which version it is :P It's just that 4.03 seems like some hotfix released after. |
All times are GMT +2. The time now is 09:31. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.