From: DH473 AT AOL DOT COM Message-ID: <98d8ad2b.248da606@aol.com> Date: Mon, 7 Jun 1999 18:47:34 EDT Subject: Subject: Re: DRDOS 7.03 loading XMS-driver now wastes memory To: opendos AT delorie DOT com MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: AOL 3.0.i for Windows sub 83 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id SAA00330 Reply-To: opendos AT delorie DOT com On Fri, 04 Jun 1999 Matthias Paul wrote: >Utz Zarwell wrote: >> Sometimes I use to run the HIMEM.SYS from PC-DOS7 as XMS-driver. >> It consumes only about 750 Byte of my precious DOS memory. >> Now with DRDOS 7.03 it occupies 32 KB more when loading! >Strange. But what do you mean by this exactly? The PC DOS HIMEM.SYS >driver under DR-DOS in contrast to DR-DOS own HIMEM.SYS, or the >overall memory footprint of DR-DOS compared to PC DOS, etc.? As you are assuming right later, I do mean PC DOS 7 HIMEM.SYS running under DR-DOS. >Have you tried the MS-DOS HIMEM.SYS and PC DOS 2000 HIMEM.SYS, too? even done the first one (ver 6.22) - as supposed its the same :-) >The HIMEM.SYS footprint usually also depends on the >detected chipset, so could it be that it has problems to properly >detect the hardware when you boot DR-DOS instead of PC DOS? Have >you tried the chipset selection switch provided by HIMEM.SYS? Hmm, hardly to believe. AFAIK they didn´t include any chipset since DR DOS 6. ;-) How CHIPSET should know about today... ok, did it now as well - of course no success, best I got was: _specified chipset not or no shadow RAM_ >Maybe a MEM /A output and your CONFIG.SYS might help. ok, at first for DR-OpenDOS 7.02 with PC DOS 7 HIMEM.SYS BREAK=ON TIMEOUT=10 SWITCH Mark1, Mark2, Mark3, Mark4, Mark5, Mark6, Mark7, Mark8, Mark9 HISTORY=ON,256,ON COUNTRY=049,437,C:\DOS\COUNTRY.SYS EXIT :Mark1 CPOS 19,1 SET Cfg=RNOM DEVICE=C:\START\DOA20.EXE /C /D /Q DEVICE=C:\START\UEBDA.SYS /S=4C /F DEVICE=C:\START\HIMEM.SYS /V /FASTA20 DEVICE=C:\DOS\DPMS.EXE DEVICE=C:\START\UKEY.SYS /DATEI=C:\START\LEBOOK.BIN DEVICE=C:\START\UM8673.SYS DEVICE=C:\DOS\NWCACHE.EXE 1024 A- B- /LEND=OFF /BL=4 /MLX DEVICE C:\START\SRDXMSS.SYS ;DEVICE=C:\START\DUMMYDRV.SYS /SIZE=1000 /INFO ;SWITCH M1,M1 DOS=HIGH HISHELL SIZE=2160 C:\COMMAND.COM C:\ /E:512 /P /MH BUFFERS=5 FILES=20 FCBS=2,2 STACKS=0,0 LASTDRIVE=H RETURN nothing remarkable, that results in: +- Address --- Name ----- Size ------------- Type ----------------------------+ ¦ 0:0000 ¦ -------- ¦ 400h, 1.024 ¦ Interrupt vectors ¦ ¦ 40:0000 ¦ -------- ¦ 100h, 256 ¦ ROM BIOS data area ¦ ¦ 4C:0000 ¦ -------- ¦ 0h, 0 ¦ Extended ROM BIOS data area ¦ ¦ 50:0000 ¦ DOS ¦ 200h, 512 ¦ DOS data area ¦ ¦ 70:0000 ¦ BIOS ¦ 900h, 2.304 ¦ Device drivers ¦ ¦ 70:0023 ¦ CON ¦ ¦ System device driver ¦ ¦ 70:0035 ¦ AUX ¦ ¦ System device driver ¦ ¦ 70:0047 ¦ PRN ¦ ¦ System device driver ¦ ¦ 70:0059 ¦ CLOCK$ ¦ ¦ System device driver ¦ ¦ 70:006B ¦ COM1 ¦ ¦ System device driver ¦ ¦ 70:007D ¦ COM2 ¦ ¦ System device driver ¦ ¦ 70:008F ¦ COM3 ¦ ¦ System device driver ¦ ¦ 70:00A1 ¦ COM4 ¦ ¦ System device driver ¦ ¦ 70:00C7 ¦ LPT1 ¦ ¦ System device driver ¦ ¦ 70:00D9 ¦ LPT2 ¦ ¦ System device driver ¦ ¦ 70:00EB ¦ LPT3 ¦ ¦ System device driver ¦ ¦ 70:0133 ¦ LPT4 ¦ ¦ System device driver ¦ ¦ 70:016E ¦ A:-D: ¦ ¦ System device driver ¦ ¦ 100:0000 ¦ DOS ¦ 13C0h, 5.056 ¦ System ¦ ¦ 100:0048 ¦ NUL ¦ ¦ System device driver ¦ ¦ 100:00CC ¦ DOS ¦ 10Fh, 271 ¦ HANDLES=, FCBS= 5 total blocks ¦ ¦ 23C:0000 ¦ DOS ¦ 10820h, 67.616 ¦ System ¦ ¦ 23E:0000 ¦ DOS ¦ A5h, 165 ¦ HANDLES=, FCBS= 3 total blocks ¦ ¦ 24B:0000 ¦ E: ¦ B0h, 176 ¦ DEVICE = installed device driver ¦ ¦ 257:0000 ¦ XMSXXXX0 ¦ 2D0h, 720 ¦ DEVICE = installed device driver ¦ ¦ 285:0000 ¦ DPMSXXX0 ¦ 620h, 1.568 ¦ DEVICE = installed device driver ¦ ¦ 2E8:0000 ¦ äöüÄÖÜ(' ¦ 390h, 912 ¦ DEVICE = installed device driver ¦ ¦ 322:0000 ¦ UMPCIIDE ¦ 1F40h, 8.000 ¦ DEVICE = installed device driver ¦ ¦ 517:0000 ¦ NWCache ¦ 25B0h, 9.648 ¦ DEVICE = installed device driver ¦ ¦ 773:0000 ¦ F: ¦ 2E0h, 736 ¦ DEVICE = installed device driver ¦ ¦ 1124:0000 ¦ DOS ¦ 2ECh, 748 ¦ HANDLES=, FCBS= 14 total blocks ¦ ¦ 104B:1800 ¦ DOS ¦ F30h, 3.888 ¦ DOS BIOS code ¦ ¦ 12BE:0000 ¦ COMMAND ¦ 1F0h, 496 ¦ Program ¦ ¦ 12DD:0000 ¦ COMMAND ¦ 210h, 528 ¦ Environment ¦ ¦ 12FE:0000 ¦ COMMAND ¦ 140h, 320 ¦ Data ¦ ¦ 1312:0000 ¦ NC ¦ F0h, 240 ¦ Environment ¦ ¦ 1321:0000 ¦ NC ¦ 33B0h, 13.232 ¦ Program ¦ ¦ 165C:0000 ¦ COMMAND ¦ E0h, 224 ¦ Data ¦ ¦ 166A:0000 ¦ COMMAND ¦ 2270h, 8.816 ¦ Program ¦ ¦ 1891:0000 ¦ COMMAND ¦ 210h, 528 ¦ Environment ¦ ¦ 18B2:0000 ¦ MEM ¦ E0h, 224 ¦ Environment ¦ ¦ 18C0:0000 ¦ MEM ¦ 15C10h, 89.104 ¦ Program ¦ ¦ 2E81:0000 ¦ -------- ¦ 6FEB0h, 458.416 ¦ FREE ¦ ¦ 9E6C:0000 ¦ CTMOUSE ¦ 1940h, 6.464 ¦ Program ¦ +-----------+----------+------------------+----------------------------------- ¦ ¦ C000:0000 ¦ -------- ¦ A000h, 40.960 ¦ ------------- ROM --------------- ¦ ¦ E000:0000 ¦ -------- ¦ 20000h, 131.072 ¦ ------------- ROM --------------- ¦ +-----------+----------+------------------+----------------------------------- ¦ ¦ FFFF:00E0 ¦ COMMAND ¦ 2080h, 8.320 ¦ Program ¦ ¦ FFFF:2240 ¦ DOS ¦ 71E0h, 29.152 ¦ DOS kernel code ¦ ¦ FFFF:9420 ¦ -------- ¦ 470h, 1.136 ¦ FREE ¦ ¦ FFFF:A220 ¦ DOS ¦ A64h, 2.660 ¦ BUFFERS= 5 disk buffers ¦ ¦ FFFF:AC84 ¦ -------- ¦ 47AEh, 18.350 ¦ FREE ¦ ¦ FFFF:F432 ¦ SHARE ¦ BBEh, 3.006 ¦ Program ¦ +----------------------------------------------------------------------------- + + Memory Type --------- Total Bytes ( Kbytes ) ----- Available For Programs -+ ¦ Conventional ¦ 655.360 ( 640K ) ¦ 547.744 ( 535K ) ¦ ¦ High ¦ 65.520 ( 64K ) ¦ 19.486 ( 19K ) ¦ ¦ Extended ¦ 32.505.856 ( 31.744K ) ¦ 0 ( 0K ) ¦ ¦ Extended via XMS ¦ -------- ¦ 26.973.184 ( 26.341K ) ¦ +----------------------------------------------------------------------------- ¦ ¦ Largest executable program: 547.728 ( 535K ) ¦ ¦ Total Free DOS memory: 547.744 ( 535K ) ¦ +----------------------------------------------------------------------------- + and now DR-DOS 7.03 with YESCHAR=J TIMEOUT=15,J SWITCH Mark1, Mark2, Mark3, Mark4, Mark5, Mark6 DOS=HIGH,UMB SHELL=A:\COMMAND.COM A:\ /E:512 /P BUFFERS=24 HIFILES=50 HIFCBS=4,4 HILASTDRIVE=G HISTORY=ON,256,ON COUNTRY=49,437,COUNTRY.SYS EXIT :Mark1 CPOS 11,1 rem DEVICE=HIMEM.SYS ROM=NONE GATEA20=MCA rem DEVICE=DUMMYDRV.SYS /SIZE=8C00 DEVICE=\IBM\HIMEM.SYS /FASTA20 DEVICE=UKEY.SYS RETURN regardless of the drivers or switches (believe me! :-), I tried this also in the exact configuration on harddisk as shown above, but restored to 7.02 until one DOS is profen being better) results in: +- Address --- Name ----- Size ------------- Type ----------------------------+ 0:0000 ¦ -------- ¦ 400h, 1.024 ¦ Interrupt vectors ¦ ¦ 40:0000 ¦ -------- ¦ 100h, 256 ¦ ROM BIOS data area ¦ ¦ 50:0000 ¦ DOS ¦ 200h, 512 ¦ DOS data area ¦ ¦ 70:0000 ¦ BIOS ¦ 900h, 2.304 ¦ Device drivers ¦ ¦ 70:0023 ¦ CON ¦ ¦ System device driver ¦ ¦ 70:0035 ¦ AUX ¦ ¦ System device driver ¦ ¦ 70:0047 ¦ PRN ¦ ¦ System device driver ¦ ¦ 70:0059 ¦ CLOCK$ ¦ ¦ System device driver ¦ ¦ 70:006B ¦ COM1 ¦ ¦ System device driver ¦ ¦ 70:007D ¦ COM2 ¦ ¦ System device driver ¦ ¦ 70:008F ¦ COM3 ¦ ¦ System device driver ¦ ¦ 70:00A1 ¦ COM4 ¦ ¦ System device driver ¦ ¦ 70:00C7 ¦ LPT1 ¦ ¦ System device driver ¦ ¦ 70:00D9 ¦ LPT2 ¦ ¦ System device driver ¦ ¦ 70:00EB ¦ LPT3 ¦ ¦ System device driver ¦ ¦ 70:016E ¦ A:-C: ¦ ¦ System device driver ¦ ¦ 100:0000 ¦ DOS ¦ 13A0h, 5.024 ¦ System ¦ ¦ 100:0048 ¦ NUL ¦ ¦ System device driver ¦ ¦ 100:00CC ¦ DOS ¦ 10Fh, 271 ¦ HANDLES=, FCBS= 5 total blocks ¦ ¦ 23A:0000 ¦ DOS ¦ 9910h, 39.184 ¦ System ¦ ¦ 23C:0000 ¦ DOS ¦ A5h, 165 ¦ HANDLES=, FCBS= 3 total blocks ¦ ¦ 249:0000 ¦ XMSXXXX0 ¦ 8500h, 34.048 ¦ DEVICE = installed device driver ¦ ¦ A9A:0000 ¦ äöüÄÖÜ(' ¦ 190h, 400 ¦ DEVICE = installed device driver ¦ ¦ AB4:0000 ¦ DOS ¦ 98Ch, 2.444 ¦ HANDLES=, FCBS= 46 total blocks ¦ ¦ BCB:0000 ¦ COMMAND ¦ 1F0h, 496 ¦ Program ¦ ¦ BEA:0000 ¦ COMMAND ¦ 210h, 528 ¦ Environment ¦ ¦ C0B:0000 ¦ MEM ¦ 60h, 96 ¦ Environment ¦ ¦ C11:0000 ¦ MEM ¦ 15C20h, 89.120 ¦ Program ¦ ¦ 21D3:0000 ¦ -------- ¦ 7DED0h, 515.792 ¦ FREE ¦ +-----------+----------+------------------+----------------------------------- ¦ ¦ C000:0000 ¦ -------- ¦ 8000h, 32.768 ¦ ------------- ROM --------------- ¦ ¦ E000:0000 ¦ -------- ¦ 20000h, 131.072 ¦ ------------- ROM --------------- ¦ ¦ ED00:0000 ¦ -------- ¦ 1000h, 4.096 ¦ ------------- ROM --------------- ¦ +-----------+----------+------------------+----------------------------------- ¦ ¦ FFFF:00E0 ¦ COMMAND ¦ 2080h, 8.320 ¦ Program ¦ ¦ FFFF:2240 ¦ DOS ¦ F70h, 3.952 ¦ DOS BIOS code ¦ ¦ FFFF:31B0 ¦ DOS ¦ 7280h, 29.312 ¦ DOS kernel code ¦ ¦ FFFF:A430 ¦ DOS ¦ 31E0h, 12.768 ¦ BUFFERS= 24 disk buffers ¦ ¦ FFFF:D610 ¦ -------- ¦ 1886h, 6.278 ¦ FREE ¦ ¦ FFFF:EE96 ¦ SHARE ¦ 115Ah, 4.442 ¦ Program ¦ +----------------------------------------------------------------------------- + + Memory Type --------- Total Bytes ( Kbytes ) ----- Available For Programs -+ ¦ Conventional ¦ 654.336 ( 639K ) ¦ 605.008 ( 591K ) ¦ ¦ High ¦ 65.520 ( 64K ) ¦ 6.278 ( 6K ) ¦ ¦ Extended ¦ 40.894.464 ( 39.936K ) ¦ 0 ( 0K ) ¦ ¦ Extended via XMS ¦ -------- ¦ 40.828.928 ( 39.872K ) ¦ +----------------------------------------------------------------------------- ¦ ¦ Largest executable program: 604.992 ( 591K ) ¦ ¦ Total Free DOS memory: 605.008 ( 591K ) ¦ +----------------------------------------------------------------------------- + experimenting a little using my old dummy device driver, insert DEVICE=DUMMYDRV.SYS /SIZE=1000 before HIMEM.SYS and got: ¦ 23A:0000 ¦ DOS ¦ 9910h, 39.184 ¦ System ¦ ¦ 23C:0000 ¦ DOS ¦ A5h, 165 ¦ HANDLES=, FCBS= 3 total blocks ¦ ¦ 249:0000 ¦ DUMDRV & ¦ 1000h, 4.096 ¦ DEVICE = installed device driver ¦ ¦ 34A:0000 ¦ XMSXXXX0 ¦ 74F0h, 29.936 ¦ DEVICE = installed device driver ¦ ¦ A9A:0000 ¦ äöüÄÖÜ(' ¦ 190h, 400 ¦ DEVICE = installed device driver ¦ ¦ AB4:0000 ¦ DOS ¦ 98Ch, 2.444 ¦ HANDLES=, FCBS= 46 total blocks ¦ with DUMMYDRV.SYS /SIZE=4000 I got ¦ 23A:0000 ¦ DOS ¦ 9910h, 39.184 ¦ System ¦ ¦ 23C:0000 ¦ DOS ¦ A5h, 165 ¦ HANDLES=, FCBS= 3 total blocks ¦ ¦ 249:0000 ¦ DUMDRV & ¦ 4000h, 16.384 ¦ DEVICE = installed device driver ¦ ¦ 64A:0000 ¦ XMSXXXX0 ¦ 44F0h, 17.648 ¦ DEVICE = installed device driver ¦ ¦ A9A:0000 ¦ äöüÄÖÜ(' ¦ 190h, 400 ¦ DEVICE = installed device driver ¦ ¦ AB4:0000 ¦ DOS ¦ 98Ch, 2.444 ¦ HANDLES=, FCBS= 46 total blocks ¦ with DUMMYDRV.SYS /SIZE=8000 I got ¦ 23A:0000 ¦ DOS ¦ A080h, 41.088 ¦ System ¦ ¦ 23C:0000 ¦ DOS ¦ A5h, 165 ¦ HANDLES=, FCBS= 3 total blocks ¦ ¦ 249:0000 ¦ DUMDRV & ¦ 8000h, 32.768 ¦ DEVICE = installed device driver ¦ ¦ A4A:0000 ¦ XMSXXXX0 ¦ C60h, 3.168 ¦ DEVICE = installed device driver ¦ ¦ B11:0000 ¦ äöüÄÖÜ(' ¦ 190h, 400 ¦ DEVICE = installed device driver ¦ ¦ B2B:0000 ¦ DOS ¦ 98Ch, 2.444 ¦ HANDLES=, FCBS= 46 total blocks ¦ anything strange? but don´t no how to deal with anyway it happens on my notebook (later) as well as on my infamous P60 (Batman revange). >> And using DRDOS HIMEM.SYS as an UMB server as well is not a point >> as long as I cannot enable the shadow RAM and make use of it. ;-) >What kind of machine are you using (CPU, mainboard, chipset)? P166MMX Step 4 :-( Chipset made by UMC: UM8891N (Notebook), UM8886N EIDE/ISA bridge >If the chipset is not directly supported by DR-DOS HIMEM.SYS but >you can provide detailed info how to program your chipset at >register level, it might be relatively easy to add your chipset >to those supported by HIMEM.SYS. It has preparations to add >OEM chipsets when they need it, so it would be just a matter >of (someone s) time... ;-) Maybe the other way round. :-)) If anyone out there could provide me any good info/datasheet/pointer about that particular chipset (programming) really I would be happy to spent that time... ;-) At least I would do it before HIMEM.SYS and then provide RAM with the CHIPSET=RAM USE=... switch So I do on the other machine. I know being responsible for what I´m doing there ;-) (esp. DMA transfer etc.) btw - If I could run it that way - I would never ever thinking of using any other XMS driver than DR-DOS ! ;-) >Matthias Best regards, Utz,