www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/22/15:01:34

Xref: news2.mv.net comp.os.msdos.djgpp:6271
From: Luke Steele <luke AT jaglogic DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Inline assembly and DMA transfers.
Date: Mon, 22 Jul 1996 17:07:19 GMT
Organization: INTERact BBS UK (01753) 775533
Lines: 17
Message-ID: <DuyHz5.DtH@ftp.jags.co.uk>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
	I'm planning to write some code that will require inline assembly.
However, I have been unable to work out how to do this - specifically,
how do I indicate to the compiler that the code is assembly, in the
way that the 'asm' statement does in Borland C?  I've read the FAQ in
some detail, and the online documentation as well, but these only
illustrate the syntax of the assembly, and not how to place it inline
with the C code.  
	Also, I'm planning to do a DMA transfer.  I've performed DMA transfers
in real mode before with no problem, but are there any special
considerations when making a transfer in protected mode?
	Any help is appreciated.  Thanks!
--
Luke Steele
(luke AT jaglogic DOT demon DOT co DOT uk)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019