2 ; Christian Groessler, 02-Apr-2019
4 ; unsigned char __fastcall__ textcolor (unsigned char color);
6 ; "color" value is a palette index (0..3) or COLOR_xxx value (0..3)
13 ; move bits #0 and #1 to bits #6 and #7
18 ror a ; new conio_color value
19 ldx conio_color ; get old value
20 sta conio_color ; store new value
22 ; move bits #6 and #7 to bits #0 and #1