home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / programm / 4860 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.0 KB  |  24 lines

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