Re: Modifying cpu registers while in turbo pascal interrupt routine ?
From: Skybuck Flying (nospam_at_hotmail.com)
Date: 03/18/04
- Next message: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- Previous message: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- In reply to: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- Next in thread: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- Reply: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- Previous message: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- In reply to: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- Next in thread: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- Reply: Skybuck Flying: "Re: Modifying cpu registers while in turbo pascal interrupt routine ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|