public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Clipper 5.3 program under dosemu
@ 2003-11-03  8:31 Bartos-Elekes Zsolt
  2003-11-03  8:45 ` Hanns Weil
  0 siblings, 1 reply; 4+ messages in thread
From: Bartos-Elekes Zsolt @ 2003-11-03  8:31 UTC (permalink / raw)
  To: linux-msdos

Hi!

I have to set up a dosemu environment for a clipper 5.3 program, using the 
DOS/16M dos extender. The problem is that the program can't use the memory 
above 1 MB. According to the docs, the program SHOULD use DPMI, and the logs 
show that it is actually doing some DPMI calls (GetFreeMem, Alloc, etc), but 
it is not using as much memory as DPMI offers.

Here are my memory settings:

$_xms = (16384)		# in Kbyte
$_ems = (off)		# in Kbyte (couldn't make the program use it)
$_ems_frame = (0xE000)
$_dpmi = (16384)	# in Kbyte
$_dosmem = (640)	# in Kbyte, <= 640

I have a simple Clipper program that displays the memory available to the 
program (251k gzippped), I can email to anyone willing to debug a little.

Other programs using DPMI (like Turbo Pascal 7.0's tpx.exe) are seeing and 
using correctly all DPMI memory available.

My system configuration:

Celeron 366, 128 MB RAM, ~100 MB swap
Debian 3.0r1
dosemu 1.1.5, compiled from sources

compiletime-settings:
config {
   experimental off
   sbemu off
   mitshm off
   vidmode off
   x off
   net off
   dodebug off
   linkstatic off
   cpuemu off
   aspi off
   svgalib off
   plugin_keyboard on
   plugin_kbd_unicode off
   plugin_extra_charsets off
   plugin_term off
   plugin_slang off
   plugin_translate off
   plugin_coopthreads on
   plugin_commands on
   plugin_demo off
   target_cpu auto
   prefix /usr/local
   bindir ${prefix}/bin
   sysconfdir /etc/dosemu
   datadir ${prefix}/share
   mandir ${prefix}/man
   docdir ${datadir}/doc/dosemu
   syshdimagedir /var/lib/dosemu
   x11fontdir ${datadir}/dosemu/Xfonts
   fdtarball none
}

Clipper version 5.3b Intl. (338)
DOS/16M version 6.01

Can anyone help me?

Thanks,
Zsolt


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clipper 5.3 program under dosemu
  2003-11-03  8:31 Clipper 5.3 program under dosemu Bartos-Elekes Zsolt
@ 2003-11-03  8:45 ` Hanns Weil
  2003-11-04  7:15   ` Bartos-Elekes Zsolt
  0 siblings, 1 reply; 4+ messages in thread
From: Hanns Weil @ 2003-11-03  8:45 UTC (permalink / raw)
  To: linux-msdos

Bartos,
do You have the source-code ?
If yes, you should link with "Blinker", and there ar no more problems
Hanns

----- Original Message -----
From: "Bartos-Elekes Zsolt" <muszi@kite.hu>
To: <linux-msdos@vger.kernel.org>
Sent: Monday, November 03, 2003 9:31 AM
Subject: Clipper 5.3 program under dosemu


> Hi!
>
> I have to set up a dosemu environment for a clipper 5.3 program, using the
> DOS/16M dos extender. The problem is that the program can't use the memory
> above 1 MB. According to the docs, the program SHOULD use DPMI, and the
logs
> show that it is actually doing some DPMI calls (GetFreeMem, Alloc, etc),
but
> it is not using as much memory as DPMI offers.
>
> Here are my memory settings:
>
> $_xms = (16384) # in Kbyte
> $_ems = (off) # in Kbyte (couldn't make the program use it)
> $_ems_frame = (0xE000)
> $_dpmi = (16384) # in Kbyte
> $_dosmem = (640) # in Kbyte, <= 640
>
> I have a simple Clipper program that displays the memory available to the
> program (251k gzippped), I can email to anyone willing to debug a little.
>
> Other programs using DPMI (like Turbo Pascal 7.0's tpx.exe) are seeing and
> using correctly all DPMI memory available.
>
> My system configuration:
>
> Celeron 366, 128 MB RAM, ~100 MB swap
> Debian 3.0r1
> dosemu 1.1.5, compiled from sources
>
> compiletime-settings:
> config {
>    experimental off
>    sbemu off
>    mitshm off
>    vidmode off
>    x off
>    net off
>    dodebug off
>    linkstatic off
>    cpuemu off
>    aspi off
>    svgalib off
>    plugin_keyboard on
>    plugin_kbd_unicode off
>    plugin_extra_charsets off
>    plugin_term off
>    plugin_slang off
>    plugin_translate off
>    plugin_coopthreads on
>    plugin_commands on
>    plugin_demo off
>    target_cpu auto
>    prefix /usr/local
>    bindir ${prefix}/bin
>    sysconfdir /etc/dosemu
>    datadir ${prefix}/share
>    mandir ${prefix}/man
>    docdir ${datadir}/doc/dosemu
>    syshdimagedir /var/lib/dosemu
>    x11fontdir ${datadir}/dosemu/Xfonts
>    fdtarball none
> }
>
> Clipper version 5.3b Intl. (338)
> DOS/16M version 6.01
>
> Can anyone help me?
>
> Thanks,
> Zsolt
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clipper 5.3 program under dosemu
@ 2003-11-03  9:00 Bartos-Elekes Zsolt
  0 siblings, 0 replies; 4+ messages in thread
From: Bartos-Elekes Zsolt @ 2003-11-03  9:00 UTC (permalink / raw)
  To: linux-msdos

 > do You have the source-code ?
 > If yes, you should link with "Blinker", and there ar no more problems

Actually I have access to the developer :-), but we will only be able to try 
it with blinker tomorrow morning.

Thanks,
Zsolt


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clipper 5.3 program under dosemu
  2003-11-03  8:45 ` Hanns Weil
@ 2003-11-04  7:15   ` Bartos-Elekes Zsolt
  0 siblings, 0 replies; 4+ messages in thread
From: Bartos-Elekes Zsolt @ 2003-11-04  7:15 UTC (permalink / raw)
  To: Hanns Weil; +Cc: linux-msdos

> do You have the source-code ?
> If yes, you should link with "Blinker", and there ar no more problems
> Hanns

YES!!! IT WORKS!!! Thank you very much! You saved me! I debugged my >500k 
test program for over a week...

Zsolt


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-04  7:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-03  8:31 Clipper 5.3 program under dosemu Bartos-Elekes Zsolt
2003-11-03  8:45 ` Hanns Weil
2003-11-04  7:15   ` Bartos-Elekes Zsolt
  -- strict thread matches above, loose matches on Subject: below --
2003-11-03  9:00 Bartos-Elekes Zsolt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox