The new network stack
-
Fixed in #6971"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Still have a question is it an issue or not? http://board.kolibrios.org/viewtopic.ph ... 232#p69046 Maybe I just don't understand something?
Yes, it is an issue.0CodErr wrote:What if number of bytes is for example 0x1ffffffff?Code: Select all
====================================================================== ========== Function 74, Subfunction 8, Get TX byte counter. ========== ====================================================================== Parameters: * eax = 74 - function number * bl = 8 - subfunction number * bh = device number Returned value: * eax = Number of bytes sent since device start (lower dword) -1 on error * ebx = Number of bytes sent since device start (higher dword) ====================================================================== ========== Function 74, Subfunction 9, Get RX byte counter. ========== ====================================================================== Parameters: * eax = 74 - function number * bl = 9 - subfunction number * bh = device number Returned value: * eax = Number of bytes received since device start (lower dword) -1 on error * ebx = Number of bytes received since device start (higher dword)
Edit: Yes, it is also an issue, fix could be to use only lower 2 bytes of EAX for MAC on success.0CodErr wrote: Also the function below may have the same problem.Code: Select all
====================================================================== ==== Function 76, Protocol 0 - Ethernet, Subfunction 0, Read MAC. ==== ====================================================================== Parameters: * eax = 76 - function number * high half of ebx = 0 (Ethernet) * bh = device number * bl = 0 (Read MAC) Returned value: * eax = -1 on error, otherwise lower bits of MAC * bx = upper bits of MAC
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
I don't understand why.hidnplayr wrote: upper 2 bytes of EAX will be 0 when there is no error
Since the MAC address is a 6-byte value.
According to the description of the function EAX contains lower(not higher) bits of MAC.
0CodErr: You are correct, I did not read my own documentation. See previous post.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Yesterday hidnplayr and I have made couple of tests at my main PC. This computer has several issues working with Kolibri. For example, I must use keyboard only in Kolibri (USB mouse and keyboard don't work).
As a result:
- lan card Intel I218-V was added to list of supported devices (integrated eth at Asus Z97-e motherboard)
- found an speed calculation issue in NETSTAT which was fixed by hidnplayr (thanks a lot)
- http.obj buffer was increased which must increase download speed (but it didn't help me much)
The average download speed in Kolibri was about 180 Kb.
Now I have bought 4 lan cards to test them in Kolibri. Not sure the all are in working state. But lets check!
As a result:
- lan card Intel I218-V was added to list of supported devices (integrated eth at Asus Z97-e motherboard)
- found an speed calculation issue in NETSTAT which was fixed by hidnplayr (thanks a lot)
- http.obj buffer was increased which must increase download speed (but it didn't help me much)
The average download speed in Kolibri was about 180 Kb.
Now I have bought 4 lan cards to test them in Kolibri. Not sure the all are in working state. But lets check!
Из хаоса в космос
Who is online
Users browsing this forum: No registered users and 7 guests