GSP Shared Memory: Difference between revisions

Kynex7510 (talk | contribs)
mNo edit summary
Kynex7510 (talk | contribs)
Document halting bug
Line 116: Line 116:
|-
|-
| 2
| 2
| Flags (bit0 = completed, bit7 = fatal error)
| Status (bit0 = halted, bit7 = fatal error)
|-
|-
| 3
| 3
Line 124: Line 124:
| Result code for the last command which failed
| Result code for the last command which failed
|}
|}
GSP checks for status.bit0 and optionally avoids handling further commands, however the check is done by equality, which means it will always fail if status.bit7 is also set (and thus other commands will be processed). This bug prevents the halting logic from working propertly, but can worked around by keeping bit0 of word3 set, as that will force halting on each iteration.


== Command Header ==
== Command Header ==