Alan Cox wrote:

> > one more thing: the `date.c' does nothing about setting the date.  can we
> > use anything else than BIOS calls to do that?
>
> If the machine has a CMOS clock (note XT's dont generally have this) you can
> do it in userspace by hitting the I/O ports. Its not really worth putting
> in kernel on such a small box.
>
> Alan

could you be more specific? I haven't got much docs by the hand here.
also, I'm trying to use local variables from embedded assembler code in bcc,
but I'm experiencing some problems...

I was thinking about using interrupt 0x1A, service #1, which according to my
info (http://www.datasource.de/tabell15.htm) can be used for setting the system

clock.

but, as I said before, I don't manage.

can anyone help?
Mario.



Reply via email to