delorie.com/archives/browse.cgi | search |
From: | Darryl Gates <gatesj AT REMOVEcpsc DOT ucalgary DOT ca> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Newbie Question |
Message-ID: | <st6k9ts4138oq3599kqb5q9962cdgo5vph@4ax.com> |
References: | <3A8FEFB7 DOT C2603B36 AT prodigy DOT net> |
X-Newsreader: | Forte Agent 1.8/32.548 |
MIME-Version: | 1.0 |
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 <furnata AT prodigy DOT net> wrote: >__asm ("mov ah, 00h"); >__asm ("mov al, 02h"); >__asm ("int 10h"); > You can get the same thing done without inline asm. #include<dpmi.h> { __dpmi_regs registers; registers.x.ax = 0x0002; __dpmi_int(0x10,®isters); }
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |