Z-machine versions: Difference between revisions

From IFWiki

(These versions are not described in the 1997 [mirror.ifarchive.org/indexes/if-archiveXinfocomXinterpretersXspecification.html Z-machine specification])
(http:// so URL works)
Line 3: Line 3:
* Versions 1-6 Created by [[Infocom]] in the 1980s
* Versions 1-6 Created by [[Infocom]] in the 1980s
* [[Graham Nelson]] made some minor changes in the 1990s to allow for larger story files, creating versions 7 and 8 of the spec.  Most, if not all, modern [[Z-machine#Assorted_Z-machine_interpreters|Z machine interpreters]] support v7 and v8 story files.
* [[Graham Nelson]] made some minor changes in the 1990s to allow for larger story files, creating versions 7 and 8 of the spec.  Most, if not all, modern [[Z-machine#Assorted_Z-machine_interpreters|Z machine interpreters]] support v7 and v8 story files.
* Zzo38 has more recently created versions 9 and 10 of the spec, with a number of extensions allowing even larger story files, finally giving Z-machines XOR support, and many other changes.  These versions are not described in the 1997 [mirror.ifarchive.org/indexes/if-archiveXinfocomXinterpretersXspecification.html Z-machine specification]; the only known [[Z-machine#Assorted_Z-machine_interpreters|Z machine interpreters]] that support these versions are [[Aimfiz]] and [[Fweep]]
* Zzo38 has more recently created versions 9 and 10 of the spec, with a number of extensions allowing even larger story files, finally giving Z-machines XOR support, and many other changes.  These versions are not described in the 1997 [http://mirror.ifarchive.org/indexes/if-archiveXinfocomXinterpretersXspecification.html Z-machine specification]; the only known [[Z-machine#Assorted_Z-machine_interpreters|Z machine interpreters]] that support these versions are [[Aimfiz]] and [[Fweep]]


==XOR support==
==XOR support==

Revision as of 00:43, 14 January 2014

There are at least 10 different versions of the Z machine out there:

  • Versions 1-6 Created by Infocom in the 1980s
  • Graham Nelson made some minor changes in the 1990s to allow for larger story files, creating versions 7 and 8 of the spec. Most, if not all, modern Z machine interpreters support v7 and v8 story files.
  • Zzo38 has more recently created versions 9 and 10 of the spec, with a number of extensions allowing even larger story files, finally giving Z-machines XOR support, and many other changes. These versions are not described in the 1997 Z-machine specification; the only known Z machine interpreters that support these versions are Aimfiz and Fweep

XOR support

v9 and v10 story files give Z-machines XOR support by defining the 2OP instruction 29 (1D in hex) as being BXOR, with works like BOR or BAND, but performs a binary exclusive OR operation. Note that Glulx has always had XOR support (via the "bitxor" operation).

Links