Re: [Freedos-user] FreeDOS NIC Card problem

2015-02-10 Thread Don Flowers
After about 16 hours, I have concluded that this is not an FDNPKG bug, for at various times random pings also create the same error. Today I have read of other issues with this onboard NIC, while a real PCI of the same chipset is supposed be virtually PnP. I ordered a card on ebay for $9 with free

Re: [Freedos-user] FreeDOS program/beginner's problems

2015-02-10 Thread Rugxulo
Hi again, On Tue, Feb 10, 2015 at 7:34 PM, Rugxulo rugx...@gmail.com wrote: On Sun, Feb 8, 2015 at 1:13 PM, Frantisek Hanzlik fra...@hanzlici.cz wrote: I'm trying to write a small program that will distinguish whether running under dosemu/FreeDOS or not, and accordingly do other things. I'm

Re: [Freedos-user] FreeDOS program/beginner's problems

2015-02-10 Thread Ralf Quint
On 2/10/2015 5:34 PM, Rugxulo wrote: I perform Dosemu detection according to instruction and example in this old FreeDOS maillist thread: http://marc.info/?l=freedos-devm=88425176918117w=2 I know you sent similar e-mail about mixed environments in the past. Normally you wouldn't want to split

Re: [Freedos-user] FreeDOS program/beginner's problems

2015-02-10 Thread Rugxulo
Hi, On Sun, Feb 8, 2015 at 1:13 PM, Frantisek Hanzlik fra...@hanzlici.cz wrote: I'm trying to write a small program that will distinguish whether running under dosemu/FreeDOS or not, and accordingly do other things. I'm not under Linux right now, so I can't double check, but just FYI, here's

Re: [Freedos-user] FreeDOS program/beginner's problems

2015-02-10 Thread Ralf Quint
On 2/10/2015 3:38 PM, Frantisek Hanzlik wrote: Ralf Quint wrote: On 2/9/2015 7:57 PM, Frantisek Hanzlik wrote: Pointers and things around them are for me still a little incomprehensible ;) If you want to program in C, then there is no way around it. For almost everything, and in particular

Re: [Freedos-user] FreeDOS program/beginner's problems

2015-02-10 Thread Frantisek Hanzlik
Ralf Quint wrote: On 2/9/2015 7:57 PM, Frantisek Hanzlik wrote: Hi Eric, thanks for help, Eric Auer wrote: Hi Franta, struct dosemu_detect { char magic[8]; unsigned char ver[4]; }; static struct dosemu_detect far *p = (void far*)

Re: [Freedos-user] FreeDOS program/beginner's problems

2015-02-10 Thread Eric Auer
Hi Franta, I got the impression that string declared as char mystring[]=$DOSEMU$; is in memory stored as null-terminated string. This does not help you: The OTHER string STARTS with $DOSEMU$, but is NOT null terminated, so both strings still differ. Unless you explicitly say you only

Re: [Freedos-user] FreeDOS program/beginner's problems

2015-02-10 Thread Ralf Quint
On 2/10/2015 4:04 PM, Eric Auer wrote: Hi Franta, I got the impression that string declared as char mystring[]=$DOSEMU$; is in memory stored as null-terminated string. This does not help you: The OTHER string STARTS with $DOSEMU$, but is NOT null terminated, so both strings still differ.

Re: [Freedos-user] FreeDOS NIC Card problem

2015-02-10 Thread Rugxulo
Hi, On Mon, Feb 9, 2015 at 9:27 PM, Don Flowers donr...@gmail.com wrote: I have an HP Elite 8000 with an Intel 82567LM-3 Pro 1000 ethernet card. After loading the sequence of drivers (LSL, E1000odi IPXodi and odipkt) I am able to acquire an address and ping successfully. But when I try to

Re: [Freedos-user] FreeDOS program/beginner's problems

2015-02-10 Thread Frantisek Hanzlik
Eric Auer wrote: Hi Franta, I got the impression that string declared as char mystring[]=$DOSEMU$; is in memory stored as null-terminated string. This does not help you: The OTHER string STARTS with $DOSEMU$, but is NOT null terminated, so both strings still differ. Unless you