From: Matthew Mastracci Newsgroups: comp.os.msdos.djgpp Subject: NASM guide Date: Tue, 18 Feb 1997 13:30:19 -0700 Organization: The University of Calgary Lines: 34 Message-ID: NNTP-Posting-Host: mmastrac AT acs2 DOT acs DOT ucalgary DOT ca Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I've written a fairly in-depth guide to using NASM with DJGPP (as a contribution to the DJGPP book project). I'd like to take the opportunity to have people (experts and novices) look at it and hopefully respond with some feedback. You can get it from my site (latest revision): http://www.ucalgary.ca/~mmastrac/djgppasm.doc or from the DJGPP book project site (usually the same revision): http://www2.ari.net/flyboy/ I recommend visiting the book project site in any case- you'll find some great info on other aspects of DJGPP and PM programming. If you're wondering, the document covers: Calling real-mode interrupts Setting up C and assembly-language PM interrupts Accessing real-mode memory (with DJGPP and NASM) NASM's syntax (getting used the TASM/MASM -> NASM transition) Importing/exporting symbols with NASM Calling library functions/creating callable functions with NASM Complex structures in NASM Using strings with NASM At some point, I'll add some text describing real-mode callback functions as well. /\/\att /\/\astracci mmastrac AT acs DOT ucalgary DOT ca GCS/GE d- s+:+ a--- C++++ UA P+ L E-- W+ N++ o K+ w+ O M- V PS++ PE++ Y+ PGP t+++ 5+++ X++ R++ tv+ b+++ DI++++ I G++ e h r* z?