From: Darryl Gates Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie Question Message-ID: References: <3A8FEFB7 DOT C2603B36 AT prodigy DOT net> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 19 Date: Mon, 26 Feb 2001 09:00:55 GMT NNTP-Posting-Host: 24.65.238.3 X-Complaints-To: abuse AT home DOT net X-Trace: news1.rdc1.ab.home.com 983178055 24.65.238.3 (Mon, 26 Feb 2001 01:00:55 PST) NNTP-Posting-Date: Mon, 26 Feb 2001 01:00:55 PST Organization: Excite AT Home - The Leader in Broadband http://home.com/faster To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 18 Feb 2001 10:52:24 -0500, Sopola wrote: >__asm ("mov ah, 00h"); >__asm ("mov al, 02h"); >__asm ("int 10h"); > You can get the same thing done without inline asm. #include { __dpmi_regs registers; registers.x.ax = 0x0002; __dpmi_int(0x10,®isters); }