On Thu, 10 Oct 2019 15:53:57 UTC, Johann 'Myrkraverk' Oskarsson
<joh...@myrkraverk.invalid> wrote:
Hi Johann,
> OpenWatcom has several different interrupt routines, namely
> int386
> int386x
> int86
> int86x
> intdos
> intdosx
> intr
> intrf
>
> and others. The C Library Reference doesn't include any hint on when I
> should choose one function over another.
You need to choose the one that matches the bitness of the interrupt
function you are calling. For 16-bit code, use the intdos*()
function. For 32-bit code, use the int386*() functions.
intr() defines the parameters so that it can be used for either 16 or
32-bit routines.
I'm not familiar with intrf(). Perhaps it's something Jiri invented
or it is Fortran specific. I can't tell from what I can see.
> If context matters, then for now I'm mostly interested in the int 33
> mouse functions.
My memory says these are all 16-bit functions.
Steven
--
---------------------------------------------------------------------
Steven Levine <
ste...@earthlink.bogus.net>
DIY/ArcaOS/Warp etc.
www.scoug.com www.arcanoae.com www.warpcave.com
---------------------------------------------------------------------