[z-machine] Returning 2 from @save in z5

Thomas Thurman thomas@thurman.org.uk
Wed, 1 Oct 2003 00:08:30 +0100


On Tue, Sep 30, 2003 at 11:22:27PM +0100, David Kinder wrote:
> > Suppose we load an arbitrary game from disk. The PC is pointing at the
> > instruction after the @save which saved the game.
> 
> The Quetzal save file format spec makes the problem in the above explicit:
> 
>   5.8.2 On versions 4 and above, the SAVE instruction stores a value
>    depending on the success of the save. The saved PC points to the single
>    byte describing where to store the result.

Goodness, where's that from? In the only versions of the Quetzal spec I have
(from inform-fiction.org and gnelson.demon.co.uk, which are both v1.3b),
section 5 only goes up to 5.7. I'd really like to see later versions.

Thanks to both of you who replied and cleared up the mystery!

M