Skip to contentSkip to conversation

Clipper 5.3 program under dosemu

DISCUSSION Bartos-Elekes Zsolt 2 participants 3 messages Nov 3, 2003 – Nov 4, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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" <[email protected]>
To: <[email protected]>
Sent: Monday, November 03, 2003 9:31 AM
Subject: Clipper 5.3 program under dosemu

Quoted 5 lines

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

Quoted 1 line

show that it is actually doing some DPMI calls (GetFreeMem, Alloc, etc),

but

Quoted 68 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 3 lines

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