int86 function...

O

os2

hi

with turbo c, it exist a function name int86 whick triggers the serial interrupt.

i search the same function under linux

any idea?

thanks
 
F

Flash Gordon

On 30 Nov 2004 11:59:49 -0800
with turbo c, it exist a function name int86 whick triggers the serial
interrupt.

i search the same function under linux
any idea?

One very good idea. Ask on a group where this is topical. C does not
support interrupt handling and it does not support serial interfaces.

On systems where the serial ports can be accessed as files you can do
some stuff using standard C functions, but you would still be best
asking about that on a Linux group.

<OT>
I think it unlikely that Linux will allow you to do what you want, you
will probably need another solution which would be best discussed on a
Linux group.
</OT>
 
L

Lew Pitcher

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi

with turbo c, it exist a function name int86 whick triggers the serial interrupt.

i search the same function under linux

any idea?

Several

1st: there is no int86() function in C. Your question is off-topic for
this newsgroup

2nd: there is no exact same function, nor is there an exact equivalent
in Linux. You should ask in one of the comp.os.linux newsgroups,
but they are likely to tell you that the vm86() syscall (an
extension to the C environment) is the closest you'll get to
int86(). You certainly can't invoke BIOS or BDOS functions natively
in Linux.

- --

Lew Pitcher, IT Consultant, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFBrNVeagVFX4UWr64RAnv9AKDIRwoK/BUxMTIMPw0k06j612CPUwCgraJ4
gOLhPMWIu+4WEAcW0bemgDQ=
=2KHX
-----END PGP SIGNATURE-----
 
D

Default User

os2 said:
hi

with turbo c, it exist a function name int86 whick triggers the
serial interrupt.

i search the same function under linux

any idea?


Yes, try a Linux newsgroup.



Brian
 
R

Richard Bos

Default User said:
Yes, try a Linux newsgroup.

Even better: rethink the whole idea, decide what you actually want to do
rather than which low-level features you used to employ to do it, _then_
try a Linux newsgroup.

Richard
 
E

E. Robert Tisdale

os2 said:
with turbo c, it exist a function name int86 which triggers the serial interrupt.

I search the same function under linux

any idea?

Linux won't let you do this.
 
L

Lawrence Kirby

hi

with turbo c, it exist a function name int86 whick triggers the serial interrupt.

i search the same function under linux

any idea?

thanks

If you want to control/configure serial ports Linux supports the POSIX
Termios API. A good place to discuss POSIX is comp.unix.programmer, the C
language itself has no concept of serial ports.

Lawrence
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,404
Latest member
PerryRutt

Latest Threads

Top