Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 SMI; site suneast.uucp Path: utzoo!linus!security!sunne!suneast!geoff From: geoff@suneast.uucp (Geoff Arnold) Newsgroups: net.micro.pc Subject: Re: QuarterDeck's DESQVIEW ! Message-ID: <180@suneast.uucp> Date: Fri, 11-Jul-86 16:48:44 EDT Article-I.D.: suneast.180 Posted: Fri Jul 11 16:48:44 1986 Date-Received: Sat, 12-Jul-86 00:35:05 EDT References: <318@gumby.UUCP> <1761@homxb.UUCP> Organization: Sun Microsystems Inc. - East Coast Division Lines: 37 Keywords: Feedback Needed There's a nasty little bug in DesqView 1.21 which prevents a program compiled under Microsoft C 3.0 from successfully exec'ing a second program. The problem is that the wrong segment fixups are used. Here's a patch that seems to do the trick. (1) copy DV.EXE to DV.TMP (2) debug DV.TMP (3) Enter "r" to look at the registers. Note the value for DS(=ES=SS=CS). When we did it, the value was 20E7. (4) Add 1000 hex to this value - in our case 30E7, (5) Unassemble VALUE:7652 - in our case u 30E7:7652 You should see MOV DS,[BP+12] MOV SI,[BP+04] MOV BP,[SI+02] JMP 7661 etc. If you don't, you haven't got 1.21 (the latest version). Sorry. (6) Type a VALUE:7652 MOV AX,DS MOV DS,WORD PTR [BP+12] MOV BP,AX JMP 7661 (7) Hit ENTER to exit assembly mode, then write it out with w and q. (8) Copy DV.TMP DV.EXE, then try it out. This patch (courtesy Bill Pittore) allows us to run TELNET under DesqView with PC-NFS. Don't call Quarterdeck about it - they already know.... :-( -- "disclaimo, disclaimas, disclaimat, disclaimamus, disclaimatis, disclamant" UUCP: {hplabs,ihnp4,nsc,pyramid,decwrl}!sun!suneast!hinode!geoff