Re: Modifying cpu registers while in turbo pascal interrupt routine ?

From: Skybuck Flying (nospam_at_hotmail.com)
Date: 03/18/04


Date: Thu, 18 Mar 2004 02:05:44 +0100

Ok,

I think I have found the culprit...

The test program calls: 'reset interface' function.

This function is not working properly anyway... (it does not clear multicast
list and does not re-fetch address from rom)

Disabling this function from the test program makes it work and receive
packets :D

If a send a packet of ethernet/ip/udp and data 395... the test will show 437
bytes received...

( First I thought that can't be right ethernet is only 14 bytes :) but I
forgot the other protocol headers :) )

Hmm let's see... 14 bytes for ethernet header + 20 bytes for ip + 8 = 42
bytes.

437 - 42 = 395 matches perfectly !!! :D

Yes !!!

It seems pascal interrupts do work like they should !!! :D

I apologize for this :D lol Stupid me ! :D

Wieeeeeeeeeeeeeeeeeeeehhhhhhhhhhhhhhheeeeeeeeeeeeeeeeee :):):):):):):):)

Skybuck.



Relevant Pages

  • Re: Udp sending performance in Gbit Ethernet
    ... Not sure whether your test program or setup is correct. ... implementations of TTCP are available for Windows, ... This seems to be connected to the NIC interrupts in some way, ... > it seems like that 1024-byte packets can be sent at full rate, ...
    (microsoft.public.development.device.drivers)
  • Multicast client RHL 8 C code
    ... I'm trying to write a multicast client in C to run on RHL 8. ... is to connect to a microsoft media server on a small lan. ... but it never sees any packets. ... The test program takes the port & ip address of the multicast server ...
    (comp.os.linux.networking)
  • Re: DatagramSocket receive performance
    ... The java test program is multithreaded. ... of the swing gui that prompts the user for the IP address. ... That means that the packets can be discarded and not ...
    (comp.lang.java.programmer)

Loading