Re: to make soft interrupt with AX registers in linux?
- From: David Schwartz <davids@xxxxxxxxxxxxx>
- Date: Wed, 18 Jul 2007 05:39:07 -0700
On Jul 17, 5:55 am, "google-rambo88" <ramb...@xxxxxxxxx> wrote:
Hi.
I'd like to know to send to printer port, I did like this on DOS...
I used to use int86 () function to make soft interrupt...
I'd like to know how to make soft interrupt with AX registers in linux?
But this kind of using is it possible in linux ?
sendcharToPrinter ( char ch )
{
union REGS printer;
printer.h.ah = 0;
printer.h.al = ch;
printer.x.dx = 0x378
int86( 0x17, &printer, &printer );
}
Thanks..
No, it doesn't work like that on any UNIX-like operating system.
Sorry.
DS
.
- References:
- to make soft interrupt with AX registers in linux?
- From: google-rambo88
- to make soft interrupt with AX registers in linux?
- Prev by Date: How to set timezone
- Next by Date: Re: How to set timezone
- Previous by thread: Re: to make soft interrupt with AX registers in linux?
- Next by thread: Re: to make soft interrupt with AX registers in linux?
- Index(es):
Relevant Pages
|