home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!gate.fzi.de!fzi.uka.de!auhl
- From: auhl@fzi.uka.de (Axel Uhl)
- Subject: Inline assembler code with GNU GCC
- Message-ID: <1992Sep10.121235.1891@fzi.de>
- Keywords: GNU C++, assembler, inline
- Sender: news@fzi.de (FZI-news)
- Reply-To: fzi.de
- Organization: Forschungszentrum Informatik (FZI), Karlsruhe, Germany
- Date: Thu, 10 Sep 1992 12:12:35 GMT
- Lines: 11
-
- Hi there,
- last week I tried to port an editor from DOS to OS/2. I got the following
- problem: since the editor used the DOS mouse interface, which is accessible
- through an interrupt call, I used inline assembler statements in the DOS C code.
- When trying to compile this file with GCC, I got several error messages.
- So, how can I in general use inline assembler statements when using GCC ?
- And further, will the mouse interface still be accessible through that old
- interrupt under OS/2, or will I have to reprogram the whole thing with
- PM-calls?
- Any hints will be appreciated.
- Axel (auhl@fzi.de)
-