Re: Bios interrupts

Richard B. Johnson (root@chaos.analogic.com)
Tue, 21 Jan 2003 14:01:14 -0500 (EST)


On Tue, 21 Jan 2003, Electroniks New wrote:

> Hi,
> 1) i don't exactly understand the ports (Bios data).
> I also understand that linux does override the bios
> functions so that more functionality is acheived.
>
> 2) Can you send the standard ports for use and i may
> later use inb and
> oub on those ports for data exchange.
>
> 3) Also what does jmp short $+2 instruction do ?How
> can i change it into AT&T syntax or inline assembly
> ? Also what does instruction "in al,64h" do .
> I found these on the net.They are dos code i
> assume. Is "in" same as mov .
[SNIPPED...]

Linux is an operating system that does all that stuff for you.
In fact, it prevents user code from touching hardware ar all.
If you learn the Unix/Posix stuff, you will never have to play
with assembly language again.

Linux operates all of the standard PC hardware in a standard
way that allows programs to use open()/close()/read()/write()/
and ioctl() to "talk" to hardware in a standard high-efficiency
way. If you have additional hardware that Linux doesn't "know"
about, then you can write a device-driver (module) for it.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/