Clock in KayOS




Clock in KayOS

Postby Mixony » 13. Apr 2017, 09:14

When I opened KayOS I saw clock files. Can you Explain what is it and maybe do a short text explanation about what which line does.
Mixony
 
Posts: 24
Joined: 12. Mar 2017, 08:18

by Advertising » 13. Apr 2017, 09:14

Advertising
 

Re: Clock in KayOS

Postby algorithman » 13. Apr 2017, 12:53

well it just reads the data from the system clock on the mainboard ;)
it does that on timer interrupts.
and for a while I had it print the time to the screen, so I had a textmode-clock. But it conflicted with the textmode mouse pointer...
if I moved the mouse pointer over it and waited, it would overwrite the mousepointer in the next iteration (so it was "gone") and since the mousepointer always inverted the current color, moving it away then made the digit black-on-white until the next iteration :D
User avatar
algorithman
Administrator
 
Posts: 49
Joined: 2. Mar 2017, 11:40

Re: Clock in KayOS

Postby Mixony » 13. Apr 2017, 14:23

Thanks.
When I ran KayOS I didn't see clock anywhere so I thought It was 16-bit mode only or something like that and that it didn't work.
Mixony
 
Posts: 24
Joined: 12. Mar 2017, 08:18


Return to General Discussion

Who is online

No registered users

cron