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 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-dev&m=88425176918117&w=2 > I know you sent similar e-mail about mixed environments in the past. > Normally you wouldn't want

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 wrote: > On Sun, Feb 8, 2015 at 1:13 PM, Frantisek Hanzlik 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,

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 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 (roughly) how I'

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 diff

Re: [Freedos-user] FreeDOS NIC Card problem

2015-02-10 Thread Rugxulo
Hi, On Mon, Feb 9, 2015 at 9:27 PM, Don Flowers 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 FDNPKG > install

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 str

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

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

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 dose