From: Martin Str|mberg Subject: Re: Intel Assembly and DJGPP? Newsgroups: comp.os.msdos.djgpp References: User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) Message-ID: <1027656919.97433@queeg.ludd.luth.se> Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: 26 Jul 2002 04:15:19 GMT Lines: 18 NNTP-Posting-Date: 26 Jul 2002 04:15:19 GMT NNTP-Posting-Host: queeg.ludd.luth.se X-Trace: 1027656919 news.luth.se 442 130.240.16.109 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Tim AtLee wrote: : I'm not really familiar with Intel assembly.. and I suppose that this group So be happy that you have gas with AT&T assembly then! : isn't exactly the right place to be posting.. I've been trying to read the : serail number off the HD, and from what I've read, calling a function in int : 21 is the "best" way to do it.. some of the other examples I've tried have : been Windows-only, which doesn't do a lot of good on a 386 :-) Well, with DJGPP you must use __dpmi_int() (no need for assembly at all really) to call any real mode interrupts. For the exact register setup I recommend Ralf Brown's interrupt list. Right, MartinS