Re: Real mode int from protected mode and back



f000:7250 is inside bios... 000f:7250 is not... right?
Well, if im wrong, then... Interesting... maybe some bios int call
from c file routines...?
DOS c++.. I mean Im compiling the ISR using the old MS-DOS c++ 16 bit
compiler... I really don´t know how to explain it better...

I think my biggest problem here is not understand the whole concept of
DPMI. The first idea was just to make a int call to my ISR, a pure int
call using the registers as parameters... I think it would work ok if
i didnt need to make file manipulations inside my ISR, am i right? The
file routines were not written to protected mode so wouldnt be
compatible...
Well, the workaround was to make the call using DPMI int, what im
doing now. But i dont understand the parameters needed for int 31h
300h... That pointer to a registers structure... Can it be null? Can
I use the stack to pass the parameters to the ISR?
Thanks again...

.



Relevant Pages

  • Re: Why ISR contains no arguments and return type is void
    ... If an interrupt can be caused by 3 causes, A, B, or C then the condition ... In addition, when you write an ISR, ... Check Ralph Brown's INT list. ... > in a register before returning from your ISR. ...
    (sci.electronics.design)
  • Re: Why ISR contains no arguments and return type is void
    ... you may have to check flags while in the ISR to ... You place a value like which sector to read in the ax or eax ... Check Ralph Brown's INT list. ... in a register before returning from your ISR. ...
    (sci.electronics.design)
  • Re: Why ISR contains no arguments and return type is void
    ... In addition, when you write an ISR, you ... 99.97% of the 8086's) of a software "interrupt" or break ... Check Ralph Brown's INT list. ... >in a register before returning from your ISR. ...
    (sci.electronics.design)
  • Re: Making a function safe for use in an ISR
    ... int iterative_factorial{ ... function unsafe to use in an ISR? ... Look at code-generation strategies for compilers on 'baby ... be reentrant on a 'big' CPU but (unless the compiler-writers have been ...
    (comp.arch.embedded)
  • Re: Making a function safe for use in an ISR
    ... This function can not be a stand-alone ISR (with register save ... If this is supposed to be standard C, then int can not be 8 bits. ... Floating point instructions should be avoided even if the instruction ... the FPU stack is used as MMX data registers ...
    (comp.arch.embedded)