It sounds like he is trying to adopt some MSDOS code into LinuxCNC?? That looks like MSDOS assembler to initiate a soft interrupt.
>>http://en.wikipedia.org/wiki/INT_%28x86_instruction%29 Assembler .. yep I remember doing some of that on 6800 Micros.. Very tedious. Dave On 1/14/2014 6:34 AM, andy pugh wrote: > 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? > ------------------------------------------------------------------------------ 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
