Re: [Freedos-user] Hard disk drivers - UltraDMA

2005-08-03 Thread Florian Xaver

Hi!

There is also Eric's LBACACHE. There is a link at www.freedos.org.

Bye, Flo
--
Unofficial Dr-DOS page  


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Hard disk drivers - UltraDMA

2005-08-01 Thread Johnson Lam
On Mon, 1 Aug 2005 18:54:24 +0100, you wrote:

Hi Eric T.,

>Many thanks for your help. The good news is, yes, my program now runs 
>successfully under FreeDOS.

Good news, hope you enjoy the feeling.

>Alas, the old  (pre-1997) machine I've set up with FreeDOS reports that my 
>c:\ drive (in LBA mode) does not support ultraDMA, so udma2.sys wasn't 
>loaded.

Too bad, when you got a Pentium II and a not-so-old hard disk, you'll
found UDMA very helpful.


Rgds,
Johnson.



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Hard disk drivers

2005-08-01 Thread Eric Twose

Eric T wrote:
<<
hard disk access is poor (noisy and frantic, as it is when booting into
Windows safe mode).




Bernd wrote:
<<
you could try how your project behaves on a ramdrive.




:) Maybe selectively. Most of the output at the moment is going to a debug 
log file. But the project itself will use most of the available RAM on the 
machine.


[ For what it's worth, the project is called "guide" (a slightly clumsy 
acronym for "graphical user interface desktop environment"). It looks like 
Seal has died a sad death, so I thought I'd develop my own from scratch. At 
the moment, I'm head-banging relatively trivial stuff like getting the 
system to recognize mouse events and respond to them; making sure the cursor 
stays in the same part of the system bar when a window's being dragged 
across the screen, and such.]


<<
a diskcache might work, like SMARTDRV or LBACACHE.




Thanks indeed -- SMARTDRV works wonderfully. Now all I have to do is figure 
out how to call "SMARTDRV /C" when I shut down the project, from within a C 
program, to write to disk anything that's been cached. I've become so used 
to Windows and Microsoft's "plonk and play" software-writing packages :)


Best Wishes,
Eric T.



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Hard disk drivers

2005-08-01 Thread Bernd Blaauw

Eric Twose schreef:

Hi,
 
I'm currently writing a project in C using djgpp that runs in DOS and 
hopefully soon in FreeDOS. I notice that hard disk access is poor (noisy 
and frantic, as it is when booting into Windows safe mode).


you could try how your project behaves on a ramdrive.
* MS RAMDRIVE.SYS,
* XMSDSK
* TDSK
* SRDISK
* SHSURDRV

Is disk access better under FreeDOS than MS-DOS, and are there any 
decent drivers or config tweaks you could point me toward, please? As a 
newbie, any hints and tips would be greatly appreciated.


a diskcache might work, like SMARTDRV or LBACACHE.

Bernd



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Hard disk drivers - UltraDMA

2005-08-01 Thread Eric Twose

Johnson Lam wrote:
<<
FreeDOS is DOS compatible, of course not 100% but most of the
program works.




Dear Johnson,

Many thanks for your help. The good news is, yes, my program now runs 
successfully under FreeDOS.


<<
[noisy, frantic hard drive] is because the UltraDMA mode disabled in BIOS,
download UDMA2 from FreeDOS.org and try.




Alas, the old  (pre-1997) machine I've set up with FreeDOS reports that my 
c:\ drive (in LBA mode) does not support ultraDMA, so udma2.sys wasn't 
loaded.


Thanks all the same,
Eric T.







---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Hard disk drivers

2005-08-01 Thread Johnson Lam
On Sun, 31 Jul 2005 21:40:40 +0100, you wrote:

Hi,

>I'm currently writing a project in C using djgpp that runs in DOS and 
>hopefully soon in FreeDOS. I notice that hard disk access is poor (noisy and 
>frantic, as it is when booting into Windows safe mode).

FreeDOS is DOS compatible, of course not 100% but most of the program
works.

It's because the UltraDMA mode disabled in BIOS, download UDMA2 from
FreeDOS.org and try.

>Is disk access better under FreeDOS than MS-DOS, and are there any decent 
>drivers or config tweaks you could point me toward, please? As a newbie, any 
>hints and tips would be greatly appreciated.

The FreeDOS kernel and command.com was smaller, and boot a lot faster
than MS-DOS.

The only tweak maybe in FDCONFIG.SYS (you can use CONFIG.SYS also):

BUFFERS=-1

will use 6 buffers, otherwise it consume 29 buffers whatever the
number is, why? Have to ask the developers ;-)

>Many thanks in advance,

You're welcome.


Rgds,
Johnson.



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Hard disk drivers

2005-07-31 Thread Eric Twose



Hi,
 
I'm currently writing a project in C using djgpp 
that runs in DOS and hopefully soon in FreeDOS. I notice that hard disk access 
is poor (noisy and frantic, as it is when booting into Windows safe 
mode).
 
Is disk access better under FreeDOS than MS-DOS, 
and are there any decent drivers or config tweaks you could point me toward, 
please? As a newbie, any hints and tips would be greatly 
appreciated.
 
Many thanks in advance,
 
Eric T.