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

Re: Ansified XyWrite (Att. R. Holmgren)



Robert wrote:
" what memory areas need to be excluded in order to set aside EMS memory
in a Win32 VDM -- I think USB peripherals, for example, try to grab the
DOS upper memory area that would normally be used by EMS, but that's just
a guess"
Unfortunately, I do not have a newer machine, as I said before, but I did
the following, which those with new machines might try and help out here:
Went to DOS from the desktop, with nothing running or loaded beyond what
is always there (I keep an MS-DOS shortcut on my desktop, but no special
parameters set).
commanded MEM /D>E:\XYINFO\MEMCLEAN.TXT
That creates a text file with all the info generated by the mem /debug
command.
EXITed DOS, clicked on my Xy icon on the desktop to run the Xy pif and
load Xy.
Exit /nv from the command line.
MEM /D>e:\xyinfo\memxyld.txt
creating another text file showing what memory is like with Xy running.
Back in Xy, I called both files, ran compare on them, and here's what I
get:
With nothing loaded beyond Windows normal desktop (and the apps that will
load in the tray on startup), Mem /d reports the same as with Xy loaded
and shell to DOS except for the following:

Clean:
  00800        256  (0K) COMMAND   Data
  00810       5,728  (6K) COMMAND   Program
  00976       1,440  (1K) COMMAND   Environment
  009D0        256  (0K) MEM     Environment
  009E0       90,464  (88K) MEM     Program
  01FF6      524,448 (512K) MSDOS    -- Free --
Memory Summary:

 Type of Memory    Total     Used     Free
 ---------------- -----------  -----------  -----------
 Conventional     655,360    40,448    614,912
 Upper            0       0       0
 Reserved          0       0       0
 Extended (XMS)   67,043,328       ?  132,997,120
 ---------------- -----------  -----------  -----------
 Total memory    67,698,688       ?  133,612,032

 Total under 1 MB   655,360    40,448    614,912

 Handle   EMS Name   Size 
 -------   --------   ------
    0         098000

 Total Expanded (EMS)         67,108,864  (64M)
 Free Expanded (EMS)         16,777,216  (16M)
 Memory accessible using Int 15h        0   (0K)
 Largest executable program size     614,896  (600K)
 Largest free upper memory block        0   (0K)
 MS-DOS is resident in the high memory area.

 XMS version 3.00; driver version 3.95
 EMS version 4.00

With Xy loaded, but no files called:

  00800        256  (0K) EDITOR    Environment
  00810      137,120 (134K) EDITOR    Program
  0298A        256  (0K) COMMAND   Data
  0299A       5,728  (6K) COMMAND   Program
  02B00       1,440  (1K) COMMAND   Environment
  02B5A        256  (0K) MEM     Environment
  02B6A       90,464  (88K) MEM     Program
  04180      387,072 (378K) MSDOS    -- Free --
Memory Summary:

 Type of Memory    Total     Used     Free
 ---------------- -----------  -----------  -----------
 Conventional     655,360    177,824    477,536
 Upper            0       0       0
 Reserved          0       0       0
 Extended (XMS)   67,043,328       ?  132,997,120
 ---------------- -----------  -----------  -----------
 Total memory    67,698,688       ?  133,474,656

 Total under 1 MB   655,360    177,824    477,536

 Handle   EMS Name   Size 
 -------   --------   ------
    0         098000
    1         400000

 Total Expanded (EMS)         14,680,064  (14M)
 Free Expanded (EMS)         10,485,760  (10M)
 Memory accessible using Int 15h        0   (0K)
 Largest executable program size     477,520  (466K)
 Largest free upper memory block        0   (0K)
 MS-DOS is resident in the high memory area.

 XMS version 3.00; driver version 3.95
 EMS version 4.00
Hope that is some help. I also checked my USB connection. Control panel
says it's using IRQ 11, I/O range E400-E417, but reports no memory usage
as such, nor is there anything like USB reported when I go to
System-->Memory.

By the by, can any Wise Person explain that weird entry under XMS:
Extended (XMS)   67,043,328       ?  132,997,120
The total is 67 Mb, MEM doesn't know how much is used, and 132 Mb are
free? That does not compute.
Patricia