Re: [Freedos-user] Incompatibility with EMSDSK #3

2009-06-24 Thread Eric Auer

Hi!

 DEVICE=C:\DEVS\RDOSUMB.COM #19 *
 DEVICEHIGH=C:\DEVS\JEMMEX.EXE A20METHOD:FAST FRAME=E000 VERBOSE NOE801 NOE820 
 NORAM D=0 VCPI
 DOS=UMB,HIGH
 DEVICEHIGH=C:\DEVS\EMSDSK.EXE 4364 /c02
...
  6 file(s)101,406 bytes
  0 dir(s) 325,632 bytes free
  Note the reported free value.
...
  It seems that FreeDOS does not work well with real-mode 
 UMBs, since EMSDSK no longer shows any problems if I rem the 
 first line in CONFIG.SYS and change the NORAM option to RAM. 
  Looking into UMBs (when they are real-mode), I found 
 command.com there, possibly overlapping the EMS frame area. 

I do not know how command.com came there (try using SHELL
instead of SHELLHIGH) but UMBs always cause a risk of
using areas of RAM that you should not use. This happens
both with real-mode UMBs and with JEMM386 / JEMMEX. You
also use very forcing command line options for JEMMEX
so maybe you even force it to use areas it should not.

This can mean that access to disk/sound/network/USB/...
will trigger something which overwrites your UMB, etc.

Try finding a suitable X=... option for your JEMMEX and/or
suitable options for RDOSUMB (or try UMBPCI) to avoid any
problematic areas in your UMB. Note that EMSDSK might be
able to work without page EMS frame, giving you more UMB.

Eric


--
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Incompatibility with EMSDSK #3

2009-06-24 Thread Christian Masloch
 DEVICE=C:\DEVS\RDOSUMB.COM #19 *
 DEVICEHIGH=C:\DEVS\JEMMEX.EXE A20METHOD:FAST FRAME=E000 VERBOSE NOE801  
 NOE820 NORAM D=0 VCPI
 DOS=UMB,HIGH
 DEVICEHIGH=C:\DEVS\EMSDSK.EXE 4364 /c02
 ...
  6 file(s)101,406 bytes
  0 dir(s) 325,632 bytes free
  Note the reported free value.
 ...
  It seems that FreeDOS does not work well with real-mode
 UMBs, since EMSDSK no longer shows any problems if I rem the
 first line in CONFIG.SYS and change the NORAM option to RAM.
  Looking into UMBs (when they are real-mode), I found
 command.com there, possibly overlapping the EMS frame area.

If any UMBs (provided by RDOSUMB) overlap the EMS page frame, this is a  
certain source of errors. Using your current configuration, inspect which  
areas of the UMA are provided as UMB and whether any of these areas  
contains or crosses segments E000h to EFFFh (where the 64 KiB large EMS  
page frame is). One of the MEM options might show you the (hexadecimal)  
segments and their size. (If you don't know how to look at the segment and  
size values, send a list of your UMBs with these values to the list.)

  If I omit the FRAME option in CONFIG.SYS, then I see thismessage  
 during boot:

 *** EMS RAMdisk v1.9I (FU - 08/98): ems get frame error

  and EMSDSK does not install. The memory map in this caseshows no  
 EMM0.

 Note that EMSDSK might be
 able to work without page EMS frame, giving you more UMB.

Apparently not. You might of course try FRAME=NONE first and see if EMSDSK  
shows the same message. However many other EMS programs don't work without  
page frame anyway so I won't recommend running such a system. If you don't  
use any other programs that require EMS, a better option might be to  
disable EMS completely (JEMM option NOEMS, and remove FRAME=) and replace  
EMSDSK by XMSDSK (or the open source RDISK, which also runs with XMS).

Regards,
Christian

--
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Incompatibility with EMSDSK

2009-06-21 Thread Kenneth J. Davis
On Sun, Jun 21, 2009 at 2:14 AM, jasse...@itelefonica.com.br 
jasse...@itelefonica.com.br wrote:

  FreeDOS (kernel=2038fat16, freecom=082pl3) reports a wrong
 (about 10% actual) size for a EMS ramdisk created with
 Frank Uberto FU_RD v.19i.
 ...

documentation says both have just one FAT. I set
 them with same size and number of sectors/cluster.

  JAS

Does this happen for any size or what size do you create?

Thank you,
Jeremy
--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Incompatibility with EMSDSK

2009-06-21 Thread jasse...@itelefonica.com.br
 Jeremy said:

Does this happen for any size or what size do you create?

I only tested it with 4364KB, which is the same size I use under 
DR/MS DOS. This is just a value I found to work comfortably for 
all my ordinary applications. I may try other values if you think
this is important. BTW, I have 16 MB total memory in this machine.
 New info: I noticed that, unless I force a frame address (with JEMM
FRAME=  option), JEMM fails to install EMM0 under kernel 2038,
but installs ok under DR/MS DOS.

 JAS


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Incompatibility with EMSDSK

2009-06-21 Thread Bart Oldeman
2009/6/21 jasse...@itelefonica.com.br jasse...@itelefonica.com.br

 I only tested it with 4364KB, which is the same size I use under
 DR/MS DOS. This is just a value I found to work comfortably for
 all my ordinary applications. I may try other values if you think
 this is important. BTW, I have 16 MB total memory in this machine.

I see no problem here:

 C:\emsdsk 4364
EMSDSK driver not loaded. Want to load it (y/n) ?

*** EMS RAMdisk v1.9I (FU - 08/98): Installed as drive F:.


C:\dir f:
 Volume in drive F is MS-RAMDRIVE
File not found.

C:\copy config.sys f:
config.sys = f:config.sys

C:\dir f:
 Volume in drive F is MS-RAMDRIVE
 Directory of F:\

CONFIG   SYS           469  16-06-09 17:45
        1 file(s)            469 bytes
        0 dir(s)       4.456.448 bytes free

What are you seeing? How do you load emsdsk? What is a minimal
config.sys/autoexec.bat that exposes the problem? In other words, how
can others reproduce your problem?

Bart

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user