CPC_Firmware_to_Hardware_color()

This commit is contained in:
Thomas Bernard
2019-12-21 17:22:19 +01:00
parent 1aeab71663
commit 5b5bdf54dc
3 changed files with 27 additions and 6 deletions

View File

@@ -127,6 +127,13 @@ void CPC_set_default_BASIC_palette(T_Components * palette);
*/
int CPC_compare_colors(T_Components * col1, T_Components * col2);
/**
* Convert CPC firmware color to hardware color (Gate Array)
* @param fw_color a CPC Firmware color index (from 0 to 26)
* @return a CPC Hardware color (from 0x40 to 0x5f)
*/
byte CPC_Firmware_to_Hardware_color(byte fw_color);
/**
* Check AMSDOS header
*