Afloyd.177 net.games.rogue utzoo!decvax!harpo!floyd!trb Wed Apr 28 13:35:10 1982 fix to negative gold bug There was a description of a kludge to patch the -gold bug, but explicit instructions were never posted. I sent away to the submetter of the fix news item, who sent me the following message more properly describing the fix. I saved this file with netnews, and therefore do not have the name of this unknown hero. ----- Date-Sent: Sat Apr 17 04:11:01 1982 To: mcnc!unc!floyd!trb Subject: patching with adb I gave the modified instruction in symbolic form because I wanted the nature of the modification to be more obvious and because I was lazy (I use the symbolic form). Unfortunately adb doesn't understand symbolic instruction input. So you have to fudge: adb -w testrogue pick_up+46?w 9a04 ... pick_up+46,2?i and adb should type: pick_up+46: ret movzbl 20(r11),-(sp) and you can exit with ^D ----- It worked for me... Andy ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.