Re: Bios interrupts

From: Richard B. Johnson (
Date: Tue Jan 21 2003 - 14:01:14 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 .

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.

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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:27 EST