* BIOS interrupts
[not found] <Pine.LNX.4.43L.0204020016480.2876-100000@alpha.linuxassembly.org>
@ 2002-04-18 7:40 ` Wilson Fletcher
2002-04-18 8:06 ` Jani Monoses
2002-04-18 11:49 ` Rudolf Marek
0 siblings, 2 replies; 5+ messages in thread
From: Wilson Fletcher @ 2002-04-18 7:40 UTC (permalink / raw)
To: linux-assembly
Can someone point me to some references re: how to call BIOS interrupts
in Linux ?
I don't want 1000 messages telling me it can't be done. I know that
Linux doesn't support the bios interrupts as it stands.
Specifically 15h on a Toshiba laptop ( if your interested :-) )
Thanks,
Wilson Fletcher
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BIOS interrupts
2002-04-18 7:40 ` BIOS interrupts Wilson Fletcher
@ 2002-04-18 8:06 ` Jani Monoses
2002-04-18 11:49 ` Rudolf Marek
1 sibling, 0 replies; 5+ messages in thread
From: Jani Monoses @ 2002-04-18 8:06 UTC (permalink / raw)
To: Wilson Fletcher; +Cc: linux-assembly
Look at how XFree86 calls int10.I think sys_vm86 (or something named like
that)
On Thu, 18 Apr 2002, Wilson Fletcher wrote:
>
> Can someone point me to some references re: how to call BIOS interrupts
> in Linux ?
>
> I don't want 1000 messages telling me it can't be done. I know that
> Linux doesn't support the bios interrupts as it stands.
>
> Specifically 15h on a Toshiba laptop ( if your interested :-) )
>
> Thanks,
>
> Wilson Fletcher
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BIOS interrupts
2002-04-18 7:40 ` BIOS interrupts Wilson Fletcher
2002-04-18 8:06 ` Jani Monoses
@ 2002-04-18 11:49 ` Rudolf Marek
1 sibling, 0 replies; 5+ messages in thread
From: Rudolf Marek @ 2002-04-18 11:49 UTC (permalink / raw)
To: Wilson Fletcher; +Cc: linux-assembly
Hello,
As I already wrote here. In SVGAlib is a subdir called lrmi - Linux Real
Mode Interface.
it has servicess to call ints. & map ROM.
Regards
Rudolf
On Thu, 18 Apr 2002, Wilson Fletcher wrote:
> Date: Thu, 18 Apr 2002 07:40:13 +0000
> From: Wilson Fletcher <mgpl1@zeta.org.au>
> To: linux-assembly@vger.kernel.org
> Subject: BIOS interrupts
>
>
> Can someone point me to some references re: how to call BIOS interrupts
> in Linux ?
>
> I don't want 1000 messages telling me it can't be done. I know that
> Linux doesn't support the bios interrupts as it stands.
>
> Specifically 15h on a Toshiba laptop ( if your interested :-) )
>
> Thanks,
>
> Wilson Fletcher
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Bios interrupts
@ 2003-01-21 18:42 Electroniks New
2003-01-21 19:01 ` Richard B. Johnson
0 siblings, 1 reply; 5+ messages in thread
From: Electroniks New @ 2003-01-21 18:42 UTC (permalink / raw)
To: linux-kernel
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 .
If not how do they differ ? The article was named
Enabling the A20 line.
(never mind the article).
It somewhere says enable .
Any idea where can i change into AT&T syntax.It is
in Intel syntax.
Any idea of sleep instruction in assembly. I tried
but couldn't find .
I tried a couple of jmps but it never slows down
.How to make the pc sleep
(asm instruction for sleep (CPU idle).I put 16000
jmps loops but didn't
slow down a bit .
4) If possible please explain how to use keyboard in
a similar manner.
(If time permits then simple mouse code).
5)I don't understand the keyboard interrupts 0x64 ,
mouse 0x33 and in some
sites i see the keyboard controllers as 0x64
where as in some sites the
code contains 0x10.So what should i use in my
program.
6) Is there any documentation for these ports to
read and write data.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bios interrupts
2003-01-21 18:42 Bios interrupts Electroniks New
@ 2003-01-21 19:01 ` Richard B. Johnson
0 siblings, 0 replies; 5+ messages in thread
From: Richard B. Johnson @ 2003-01-21 19:01 UTC (permalink / raw)
To: Electroniks New; +Cc: linux-kernel
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-01-21 18:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.43L.0204020016480.2876-100000@alpha.linuxassembly.org>
2002-04-18 7:40 ` BIOS interrupts Wilson Fletcher
2002-04-18 8:06 ` Jani Monoses
2002-04-18 11:49 ` Rudolf Marek
2003-01-21 18:42 Bios interrupts Electroniks New
2003-01-21 19:01 ` Richard B. Johnson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.