[Freedos-devel] Some further question about FreeCOM

2005-07-26 Thread Jose Antonio Senna
Bart Oldeman said: BO>It is also very tough to reload the code portions of the executable on BO>demand at the right place if you write your command.com in C instead of in BO>assembly language. BO>It is not even the C perse that makes it tough, but rather the BO>interactions with its run-time lib

[Freedos-devel] FDISK (45487 bytes) failed again

2005-07-26 Thread Johnson Lam
Hi, Jeremy's site up again, and I got the latest FDISK. However, I try to partition a 40GB hard disk and got this: Error 0 reading sector 0x3f I try to use the old one FDISK 1.2.1, it works. Rgds, Johnson. --- SF.Net email is sponsored by:

[Freedos-devel] re: Bug in FreeCOM DIR command

2005-07-26 Thread Eric Auer
Hi, Mark just confirmed that he REALLY means 32768 BYTES PER SECTOR. This fun is brought to us by NTFS4DOS which creates fake cluster sizes of 1 MB and bigger to get the statistics displayed right for insanely big drives... Still I insist on the need for "you must not only check the carry flag bu

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Johnson Lam
On Mon, 25 Jul 2005 23:35:39 -0700, you wrote: Hi Blair, >This will help me to add netcard autosetup to my FreeDOS installation >CD, and may make it easier for users to set up their DOS on the >internet. Thanks. IMO, you can prepare some popular cards such as REALTEK and 3COM. I've no idea abo

[Freedos-devel] re: Master environment?

2005-07-26 Thread Eric Auer
Hi CJ, you count in odd ways... > current PSP offset 29/30 has E7 0B. Reverse the byte order provides > Segment BE6. Deduct 1 = AF2. You probably wanted to say "subtract 1 from 0be7 to get 0be6", but you should not... the PSP is at be7, not be6. So your offsets (I would have preferred to use

[Freedos-devel] re: Bug in FreeCOM DIR command

2005-07-26 Thread Eric Auer
Hi Mark, you are wrong, sorry... > No, I think (1024*1024)/(64*32768) would be .5, which > is zero in integer division. :-) 2097152 > 1048576 clustersize will never be 64*32768. If your cluster size is 32kb, then it will be 32768, in other words, it will be 64 * 512. If you get a cluster size

Re: [Freedos-devel] re: Bug in FreeCOM DIR command

2005-07-26 Thread kd4d
No, I think (1024*1024)/(64*32768) would be .5, which is zero in integer division. :-) 2097152 > 1048576 All they appear to be doing is converting bytes to Megabytes, so (FAT32_Free_Space.free_clusters * clustersize )/(1024l*1024) should do it, without yielding 0 all the time (my first suggestio

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Johnson Lam
On Tue, 26 Jul 2005 15:32:17 -0300, you wrote: Hi, >> Not Arachne please, I can't get it to work somehow. > >the best simple test is WatTcp's PING. That is what I use for simple >tests and it is already in the FreeDOS networ floppy. No idea why Bernd fail to run Arachne, just a packet driver an

Re: [Freedos-devel] Bug in FreeCOM DIR command

2005-07-26 Thread Alain
I am allways impressed with this kind of report! Alain [EMAIL PROTECTED] escreveu: Good day, all: I believe I have found a bug in FreeCOM's implementation of the DIR command. This causes a Divide by zero error and forces a reboot. Using the DIR command on an NTFS4DOS mounted NTFS partition w

[Freedos-devel] re: Bug in FreeCOM DIR command

2005-07-26 Thread Eric Auer
Hi, actually there are TWO bugs: > This appears to be due to the following code in FreeCOM's > dir.c, function dir_print_free > r.r_ax = 0x7303; > ... > intr(0x21, &r); > if(!(r.r_flags & 1)) { > ... This test is wrong, as RBIL D-217303 states: Notes: on DOS versions which do not sup

[Freedos-devel] Bug in FreeCOM DIR command

2005-07-26 Thread kd4d
Good day, all: I believe I have found a bug in FreeCOM's implementation of the DIR command. This causes a Divide by zero error and forces a reboot. Using the DIR command on an NTFS4DOS mounted NTFS partition which should show 0 File(s) 0 bytes 7 Dir(s)

[Freedos-devel] re: Master environment?

2005-07-26 Thread Eric Auer
Hi, I did a bit of thinking about the master environment search... - you can use the "parent PSP segment" word at PSP[0x16], but this gets into a loop not only for FreeCOM but also for DEBUG. Are other programs affected by that as well? - you can use the "stored int 22" (at PSP[0x0a], see RBI

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread tom ehlert
Hello Alex, >> This is PCISLEEP by Eric Auer 12mar2005 - Free open source software. >> Read GNU General Public License 2 at www.gnu.org > PCISLEEP - where can I get this from? www.google.com (as did I just 5 minutes ago) tom --- SF.Net emai

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Mark Bailey
Alex Buell wrote: On Tue, 26 Jul 2005, Bernd Blaauw wrote: This is PCISLEEP by Eric Auer 12mar2005 - Free open source software. Read GNU General Public License 2 at www.gnu.org PCISLEEP - where can I get this from? I just downloaded it from: http://www.coli.uni-saarland.de/~eric/stuff/s

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Alain
Bernd Blaauw escreveu: could you provide a VERY simple bootdisk image with a testing application which uses a packet driver? Not Arachne please, I can't get it to work somehow. the best simple test is WatTcp's PING. That is what I use for simple tests and it is already in the FreeDOS networ

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Robert Riebisch
Blair Campbell wrote: >> pcntpk int=0x60 reports for me > Which net card is this? I think, he's talking about "AMD PCnet-PCI II" in VMware's virtual machine: http://www.vmware.com/support/ws5/doc/intro_vmspec_ws.html#wp1001605 Robert Riebisch -- BTTR Software http://www.bttr-software.de/

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Blair Campbell
> could you provide a VERY simple bootdisk image with a testing > application which uses a packet driver? > Not Arachne please, I can't get it to work somehow. Sure > I've tried the 100MB ISO that was uploaded, but can't get many things to > work. Did you try on a modern machine or VMware/Bochs/Q

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Bernd Blaauw
Blair Campbell schreef: Hi. I am requesting that everyone with a little spare time and a PCI network card that works with a clearly redistributable packet driver (in the licence, like a crynwr packet driver), to email me their PCIsleep output and either tell me what driver it works with if it is

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Alain
Robert Riebisch escreveu: There is only one that I miss: for MotherBoard that come Intel Chipset and on board driver. Why? ;-) I use packet drivers in user machines. In some situations I have to disable the internal NIC and insert an off-board NIC. It would be much better to use the on-bo

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Robert Riebisch
Alain wrote: > There is only one that I miss: for MotherBoard that come Intel Chipset > and on board driver. Why? ;-) >From http://www.crynwr.com/ : "Looking for an Intel 100Mbps packet driver? Intel links directly to this page, and you can download it straight from here." Robert Riebisch -- B

Re: [Freedos-devel] Packet drivers/Automatic setup

2005-07-26 Thread Alain
Hi Blair, I have been using drivers for: Realtek RT8139, Surecom EP-320-S (Chip BC001), Via VT6103/VT6105 (VT6103 driver), Davicom DM9102, AMDteck AN983 and PcChips SiS900. These are all the boards that I found here in Brazil, Only Surecomm BC001 is disapearing. There is only one that I miss

[Freedos-devel] I forgot to put URL ...

2005-07-26 Thread Johnson Lam
Dear All, Sorry ... I forgot to put URL. http://johnson.tmfc.net/freedos It's "Compatibility", also welcome to check others, and please help point out the mistake. Thanks. Rgds, Johnson. --- SF.Net email is sponsored by: Discover Easy Lin

[Freedos-devel] To Jeremy: FreeDOS FDISK another partition problem

2005-07-26 Thread Johnson Lam
Dear All, Yesterday I'm lucky that I got a IBM eServer to play with, and suddenly a flash on my mind ... why don't I try FreeDOS on it? So I got the dual SCSI RAID-5 ready and install FreeDOS, and I found that Free FDISK failed, it can create the partition, FORMAT and SYS, but failed to boot, I'v