Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!cernvax!cui!ugun2b!ugsc2a!fisher From: fisher@sc2a.unige.ch (Markus Fischer) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Minor bug in nethack 2.3e Message-ID: <83@sc2a.unige.ch> Date: 6 Jun 89 16:12:13 GMT References: <401@nbires.nbi.com> <2415@infocenter.UUCP> Organization: University of Geneva, Switzerland Lines: 22 In article <2415@infocenter.UUCP>, mhoffman@infocenter.UUCP (Mike Hoffman) writes: > in article <401@nbires.nbi.com>, maa@nbires.nbi.com (Mark Armbrust) says: >> >> at offset 5487Eh (346,238 dec) in NETHACK.EXE, change 74h to EBh. > ^ > Mark goes on to say: >> -e 70f8:497e [note: 70f8 is DS + 5000] >> 70F8:497E 74.eb > ^ > Well, is it 5487E, or 5497E? It's at offset 5487E ! But debug loads the file at DS:0100 (for the *.com PSP) or in other words, DS is at file-start -100h. In this example, the file starts at 20F8:0100. Markus Fischer -|--|--|--|--|--|--I Department of Anthropology -|--|--|--|--|--|--|-(#)-I University of Geneva -|--|--|--|--|--|--|--|--|-(#)-|-(#)(#)(_)-I CH-1227 Carouge (GE) -&-(_)-|--|--|-(#)-&--|-(#)(#)(_)(#)-&-(_)(#)-I Switzerland -|--|--|--|--|-(#)(_)-|-(_)(_)(_)(#)-I black (#) to kill ! --|--|-(#)(_)(_)(_)(#)(#)(_)(_) fisher@sc2a.unige.ch =+==+==+==+==+==+==+==+==+==+==+==+==+==+==+=(#)=+ fisher@cgeuge52.bitnet