Hi,

On Mon, May 6, 2013 at 4:59 PM, czezz <cz...@o2.pl> wrote:
>
> around year ago I started post "FreeDOS with MS Client - mem optimization" 
> (10.06.2013 20:12).
>
> I was looking there for a way to optimize FreeDOS memory with MS Client for 
> network share installed in.
> Basically I need:
> - FreeDOS (NO mouse, NO cdrom, etc...)
> - MS Client to map network drive (memory hog!).
> - to have at least 500+ KB free mem to run old Clipper/dBase program.
>
> With your advices I have managed to get 540KB. That would be all I need...
> However, with this memory optimalization, old Clipper/dBase program does not 
> start and gives no error.

Yeah, gotta love problems like this. You'll have to take away and add
things one by one until you can deduce what the real problem is.

> NOTE: with no MS Client and without this mem optimalization it run smoothly.
> I am out of ideas what else to do.
> Maybe someone of you looking at my fdconfig.sys and autoexec.bat can give 
> some hints ?

Only blind guesses since most of us don't have access to the files
(and don't want them if it's illegal to copy them, most likely, please
don't send them if so).

> It helped me a lot parameter for jemmex.exe: I=
> What I understand it reserve some areas in upper memory and in this way 
> extends conventional memory (?)
> Not much understanding of that though :/
> I use config option 1.
> It might be important that (at least for tests) I use FreeDOS inside 
> VirtualBox as a guest OS.

It could be VBox incompatibilities. There are various issues with it
as it's a lot of work to support everything. Are you running latest
version (and if not, why not)? Is VT-X enabled? Is VT-X disabled? Try
toggling that and trying again. (Some things work without it, some
only work with it. And even that depends on what your cpu supports.)

> fdconfig.sys:
> https://dl.dropboxusercontent.com/u/3403127/dosbox/fdconfig.sys
>
> autoexec.bat:
> https://dl.dropboxusercontent.com/u/3403127/dosbox/autoexec.bat

Just a quick look and some comments:

a). Why "FILES=20"? Isn't that kinda low? (Or are you trying to save RAM here?)
b). Does this particular app need EMS or (apparently) are you just
trying to save conventional RAM? If you can get enough free (which I
guess you're basically saying you can't otherwise) without it, then
don't load EMM386 at all.
c). If you must (or want) EMM386, I would suggest "JEMM386 X=TEST
I=TEST". If not direly needed, don't use "NOEMS" as that can sometimes
confuse some programs. Similarly with manual "I=" or "X=", don't use
those unless you're really really sure there's no conflicts. "NOVME
NOINVLPG" is only (IIRC) for buggy emulators like MS VCP or perhaps if
you're running on a real 386 that lacks those (586, 486) extensions. I
wouldn't disable them unless sure it was necessary.
d). Hmmm, you are using JEMMEX in config 1, so perhaps it would work
better to load XMS and EMM386 separately, e.g. XMGR + JEMM386.
e). I can't remember exactly, but there was some obscure bug / quirk
with SHELLHIGH (as Eric mentions) with COMMAND.COM, so I'd avoid that
entirely (as mentioned, using such a thing doesn't save much). You
could try using 0.82 instead of 0.84, but I don't know if that would
help here. 4DOS should work okay too, but in some rare cases it has
minor (timing) issues too.

Honestly, I don't know. Maybe it's some low-level quirk that only
MS-DOS supports (due to MS shared development). I know Eric mentions
xHarbour, but I don't think they actively support DOS anymore, so
unless ye olde 1.01 (IIRC) works and you can rebuild, that may not be
reliable. No idea about DOSEMU or DOSBox and network drives, maybe it
works.

Is your Clipper/dBase app using any kind of extender or pmode? Or is
it 100% real mode? I've noticed that a lot of extended DOS apps have
various bugs. Perhaps you could try loading HDPMI16 and/or HDPMI32
first, and see if that helps.

Other than that, dunno. The only real way to know is to run through a
debugger (Bochs? DOSBox?) to see where it hangs / crashes. Do you know
what requirements the .EXE needs? Was it ever publicly specified? For
all we know, it could be doing something dumb like looking for
specific versions of certain APIs or whatnot and accidentally getting
confused.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to