www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/09/21:12:13

From: fredex AT fcshome DOT stoneham DOT ma DOT us
Message-Id: <199607100101.VAA02305@fcshome.stoneham.ma.us>
Subject: Elvis 2.0p for DJGPP (was editor for DJGPP)
To: djgpp AT delorie DOT com
Date: Tue, 9 Jul 1996 21:01:11 -0400 (EDT)

I received this message from one Pierre Hanser, to whom I have been
unable to reply due to mail bouncing.

he was asking for the changes I made to Elvis 2.0p to make it compile
with DJGPP 2.0. Since I cannot find him, and perhaps others are/will
be interested in that info too, I'll post it here with the hope Pierre
sees it.

> hello
> I would be very interested by a patch to compile elvis with djgpp.
> i had a quick look at it but it seemed to me it was not the thing
> you do in one hour...
> would you be kind enought to email me the patch you said you have, or
> perhaps send an article in comp.editors
> thanks

So, here's the stuff:

I'm appending below a uuencoded ZIP file which contains the makefile
I hacked up for DJGPP 2.0, and the diffs from the normal distribution.
The makefile isn't elegant, I hacked away at another one I had with a
chainsaw, but it works for me.

One thing you may note, is that in osmsdos/pcvideo.h, I chopped out
a great block of code that attempts to determine how many lines are
on the display, and replaced them with a hard-coded 25. This is
because the stuff there is not portable to DJGPP, I didn't feel like
rewriting it, and I always run in 25-line mode anyway, so it didn't
bother me any :=(

The executable that I get from this is 285184 bytes, whereas the
one from compiling with MSC 5.1 is 298575, and as long as the -O2
option is used it's quite noticeably faster.

Also, note that in my (somewhat limited) experience, the display works
best if you use nansi.sys instead of ansi.sys. As far as I can tell, 
the 'pcbios' terminal type is just a pseudonym for nansi. Some day I
may try to fix that so it is a REAL bios interface. yawn.

Have fun!

Fred
----------------------------  e2djg.uue  --------------------------------------
begin 644 e2djg.zip
M4$L#!!0``@`(`&>EZ2`K<M&#,0,``(((```%`!``9&EF9G-56`P`Q?SB,:'\
MXC&5`0$`Y51M3]LP$/X<?L6-B:T)I76<M!2S;JI$RP;E191MFE8)A<2A&8G#
MXJ2TF]AOWSD.T`WVKNW+(B6ZN]P]=W[\V)9E01Z)>>Y[%PW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%Y[=U7JOC;#$W&S?]H$G]PHF-/CLN=?F?F^2)G,;
M$.K>J."EE<G8$6+.'L'<Z-O63P],/K:B7VGK(?3_?NP AT E*W9`TJ7_M?'YNRQ
MU5)5\,&O%:,0-('N;#R]^>M!*?U,3V9G#W_2QLGCPY\GT,D["9JMV46K>$N;
MZNQOV AT FA:(VSHN^/3)60?P%02P$"%0,4``(`"`!GI>D@*W+1 AT S$#``"""```
M!0`,```````!``!`I($`````9&EF9G-56`@`Q?SB,:'\XC%02P$"%0,4``(`
M"`"YI>D AT G>SU,1X&``"B$```#``,```````!``!`I(%D`P``;6%K969I;&4N
E9&IP55@(`#[]XC$^_>(Q4$L%!@`````"``(`A0```+P)`````&%K
`
end

-- 
-------------------------------------------------------------------------------
 .----    Fred Smith    /                        Office: fred AT computrition DOT com 
( /__  ,__.   __   __ /  __   : /                                 508-663-2524 
 /    /  /   /__) /  /  /__) .+'           Home: fredex AT fcshome DOT stoneham DOT ma DOT us 
/    /  (__ (___ (__(_ (___ / :__                                 617-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019