Perhaps because it is quite easy to read/write to i/o of an ISA card...

I am here talking of the easiest way, without making a driver, when you just 
have to read/write some registers of a specific hardware directly in your 
application:

First you must let your application to access to the addresses required with
        ioperm( start_adress, lenght, 1 );
OR
        iopl(3);

Secondly, to read :

value = inb( address );

and to write :

outb( value, address);


Voilà !


>>> mani bhatti <[EMAIL PROTECTED]> 24.01 18:04 >>>
Hi all
If any one can please tell me some sources about ISA  interfacing and 
programming i would be very thankful because there are only few resources and 
the resources which are available are not very helpful and friendly 
written,Some simple examples would be really helpful.Thanks.

 
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.


_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to