[comp.os.minix] BIOS calls from within 1.3

sjr87@ecs.soton.ac.uk (Simon Roberts) (02/05/91)

Apologies if this has turned up once already, but I posted a week ago
and have received no replies whatsoever, thus I assume the original
posting did not arrive.

I wish to call int 0x10 from within MINIX. How can this be achieved? I
know that MINIX masks out such interrupts and then substitutes them
with it's own handlers, but I need to make explicit use of the BIOS in
this particular case. I have noticed in my klib88.s in 1.3 that there
is a call to int 0x15 which is achieved by making what is described as
a 'far' call to the BIOS.. can anyone explain how one might do this?
.. the code itself is pretty incomprehensible.

Thanks in advance of any help!!

Regards,

Simon Roberts

sjr87@ecs.soton.ac.uk [ + nsfnet-relay.ac.uk if needs be..]

jai@lab.ultra.nyu.edu (Benchiao Jai) (02/07/91)

Just modify the main.c of kernel, don't let it change the original
vector(s) which you want to use.

Benchiao Jai
jai@cs.nyu.edu