Re: [Freedos-kernel] SYS issues

2004-03-12 Thread Michal H. Tyc
Hi,

On Fri, 12 Mar 2004 14:03:44 +0300 (MSK), Arkady V.Belousov wrote:

 - /Odrive - use fixed drive number (in hex) in boot sector.

If this switch is intended for compatibility with DR-DOS, drive number
should be given in decimal. Support for hex with '0x' and/or '$' prefix
can be a nice extension, though :-)

Michal



---
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] SYS issues

2004-03-12 Thread Arkady V.Belousov
Hi!

12--2004 19:34 [EMAIL PROTECTED] (Michal H. Tyc) wrote to
[EMAIL PROTECTED]:

 - /Odrive - use fixed drive number (in hex) in boot sector.
MHT If this switch is intended for compatibility with DR-DOS, drive number
MHT should be given in decimal. Support for hex with '0x' and/or '$' prefix
MHT can be a nice extension, though :-)

 Inconsistent: address in /L option is hex-value. And I think, _here_
consistency inside one program interface is more important, than full
compatability with (very rarely used/known) option of DR-DOS SYS.




---
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_id70alloc_id638op=click
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] SYS issues

2004-03-12 Thread Kenneth J. Davis
 - /Odrive - use fixed drive number (in hex) in boot sector.
MHT If this switch is intended for compatibility with DR-DOS, drive number
MHT should be given in decimal. Support for hex with '0x' and/or '$' prefix
MHT can be a nice extension, though :-)

 Inconsistent: address in /L option is hex-value. And I think, _here_
consistency inside one program interface is more important, than full
compatability with (very rarely used/known) option of DR-DOS SYS.


If the option is mimicking an existing option (in this case
from DR-DOS sys), we should at least try to be compatible.
So wouldn't the better change to require/support the 
0x or $ or h notations for the /L option as well, and
use base 10, at least for the /O option, if not used
or complain/warn if a hex prefix/suffix is not used.
So if in all the examples, options are used as
 /L 0xABCD and /O 0x123
we will be consistant within this one program and at
the same time constistant for those familiar with the
DR DOS sys /O option.  Just my opinion, do as you feel
best for our sys though.

Has your work been committed to cvs or is there a patch/
source archive around that one can look at?

Thanks,
Jeremy




---
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] SYS issues

2004-03-12 Thread Arkady V.Belousov
Hi!

12--2004 14:34 [EMAIL PROTECTED] (Kenneth J. Davis) wrote to
[EMAIL PROTECTED]:

 - /Odrive - use fixed drive number (in hex) in boot sector.
MHT If this switch is intended for compatibility with DR-DOS, drive number

 This is rather functional compatablity, not syntaxtical.

 Inconsistent: address in /L option is hex-value. And I think, _here_
KJD If the option is mimicking an existing option (in this case

 Not so. /O, as described by Matthias, only gives me idea how, but I
don't think that full mimick of DR-DOS SYS is important for us.

KJD from DR-DOS sys), we should at least try to be compatible.
KJD So wouldn't the better change to require/support the
KJD 0x or $ or h notations for the /L option as well, and

 Matthias doesn't says that DR-DOS supports radix, other than 10. :)

KJD use base 10, at least for the /O option, if not used
KJD or complain/warn if a hex prefix/suffix is not used.

 Which reason to use decimal numbers for disk numbers? I don't think
that 128 is somewhat more readable than 80. I think, radix 10 for /L and
even for /O is useless.

KJD Has your work been committed to cvs or is there a patch/
KJD source archive around that one can look at?

 No, all work is currently on my disk. Also, call to put_boot() is
currently commented (because there are yet some unsolved issues - for
example, locking behavior), only interface (options parsing) and copy() is
working.




---
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_id70alloc_id638op=click
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel