Hi,
On Sat, 18 Mar 2000 11:14:23 +0100 (MET), Bernie <[EMAIL PROTECTED]> wrote:
> So in theory if you have enough memmory (I have no idea how much) you could
> change these lines in mime.cfg:
>
> image/jpeg JPG>BMP|$edjpeg32.exe $j $1 $2
> image/png PNG>BMP|$epng2bmp.exe -s -o $2 $1
> image/x-png PNG>BMP|$epng2bmp.exe -s -o $2 $1
>
> into:
>
> image/jpeg JPG>BMP|$ecwsdpmi.exe -s-\n$edjpeg32.exe $j $1 $2
> image/png PNG>BMP|$ecwsdpmi.exe -s-\n$epng2bmp.exe -s -o $2 $1
> image/x-png PNG>BMP|$ecwsdpmi.exe -s-\n$epng2bmp.exe -s -o $2 $1
>
> The same goes for XPDF if you have that installed, add "$ecwsdpmi -s-\n".
Bernie was right, _LOADING_ cwsdpmi _BEFORE_ executing eg. djpeg32 does not
flush the DR-DOS nwcache. Cwsdpmi will correctly release from memory after
it is used. So, this way it works, but if a program requires cwsdpmi, I must
always load the cwsdpmi first!
IMO, this is no solution, but only a trick to save my nwcache. But it
requires so much mem!
In conventional:
cwsdpmi V0.90+ r3 (from ARACHNE) requires 49.200 bytes of mem.
cwsdpmi V0.90+ r4 (from DJGPP) requires 41.024 bytes of mem.
But... in umb:
cwsdpmi V0.90+ r3 (from ARACHNE) requires 84.432 bytes of mem.
cwsdpmi V0.90+ r4 (from DJGPP) requires 84.720 bytes of mem.
*** ADVICE: REPLACE ARACHNE'S CWSDPMI WITH NEWER VERSION TO SAVE 8 KB. ***
Before, I wrote to Bernie (in private):
> The nwcache is flushed after running djpeg32 w/o any files or options.
> Nwcache /s doesn't tell that it's flushed, but I hear the disk and know
> the cache is flushed.
> The nwcache lend function is on and with > 6.5 MB available XMS, the
> program lend 1 meg from nwcache. More programs do this and nwcache
> has no options (AFAIK) to take the memery back (I use another trick
> to get it back). But how can a program like djpeg32 require more than
> 6.5 meg if there is no input file (= no work to do) ?
> ViewHtml and Acrodos act the same if available XMS < ca 9 MB.
The trick does not work with ViewHTML and Acrodos, they don't use cwsdpmi.
- Best regards,
- Willy J. Hoogstraten.
- End of message -