X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Stephen W. Bullington" Newsgroups: comp.os.msdos.djgpp Subject: Re: Ispell (binary patching Emacs) Message-ID: References: <83sjd412pe DOT fsf AT gnu DOT org> <83obnql106 DOT fsf AT gnu DOT org> <44cbf133-ea8b-47d6-9f01-0c7cef19c13a AT googlegroups DOT com> <8fd215eb-bc43-4739-b68b-50d0b27fb7b4 AT r33g2000yqd DOT googlegroups DOT com> <301af96d-3710-4a4e-8328-85101cc04a06 AT googlegroups DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/3.0.4 Lines: 45 X-Complaints-To: abuse AT easynews DOT com Organization: Forte Inc. http://www.forteinc.com/apn/ X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Date: Sun, 5 Aug 2012 12:44:04 -0400 X-Received-Bytes: 2901 Bytes: 3111 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <301af96d-3710-4a4e-8328-85101cc04a06 AT googlegroups DOT com>, rugxulo AT gmail DOT com says... > > Hi, yet again, > > On Friday, August 3, 2012 12:03:15 AM UTC-5, rug DOT DOT DOT AT gmail DOT com wrote: > > > > 00146023: 5D 80 > > 00146024: C3 63 > > 00146025: 8D FF > > 00146026: 76 58 > > That should probably be "DF" instead of "58" here. Not sure why I didn't catch that (or why it mostly worked without it). That was the whole point, to uppercase it! > > 00146023: 8063FFDF and byte [ebx-1],0xDF > > And, of course, this changes the md5sum, so here's the newer one: > > ==newemacs.md5=================== > 51a76c475ccfc50d341cee9990655808 *emacs.exe > ==newemacs.md5=================== > > BTW, here's a quick sed operation to avoid the compile problem when using FreeDOS' FreeCOM (untested but should work, heh): > > ==fcomfix.bat==================== > @echo off > if not exist mainmake.v2 set MOO=msdos > gsed -i "s/subst.*shell.*)/CURDIR)/" %MOO%.\mainmake.v2 %MOO%.\sed*.inp > set MOO= > ==fcomfix.bat==================== > > P.S. I still feel like I need to kick the tires a lot more. I guess I'll keep playing with it, and see what I can find out. I haven't had time to do much, and don't know enough yet to understand most of what you've written. I was able, however, to modify callproc.c as per your instructions, and then recompile emacs with the modified file. It worked. Ispell now works in DOS Emacs with the new EXE, in an SFN environment. I'll try to figure out the rest of what you posted as can, but it may take some time. Thnaks. Steve Bullington