Mail Archives: djgpp/1998/07/27/09:57:07
Hi All:
Charles told me that:
>In valloc.c, there is a check for VCPI capacity. If zero, it uses XMS
>memory. In older EMM386s, NOEMS or NOVCPI would set the VCPI memory
>capacity zero as a workaround.
So I tried with EMM386 from MSDOS 6.22 and EMM386 from W95 OSR1.0 and it
works ok. Currently I can use:
Windows 3.11 EMM386 (No WfW):
DEVICE=\WIN31\EMM386.EXE NOEMS D=64 I=E000-EFFF
[The included area is because EMM386 reserves it for Windows, I guess it must
be different in different machines]
DOS 6.22 EMM386:
DEVICE=\DOS6\EMM386.EXE NOEMS NOVCPI D=64 VERBOSE
Windows 95 OSR1.0 EMM386:
DEVICE=\WIN95\EMM386.EXE NOEMS NOVCPI D=64 VERBOSE
[Note: D=64 is to reserve memory for DMA]
All works similar under DOS 6.22, here are the mem results:
[You must guess what the spanish labels are ;-), I added a traslation]
1)
Tipo de memoria Total = Usada + Libre
---------------- ------- ------- -------
Convencional 640K 53K 587K <- Conventional
Superior 156K 136K 20K <- High
Reservada 384K 384K 0K <- Reserved
Extendida (XMS) 64.356K 12.556K 51.800K <- Extended
---------------- ------- ------- -------
Memoria total 65.536K 13.129K 52.407K
Total menor 1 MB 796K 189K 607K
Programa ejecutable m s extenso 587K (600.912 bytes)
Bloque memoria superior m s extenso 20K (20.368 bytes)
MS-DOS reside en el rea de memoria alta.
2)
Tipo de memoria Total = Usada + Libre
---------------- ------- ------- -------
Convencional 640K 53K 587K
Superior 151K 136K 15K
Reservada 384K 384K 0K
Extendida (XMS) 64.361K 12.557K 51.804K
---------------- ------- ------- -------
Memoria total 65.536K 13.130K 52.406K
Total menor 1 MB 791K 189K 602K
Programa ejecutable m s extenso 587K (601.040 bytes)
Bloque memoria superior m s extenso 14K (14.592 bytes)
MS-DOS reside en el rea de memoria alta.
3)
Tipo de memoria Total = Usada + Libre
---------------- ------- ------- -------
Convencional 640K 54K 586K
Superior 151K 136K 14K
Reservada 384K 384K 0K
Extendida (XMS) 64.361K 12.557K 51.804K
---------------- ------- ------- -------
Memoria total 65.536K 13.132K 52.404K
Total menor 1 MB 791K 190K 600K
Programa ejecutable m s extenso 586K (599.920 bytes)
Bloque memoria superior m s extenso 14K (14.288 bytes)
MS-DOS reside en el rea de memoria alta.
In all the cases go32-v2 reports around 52Mb of free memory.
Eli: perhaps you can add it to the FAQ.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -