Re: [Freedos-kernel] TDSK volume locking failure

2004-04-17 Thread Bart Oldeman
On Fri, 16 Apr 2004, Steve Gibson wrote:

 Just a note that the 2032 kernel fails volume locking on the tdsk.exe
 turbodisk device.


 mov   bl, CurrentDosDevice; 1-based current device
 xor   bh, bh  ; lock level 0
 mov   cx, 084Ah   ; category / lock logical
 mov   ax, DOS_IOCTL SHL 8 + BLOCK_DEVICE_IO
 int   21

I get ax=0, no carry with kernel 2034rc. Doesn't seem like a problem to
me.

Bart



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] TDSK volume locking failure

2004-04-17 Thread Steve Gibson
Hi Bart,

 Just a note that the 2032 kernel fails volume locking on the tdsk.exe
 turbodisk device.


 mov   bl, CurrentDosDevice; 1-based current device
 xor   bh, bh  ; lock level 0
 mov   cx, 084Ah   ; category / lock logical
 mov   ax, DOS_IOCTL SHL 8 + BLOCK_DEVICE_IO
 int   21
I get ax=0, no carry with kernel 2034rc. Doesn't seem like a problem to
me.
Thanks Bart.  I'll give it a try under the 2034rc kernel.



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


[Freedos-kernel] FORCELBA Kernel option

2004-04-17 Thread Steve Gibson
Folks,

Could someone briefly explain the function of the kernel's FORCELBA 
option?  The command shown by sys.com is Always use LBA if possible.  So 
I suppose I'd like to understand why or when the kernel would not use LBA 
when it's available?

Is it, for example, a matter of not using LBA if the BIOS is not using it, 
even if it is supported by the system's drives?

In which case, what has been people's experience with this option?

Thanks very much



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] FORCELBA Kernel option

2004-04-17 Thread Bart Oldeman
On Sat, 17 Apr 2004, Steve Gibson wrote:

 Could someone briefly explain the function of the kernel's FORCELBA
 option?  The command shown by sys.com is Always use LBA if possible.  So
 I suppose I'd like to understand why or when the kernel would not use LBA
 when it's available?

If a partition isn't marked as LBA (with the partition id) then the
kernel will uses CHS, unless it's beyond cylinder 1024. This is because
some TSRs like to hook int13 and expect DOS to use the old int13 CHS
style calls.

If you don't like the somewhat inefficient LBA-CHS (by the kernel) and
then CHS-LBA translation (by the BIOS) you can set ForceLBA.

Bart



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel