1,554
edits
(→Logic resource format: -- Table wikification) |
(Removed last traces of HTML code. Wikification is complete.) |
||
Line 2,301: | Line 2,301: | ||
between one and seven arguments inclusive. This is discussed later on. | between one and seven arguments inclusive. This is discussed later on. | ||
The first set of codes is the AGI commands themselves listed in | The first set of codes is the AGI commands themselves listed in | ||
[[AGI/Specifications/Resources#action-commands| Table 6-2]], and they have the range 0x00--0xB6. | |||
The second set of codes is as follows: | The second set of codes is as follows: | ||
Line 2,343: | Line 2,343: | ||
which tests whether flag number 5 is set. The 0xFF effectively switches | which tests whether flag number 5 is set. The 0xFF effectively switches | ||
the interpreter into a condition checking mode which leads us to the | the interpreter into a condition checking mode which leads us to the | ||
set of codes listed in | set of codes listed in [[AGI/Specifications/Resources#test-commands| Table 6-1]] | ||
0x00 - 0x12 Condition codes. | 0x00 - 0x12 Condition codes. | ||
Line 2,694: | Line 2,694: | ||
treating each test separately and calling the relevant test command | treating each test separately and calling the relevant test command | ||
routines using the jump table in the <tt>agidata.ovl</tt> file. | routines using the jump table in the <tt>agidata.ovl</tt> file. | ||
Each test command routine will return a value in < | Each test command routine will return a value in <tt>AL</tt> which | ||
says whether it is true or not. Depending on the NOTs and ORs, the | says whether it is true or not. Depending on the NOTs and ORs, the | ||
whole expression is evaluated. If at any stage during the evaluation | whole expression is evaluated. If at any stage during the evaluation |