Someone on the forum is trying to write a driver for some onboard GPIO
that needs to be enabled via an INT 15. The sample assembler is:

MOV AX, 6F08H        Sets the digital port as input
INT 15H                     Initiates the INT 15H

Is it reasonable/legitimate to do this with inline assembler in a .comp file?

Having never tried to use inline assembler, what would it look like? I
guess we need to put ax back to where it was afterwards?

Is there  a linux system call to achieve the same result?

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to