hiptop zmachine (old code from 2003)