|
GrafX2 2.9.3227
The ultimate 256-color painting program
|
Thomson MO/TO computer range. More...
Enumerations | |
| enum | MOTO_Machine_Type { MACHINE_TO7 , MACHINE_TO770 , MACHINE_MO5 , MACHINE_MO6 , MACHINE_TO9 , MACHINE_TO8 } |
| to define a specific machine in the Thomson MO/TO range of machines More... | |
| enum | MOTO_Graphic_Mode { MOTO_MODE_40col = 0 , MOTO_MODE_80col = 1 , MOTO_MODE_bm4 = 2 , MOTO_MODE_bm16 = 3 } |
| Graphic modes available in BASIC 128/512 with CONSOLE,,,,X instruction. More... | |
Functions | |
| int | MOTO_Check_binary_file (FILE *f) |
| Checks if the file is a Thomson binary file (SAVEM/LOADM format) More... | |
| word | MOTO_gamma_correct_RGB_to_MOTO (const T_Components *color) |
| Convert a RGB value to Thomson BGR value with gamma correction. More... | |
| void | MOTO_gamma_correct_MOTO_to_RGB (T_Components *color, word bgr) |
| Convert a Thomson BGR value to RGB values with gamma correction. More... | |
| void | MOTO_set_MO5_palette (T_Components *palette) |
| Set MO5 Palette. More... | |
| void | MOTO_set_TO7_palette (T_Components *palette) |
| Set TO7/70 Palette. More... | |
Thomson MO/TO computer range.
The Thomson MO/TO computer range was based on a Motorola 6809 CPU and equiped with Microsoft Basic called Basic 1.0 for the first versions and then Basic 128 or Basic 512 which included a DOS and more features.
The range includes :
| enum MOTO_Machine_Type |
| enum MOTO_Graphic_Mode |
| int MOTO_Check_binary_file | ( | FILE * | f | ) |
Checks if the file is a Thomson binary file (SAVEM/LOADM format)
| f | a file open for reading |
References DECB_Check_binary_file(), GFX2_DEBUG, GFX2_Log(), Read_byte(), Read_bytes(), and Read_word_be().
Referenced by Load_MOTO(), and Test_MOTO().
| word MOTO_gamma_correct_RGB_to_MOTO | ( | const T_Components * | color | ) |
Convert a RGB value to Thomson BGR value with gamma correction.
References T_Components::B, Config, T_Components::G, GFX2_DEBUG, GFX2_Log(), T_Config::MOTO_gamma, and T_Components::R.
Referenced by Save_MOTO().
| void MOTO_gamma_correct_MOTO_to_RGB | ( | T_Components * | color, |
| word | bgr | ||
| ) |
Convert a Thomson BGR value to RGB values with gamma correction.
References T_Components::B, Config, T_Components::G, T_Config::MOTO_gamma, and T_Components::R.
Referenced by Load_MOTO(), and MOTO_set_TO7_palette().
| void MOTO_set_MO5_palette | ( | T_Components * | palette | ) |
Set MO5 Palette.
http://pulkomandy.tk/wiki/doku.php?id=documentations:devices:gate.arrays#video_generation https://16couleurs.wordpress.com/2013/03/31/archeologie-infographique-le-pixel-art-pour-thomson/
References T_Components::B, T_Components::G, and T_Components::R.
Referenced by Button_Constraint_menu(), and Load_MOTO().
| void MOTO_set_TO7_palette | ( | T_Components * | palette | ) |
Set TO7/70 Palette.
The 8 first colors are the TO7 palette
References T_Components::B, T_Components::G, MOTO_gamma_correct_MOTO_to_RGB(), and T_Components::R.
Referenced by Button_Constraint_menu(), and Load_MOTO().