Board.KolibriOS.org

Official KolibriOS board
It is currently Tue Apr 23, 2019 11:22 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 66 posts ]  Go to page Previous 1 2 3 4 5
Author Message
PostPosted: Mon Sep 11, 2017 11:17 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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


Top
   
PostPosted: Fri Feb 16, 2018 4:19 pm 
Offline

Joined: Sun Oct 30, 2011 6:43 pm
Posts: 1499
Still have a question is it an issue or not? viewtopic.php?f=11&t=1254&p=69232#p69046 Maybe I just don't understand something?


Top
   
PostPosted: Sat Apr 21, 2018 4:05 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
0CodErr wrote:
Code:
======================================================================
========== 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)
What if number of bytes is for example 0x1ffffffff?

Yes, it is an issue.

0CodErr wrote:
Also the function below may have the same problem.
Code:
======================================================================
==== 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


Edit: Yes, it is also an issue, fix could be to use only lower 2 bytes of EAX for MAC on success.

_________________
"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


Top
   
PostPosted: Sat Apr 21, 2018 4:37 pm 
Offline

Joined: Sun Oct 30, 2011 6:43 pm
Posts: 1499
hidnplayr wrote:
upper 2 bytes of EAX will be 0 when there is no error
I don't understand why.
Since the MAC address is a 6-byte value.
According to the description of the function EAX contains lower(not higher) bits of MAC.


Top
   
PostPosted: Sat Apr 21, 2018 5:44 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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


Top
   
PostPosted: Wed Oct 31, 2018 6:26 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 4988
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!

_________________
Через тернии к звездам


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 66 posts ]  Go to page Previous 1 2 3 4 5

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited