M2M/rom/sysdef.asm
file.0x20
+ 0x10
= 0x30
0x04
+ 0x01
= 0x05
0x30
[logical OR] 0x05
= 0x35
0x40
[logical OR] 0x35
= 0x75
0x80
[logical OR] 0x75
= 0xF5
Background | 0x20 | 0x10 | 0x08 | 0x00 | |||
Foreground / text | 0x04 | 0x02 | 0x01 | 0x07 | |||
Dark | 0x40 | 0x00 | |||||
Inverse | 0x80 | 0x00 | |||||
Result of combined background + foreground | This is a test text | 0x07 |