D 2018-06-29T20:03:58.751
L Internal\sprogram\sencoding
U zzo38
W 1110
This describes the internal program encoding used for class codes (it is only for internal use by Free Hero Mesh). It isn't complete, but I have some notes on a paper and am putting them into the computer in case anyone else who is altering Free Hero Mesh also wants to see them.
0000-00FF Short constant 0 to 255
0100-01FF Short constant -256 to -1
0200-02FF Built-in message constant
0300-03FF Built-in sound constant
0400-04FF User sound constant
1x00-1xFF Constant and operator
2000-2FFF Read user vars [000-7FF=local, 800-FFF=global]
3000-3FFF Write user vars
4000-7FFF Class constant
8000-87FF Commands [87E8-87FF=bit8-bit31]
8800-8FFF Commands ,
9000-97FF Commands =
9800-9FFF Commands =,
A000-BFFF Commands followed by .
C000-FFFF User message constant
"Constant and operator" table:
00 +
08 -
10 *
18 /
20 mod
28 ,*
30 ,/
38 ,mod
40 band
48 bor
50 bxor
58 lsh
60 rsh
68 ,rsh
70 eq
78 ne
80 lt
88 gt
90 le
98 ge
A0 ,lt
A8 ,gt
B0 ,le
B8 ,ge
C0
C8
D0
D8
E0 ret
E8 ret
F0
F8
Z 84659af432f588ed9e56ef7686e9e661