Hi 2 all. So, for example i want to work with LPT directly, and set DATA 0,1,2,etc pins to 1 or 0 directly from code. for x86 under dos/linux i can to use in/out mnemonics (at&t syntax):
movw $0x37a,%dx // 37a = lpt1
inb (%dx),%al // read control bytes
orb $1,%al // set some state
outw %ax,(%dx) // put to port directly
Well, how i can do it this under aos, from C/ASM ?
thanks