OS_Byte C flag corruption

Discuss development specific to the Pi version of ADFFS
Post Reply
JonAbbott
Posts: 1737
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex

OS_Byte C flag corruption

Post by JonAbbott » Wed Nov 16, 2016 6:01 pm

OS_Byte corrupts the C flag on RO3.11:

0..4 - clear C
5 - set C
6..19 - clear C (Cascade relies on this behaviour for 19)
20 - set C
21 - clear C
25 - set C
70..71 - set C
106..117 - clear C
118..120 - set C
121 - clear C
122 - set C
124..128 - clear C
129,0,255 - clear C
129,1,0 - set C
129,128,255 - clear C
129 - set C when individual key being checked is pressed (Humanoids and Robitix rely on this)
134..135 - set C

Post Reply