Where is opcode, I’m assuming hex but that could be decimal not clear, 97 documented? How do I find out what arguments it takes and what its return values are?
You can find the numbers and what they all mean in the GLK specification.
Although note that when used in the Inform source they’re specified in decimal, not hex (but they’re in hex in that spec, so you’ll still have to translate.)
That’s just decimal 97. The @glk opcode will call the dispatch layer, which handles marshalling the call to the Glk library. The Glk side of all this is documented in section 12 of the Glk specification (“The Dispatch Layer”). There is a table of these ‘selector’ values in section 12.1.6 (“Table of Selectors”), which includes the entry