Hi.
I'm currently working on a Python script that is using inpoutx64.dll to perform direct I/O operations on my motherboard's real time clock.
I would like to create a program similar to hwclock (Linux) but for Windows.
I successfully managed to read the real time clock values but I'm having trouble writing to the real time clock's registers.
According to this website:
http://wiki.osdev.org/RTCI must perform a CLI (clear interrupts) and then write to the hardware clock and then do an STI (set interrupts).
But unfortunately this is not possible by default using inpout32 or WinRing0 or tvicport.
Do you think it would be possible to add a CLI and an STI function to either the inpoutx64 or the WinRing0 source code and re-compile it ?
I am using Windows 7 64-bit and I've got a quad-core processor (i7 920)
Can anyone please help me? I know nothing about assembly language or C++ only a little bit of Python. Thank you very much.
And sorry if this was posted in the wrong section