Re: [Freedos-kernel] Re: [Freedos-cvs] kernel/kernel fattab.c,1.21,1.22

2004-04-25 Thread Alain
wcc (wpp neither) can't compile multiple files at the sametime. You can
only try to decrease the load time of wcc.exe Maybe compressing it or
binding with a dos extender helps. Maybe not.
I use it in RAM-DISK (with xmsdsk), allong with all .H files and some 
more ;-)

Alain



---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] Re: [Freedos-cvs] kernel/kernel fattab.c,1.21,1.22

2004-04-24 Thread Bart Oldeman
On Sat, 24 Apr 2004, Arkady V.Belousov wrote:

 24-áÐÒ-2004 15:53 [EMAIL PROTECTED] (Bart Oldeman) wrote to
 [EMAIL PROTECTED]:

  +++ fattab.c  24 Apr 2004 15:53:21 -  1.22
  -idx = (unsigned) unsigned)Cluster1  1) + (unsigned)Cluster1)  1)
  -  % dpbp-dpb_secsize;
  -
  +idx = (((unsigned)Cluster1  1) + (unsigned)Cluster1) %
 dpbp-dpb_secsize;

  Bug: in my patch was Cluster1  1 - difference is that code above
 computes 3*Cluster1 instead 3*Cluster1/2.

Sure I already found that and corrected. But please note that replacing
fbp by bp-buffer[foo] really doesn't produce better code for Watcom.
There is a good reason why I didn't apply these blockio.c patches either.

Bart



---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] Re: [Freedos-cvs] kernel/kernel fattab.c,1.21,1.22

2004-04-24 Thread Bart Oldeman
On Sat, 24 Apr 2004, Arkady V.Belousov wrote:

 24-áÐÒ-2004 16:37 [EMAIL PROTECTED] (Bart Oldeman) wrote to
 [EMAIL PROTECTED]:

 BO fbp by bp-buffer[foo] really doesn't produce better code for Watcom.
 BO There is a good reason why I didn't apply these blockio.c patches either.

  :) For OW I don't review listings yet, only for BC. I plan do this for
 OW today-tomorrow, though, this is much longer (up to 10 minutes with BC for
 recompilation, up to 20 with OW). Probably, I should force my efforts in
 optimization of makefile (collect names of changed files in one file, then
 pass this list at once for compilation).

if you want to check things quickly, simply do
wcc -i..\hdr -os -r -s -j -d1 -DWITHFAT32 foo.c
(perhaps via some batch file)

wcc (wpp neither) can't compile multiple files at the sametime. You can
only try to decrease the load time of wcc.exe Maybe compressing it or
binding with a dos extender helps. Maybe not.

wpp is not good -- the kernel is written in C, not C++, and some small
differences like sizeof('a') (1 in C++, sizeof(int) in C) maybe
responsible for what you see. It's also bigger so just slows things down.

Bart



---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] Re: [Freedos-cvs] kernel/kernel fattab.c,1.21,1.22

2004-04-24 Thread Arkady V.Belousov
Hi!

24--2004 17:01 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:

 recompilation, up to 20 with OW). Probably, I should force my efforts in
 optimization of makefile (collect names of changed files in one file, then
 pass this list at once for compilation).
BO if you want to check things quickly, simply do
BO wcc -i..\hdr -os -r -s -j -d1 -DWITHFAT32 foo.c
BO (perhaps via some batch file)

 I do so for BC (with -S option). :) Ask again: how you get listings for
inthndlr.c? When I dsiasm it, then second half of listing was not contain
sources (desyncronization?).

BO wcc (wpp neither) can't compile multiple files at the sametime. You can

__O\_/_\_/O__
fc=file_name
(C++ only) specify file of command lines to be batch processed (see
fc=file_name)
_
  O/~\ /~\O

BO only try to decrease the load time of wcc.exe Maybe compressing it or
BO binding with a dos extender helps. Maybe not.

 Hm. May be try the 32lite exepacker? Though, don't sure if this help
(much) - WCC already runs from Stacker volume.

BO wpp is not good -- the kernel is written in C, not C++, and some small
BO differences like sizeof('a') (1 in C++, sizeof(int) in C) maybe
BO responsible for what you see.

 ? I not use WPP with kernel (yet). Also, should be unimportant by which
compiler compiled compiler, if its sources are valid.

BO It's also bigger so just slows things down.

 Yes, WPP is 50% longer. :(




---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel