flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Updated PCIDev

Goto page Previous  1, 2
Author
Thread Post new topic This topic is locked: you cannot edit posts or make replies.
JMD



Joined: 24 Sep 2003
Posts: 32
JMD
Ok good glad to hear 1.31 is working good.

I forced vendor name to always be Lucent in previous versions and I noticed in the previous versions it worked sometimes but not all of the time and i think what happened is that the compare instructions in the look up code wasnt formatted properly...

this is what it was....

"cmp [PCI_Vendor],4800"

and was changed to....

"cmp ax,4800"

only thing i could think of is the compiler was treating the value located at the address [PCI_Vendor] as a dword rather then a word value since i forgot to specify the data type, and when something happened to be in the neiboring varibles it would throw off the compare instruction. After changing the program and loading AX with the value defined as a word located at [PCI_Vendor] then using AX in all compare instructions i could not get it to fail again. but if i followed the rules earlier on, ax should have always been used as it does in 1.31 and that problem could have been overted.

JMD
Post 16 May 2006, 20:34
View user's profile Send private message Reply with quote
Wildwest



Joined: 13 Sep 2004
Posts: 100
Location: Russia
Wildwest
JMD, many guys at ru-forum reported about new devices. You made really great fix.
Post 23 May 2006, 18:04
View user's profile Send private message Reply with quote
Wildwest



Joined: 13 Sep 2004
Posts: 100
Location: Russia
Wildwest
Some features for next versions are:
- vendor's website
- usage of Interface byte for more precise detection (like ability to distinguish USB1 and USB2 devices)
- more vendors
- device IRQ

Full device detection (like "ATI Radeon 9200") will increase app size a lot and probably it is driver's function...
Post 18 Jun 2006, 19:17
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic This topic is locked: you cannot edit posts or make replies.

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.