http://support.aoz.studio/http://support.aoz.studio/favicon.ico?15768443862020-08-04T10:09:24ZAOZ Studio official issue tracking systemAOZ Studio Beta - Bug #145: Different default colours - Amiga/PC modeshttp://support.aoz.studio/issues/145?journal_id=12012020-08-04T10:09:24ZPaul Kitching
<ul><li><strong>Affected version</strong> changed from <i>0.9.4</i> to <i>0.9.9.4</i></li></ul><p>The default colours for 1 and 2 are still wrong in 9.9.4 for AOZ mode.</p>
AOZ Studio Beta - Bug #145: Different default colours - Amiga/PC modeshttp://support.aoz.studio/issues/145?journal_id=16012020-09-30T12:47:11ZBrian Flanagan
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>Yes, you're correct. The default palettes are different between the AOZ/PC and Amiga manifests.<br>
This is normal. If you want a program that you write in the Amiga manifest to use the same palette in the AOZ manifest, you can create an include file containing an equivalent palette definition, or you can alter the palette in your code using the Manifest$ function to determine which palette you're working with. If you just duplicate each nybble to make a full byte you should have the same palette. For example:</p>
<p>If Manifest$="amiga"<br>
Palette $000,$FFF,$F00,$0F0,$00F,$FF0,$0FF,$F0F<br>
Else // AOZ/PC manifest<br>
Palette $000000,$FFFFFF,$FF0000,$00FF00,$0000FF,$FFFF00,$00FFFF,$FF00FF<br>
End If</p>
<p>You can also use a percentage with the nybble $F being 100%, and $0 being 0%.<br>
Multiply $FF by the percentage, and you should have your AOZ color.</p>