[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: SPEEDOS and Func WZ



Ok, I reread you helpful post, and ran my experiments again, this time
being sure to set DEFAULT ZX=0. Note that I first set the properties of
my MS-DOS prompt pif to the same values as that of the XyW pif (5120), so
that the only difference would be loading with or without the /E4000
switch. I then loaded Xy, first from the DOS prompt with, then without,
the E switch, then loaded it from the pif. Piping the results of MEM /C
to various text files and merging them, here is what I got:
Initial report of mem/c, DOS prompt pif (which allocates same amount of
EMS as the Xy pif does):
Modules using memory below 1 MB:


 Name      Total      Conventional    Upper Memory
 -------- ----------------  ----------------  ----------------
 MSDOS    18,896  (18K)   18,896  (18K)     0  (0K)
 HIMEM    1,168  (1K)   1,168  (1K)     0  (0K)
 DBLBUFF   2,976  (3K)   2,976  (3K)     0  (0K)
 IFSHLP    2,864  (3K)   2,864  (3K)     0  (0K)
 WIN     3,680  (4K)   3,680  (4K)     0  (0K)
 vmm32    3,232  (3K)   3,232  (3K)     0  (0K)
 COMMAND   7,456  (7K)   7,456  (7K)     0  (0K)
 Free    614,848 (600K)  614,848 (600K)     0  (0K)

Memory Summary:

 Type of Memory    Total     Used     Free
 ---------------- -----------  -----------  -----------
 Conventional     655,360    40,512    614,848
 Upper            0       0       0
 Reserved          0       0       0
 Extended (XMS)   67,043,328       ?  132,997,120
 ---------------- -----------  -----------  -----------
 Total memory    67,698,688       ?  133,611,968

 Total under 1 MB   655,360    40,512    614,848

 Total Expanded (EMS)         5,242,880 (5,120K)
 Free Expanded (EMS)          5,242,880 (5,120K)
 Largest executable program size     614,832  (600K)
 Largest free upper memory block        0   (0K)
 MS-DOS is resident in the high memory area.

Report after laoding XyW with /E4000, setting default zx=0, and shelling
to DOS:

Modules using memory below 1 MB:

 Name      Total      Conventional    Upper Memory
 -------- ----------------  ----------------  ----------------
 MSDOS    18,896  (18K)   18,896  (18K)     0  (0K)
 HIMEM    1,168  (1K)   1,168  (1K)     0  (0K)
 DBLBUFF   2,976  (3K)   2,976  (3K)     0  (0K)
 IFSHLP    2,864  (3K)   2,864  (3K)     0  (0K)
 WIN     3,680  (4K)   3,680  (4K)     0  (0K)
 vmm32    3,232  (3K)   3,232  (3K)     0  (0K)
 COMMAND   7,456  (7K)   7,456  (7K)     0  (0K)
 EDITOR   91,344  (89K)   91,344  (89K)     0  (0K)
 COMMAND   7,264  (7K)   7,264  (7K)     0  (0K)
 Free    516,240 (504K)  516,240 (504K)     0  (0K)

Memory Summary:

 Type of Memory    Total     Used     Free
 ---------------- -----------  -----------  -----------
 Conventional     655,360    139,120    516,240
 Upper            0       0       0
 Reserved          0       0       0
 Extended (XMS)   67,043,328       ?  132,997,120
 ---------------- -----------  -----------  -----------
 Total memory    67,698,688       ?  133,513,360

 Total under 1 MB   655,360    139,120    516,240

 Total Expanded (EMS)         5,242,880 (5,120K)
 Free Expanded (EMS)          1,146,880 (1,120K)
 Largest executable program size     516,224  (504K)
 Largest free upper memory block        0   (0K)
 MS-DOS is resident in the high memory area.

Report after loading from DOS prompt with just EDITOR:

Modules using memory below 1 MB:

 Name      Total      Conventional    Upper Memory
 -------- ----------------  ----------------  ----------------
 MSDOS    18,896  (18K)   18,896  (18K)     0  (0K)
 HIMEM    1,168  (1K)   1,168  (1K)     0  (0K)
 DBLBUFF   2,976  (3K)   2,976  (3K)     0  (0K)
 IFSHLP    2,864  (3K)   2,864  (3K)     0  (0K)
 WIN     3,680  (4K)   3,680  (4K)     0  (0K)
 vmm32    3,232  (3K)   3,232  (3K)     0  (0K)
 COMMAND   7,456  (7K)   7,456  (7K)     0  (0K)
 EDITOR   91,728  (90K)   91,728  (90K)     0  (0K)
 COMMAND   7,264  (7K)   7,264  (7K)     0  (0K)
 Free    515,856 (504K)  515,856 (504K)     0  (0K)

Memory Summary:

 Type of Memory    Total     Used     Free
 ---------------- -----------  -----------  -----------
 Conventional     655,360    139,504    515,856
 Upper            0       0       0
 Reserved          0       0       0
 Extended (XMS)   67,043,328       ?  132,997,120
 ---------------- -----------  -----------  -----------
 Total memory    67,698,688       ?  133,512,976

 Total under 1 MB   655,360    139,504    515,856

 Total Expanded (EMS)         5,242,880 (5,120K)
 Free Expanded (EMS)          1,048,576 (1,024K)
 Largest executable program size     515,840  (504K)
 Largest free upper memory block        0   (0K)
 MS-DOS is resident in the high memory area.

Next I loaded Xy from its pif, which does not append the /E400 switch,
but lets the pif's attributes allocate memory, set default zx=0, shelled
to DOS, and ran mem /c.

Modules using memory below 1 MB:

 Name      Total      Conventional    Upper Memory
 -------- ----------------  ----------------  ----------------
 MSDOS    18,896  (18K)   18,896  (18K)     0  (0K)
 HIMEM    1,168  (1K)   1,168  (1K)     0  (0K)
 DBLBUFF   2,976  (3K)   2,976  (3K)     0  (0K)
 IFSHLP    2,864  (3K)   2,864  (3K)     0  (0K)
 WIN     3,680  (4K)   3,680  (4K)     0  (0K)
 vmm32    3,232  (3K)   3,232  (3K)     0  (0K)
 EDITOR   91,712  (90K)   91,712  (90K)     0  (0K)
 COMMAND   7,456  (7K)   7,456  (7K)     0  (0K)
 Free    523,136 (511K)  523,136 (511K)     0  (0K)

Memory Summary:

 Type of Memory    Total     Used     Free
 ---------------- -----------  -----------  -----------
 Conventional     655,360    132,224    523,136
 Upper            0       0       0
 Reserved          0       0       0
 Extended (XMS)   67,043,328       ?  132,997,120
 ---------------- -----------  -----------  -----------
 Total memory    67,698,688       ?  133,520,256

 Total under 1 MB   655,360    132,224    523,136

 Total Expanded (EMS)         5,242,880 (5,120K)
 Free Expanded (EMS)          1,048,576 (1,024K)
 Largest executable program size     523,120  (511K)
 Largest free upper memory block        0   (0K)
 MS-DOS is resident in the high memory area.

There are some marginal differences, probably attributable to different
screen sizes (I didn't bother tweaking the DOS prompt's screen
properties, so the Xy windowed screen in that version differed from that
when it is loaded from the XyW pif). But on the whole, it looks as if XyW
is using EMS, no matter how loaded. But none of the numbers really add
up; look at that insane Extended value in all three reports. It would
seem that Win 9x plays some sort of shell game with expanded/extended
memory.

I also got values for the various $M variables under each of four sets of
circumstances: initial load of Xy, with switch and just from pif, and
after shelling to DOS (which altered some values and not others). Would
they be useful?

Remember, this is Win 98, and I got similar results from 95 on the
laptop. (Yes, I know; a pocket calculator. I must pull up my socks and
get a real opsys.)
Patricia