Different default colours - Amiga/PC modes
#manifest: "pc" cls 0 ink 2:paper 0 circle 20,20,5 for x=0 to 2 pen x:print x next x
In Amiga mode:
0 - black
1 - brown
2 - white
0 - black
1 - white
2 - black
Which means that the default ink colour is now black in PC mode
Updated by Brian Flanagan almost 3 years ago
- Status changed from New to Feedback
Yes, you're correct. The default palettes are different between the AOZ/PC and Amiga manifests.
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:
Else // AOZ/PC manifest
You can also use a percentage with the nybble $F being 100%, and $0 being 0%.
Multiply $FF by the percentage, and you should have your AOZ color.