|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Hi
Hi. I thought the other gurus will answer this, but since no one has answered, here goes... the int386 fn. is for calling an interrupt. Interrupt calling is only valid in REAL mode. pmode interrupts are a different story all together. However in REAL mode, as the syntax says: int386(REGS in, REGS out, intno); the first REGS var. "in", holds the input values of registers. Using this u can set the values of the CPU registers before calling an interrupt. The ISR will use these values and do whatever func. is specified by them. Generally register AX holds the function to be executed, and BX holds the sub-function, if present. The "out" variable, is used to store the values of the CPU registers after the ISR has finished. the ISR may use the CPU registers to return any status info or some pointers, or anything. hope this helps... btw, in case u dont know... ISR=Interrupt Service Routine. It is the function assigned to an Interrupt (software or hardware). Nikhil. --- Christopher Mathis <tucdemonic1@netzero.net> wrote: > maybe no one knows the answer did you ever think of > that one??? i certainly > dont and if you mail once and dont recive a respoce > you might not get one... > sorry... > > Chris > ----- Original Message ----- > From: "663" <663@fast.edu.pk> > To: <gameprogrammer@gameprogrammer.com> > Sent: Wednesday, April 05, 2000 1:04 AM > Subject: Hi > > > > Hello there this is my second mail and you guys > don't respond the first > > please i need the answer. > > > > "How will you use int386(REGS, REGS, int_no) in > bc5.0 can you give > > me a sample code" > > > ================================================================= > > The GameProgrammer.Com mailing list is for the > open discussion > > of any topic related to the art, science, and > business of > > programming games. This list is especially > tolerant of beginners. > > We were all beginners once > > > > To SUBSCRIBE or UNSUBSCRIBE please visit: > > http://gameprogrammer.com/mailinglist.html > > > > _____________________________________________ > NetZero - Defenders of the Free World > Click here for FREE Internet Access and Email > http://www.netzero.net/download/index.html > ================================================================= > The GameProgrammer.Com mailing list is for the open > discussion > of any topic related to the art, science, and > business of > programming games. This list is especially tolerant > of beginners. > We were all beginners once > > To SUBSCRIBE or UNSUBSCRIBE please visit: > http://gameprogrammer.com/mailinglist.html > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCRIBE please visit: http://gameprogrammer.com/mailinglist.html
|
|