Mail Archives: djgpp/1995/09/21/21:28:28
COSMOS (l40128 AT alfa DOT ist DOT utl DOT pt) wrote:
: I just got djgpp (the required & recomended zips by the moment) and
: wanted to write some inline asm to check out the 32bit instructions ,
: but i cant figure out how to do it. I was used to inline asm in BC3.1.
: Can someone post a very small example or a ftp or www adress with some
: examples of inline asm in djgpp (v2beta3) ?
Hi Cosmos,
Look at x2ftp.oulu.fi /pub/msdos/programming/djgpp2 . There you will
find three (possibly more, now) libraries for graphics etc under djgpp.
Each of them has examples of both inline and .s (seperate file) assembly.
Be aware that jlib_0-9.zip will be updated in about a week.
Look in the "faq" directory at the same site and you will find the djgpp
game programming faq which has information on using gas. Also look up
gas in the info files that you should have with your distribution. There
is a lot of information there about using the assembler. Above all,
don't be discouraged and don't be afraid to experiment.
Good luck with your projects,
Jon.
- Raw text -