Re: asm.e questions

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Tue, 19 Oct 1999 23:51:55 +1000, Nick Metcalfe
<metcalfn at ALPHALINK.COM.AU> wrote:

>> I would like to access INT #21 for dos file operations and
>> wish to do so from within an assembly routine, not using the
>> dos_interrupt() function.  Are there any special procedures that must be
>> undertaken with regards to the Causeway extender to do this?  It is to
>> be accessed from an interrupt service routine.


Nick

I don't know what you mean by not using the dos interrupt because
int 21 is the dos interrupt?

If you mean to call real mode from protected mode you can use causeway
interrupt 31 FF01 ( INTXX ) or FF02 ( FARCALLREAL ). See Ralph Brown's
intterupt list for details. You may be interested in looking at
Jacques Deschenes doswrap.e that has code for block reads and writes.
Jacques Deschenes also has a file for cdaudio that uses real mode calls
in the the RMCALL.E. Jacques has alot of good code in the archive.

Also his code may give you ideas about using the segments.

PS Have you ever considered writing a TSR or Driver that you load and
   call from Euphoria with software interrupts.

Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu