Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!microsoft!beng From: beng@microsoft.UUCP (Samurai Cat) Newsgroups: comp.sources.games.bugs Subject: Re: NetHack 3 strange abort Summary: Xenix cc/ld bug, methinks Message-ID: <7616@microsoft.UUCP> Date: 6 Sep 89 00:56:23 GMT References: <178@bmers58.UUCP> <74@tor.nhh.no> Reply-To: beng@microsoft.UUCP (Ben Goetter) Organization: International Brotherhood of Brujos, Inc. Lines: 20 In article <74@tor.nhh.no> edb_thorsten@tor.nhh.no (Thorsten Lockert) writes: | | I've seen similar behaviour, except that Xenix says 'Illegal | instruction'. Again, it happens only during fights. Anyone? Happens in fights right after a hit which would have killed your opponent and given you (the player) a new experience level. This arises from a bug resulting in incorrect object code for the sequence MOVSX esi, al. It instead emits the sequence for a different destination register, then proceeds as if ESI had been loaded; eventually IDIV esi results in a division-by-zero exception. Cf exper.c:newexplevel where the character receives increased spell energy. -- Ben Goetter microsoft!beng blah blah blah blah disclaimer blah blah blah