www.delorie.com/archives/browse.cgi | search |
From: | werewolf AT stad DOT dsl DOT nl (Shadow Seeker) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: interupts |
Date: | Sat, 15 May 1999 14:22:28 GMT |
Organization: | Shimmer Zone |
Lines: | 24 |
Message-ID: | <373c0b9e.724793@news.tudelft.nl> |
References: | <373B6290 DOT 45BB AT bellsouth DOT net> |
NNTP-Posting-Host: | willow.akira.tudelft.nl |
X-Trace: | news.tudelft.nl 926778009 20563 130.161.60.189 (15 May 1999 14:20:09 GMT) |
X-Complaints-To: | usenet AT news DOT tudelft DOT nl |
NNTP-Posting-Date: | 15 May 1999 14:20:09 GMT |
X-Newsreader: | Forte Free Agent 1.11/32.235 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Thu, 13 May 1999 19:38:56 -0400, seth <sethpark AT bellsouth DOT net> wrote: >How do you do interupts in DJGPP.... >I tried but it gave me an error.. >how would this look if it was for DJGPP > mov ah, 00h > mov al, 13h > int 10h Try this thingy { __dpmi_regs regs; regs.x.ax = 0x0013; __dpmi_int(0x10, ®s); } Dont forget to #include <dpmi.h>... ShadSek
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |