[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .oct file
From: |
kullstam |
Subject: |
Re: .oct file |
Date: |
01 Sep 1999 18:48:37 -0400 |
User-agent: |
Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4 |
Bertrand HEYD <address@hidden> writes:
> Hello,
>
> I use a C program using the outb and inb instructions. To compile it, I use
> the -O2 option in gcc. I would like to transform it into a .oct file, but
> mkoctfile refuse to compile it. Is there any examples of .oct files doing
> low level IO?
does this inb/outb stuff work in a regular C program?
> PS I use linux/586
i would think that the inb/outb instructions are kernel exclusives.
you may need to write a module driver for your hardware and figure out
how to talk to it using an int trap.
--
J o h a n K u l l s t a m
address@hidden
Don't Fear the Penguin!
---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL. To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------
- .oct file, Bertrand HEYD, 1999/09/01
- Re: .oct file,
kullstam <=