Getting Real-Clock Time
Posted: Mon Mar 24, 2008 3:44 am
Hey,
Love your tutorials, definately useful in gaining knowledge in ASM and how the internal cogs of modern PC's work (Computing class in college only goes so far)
However, i want to be able to make a timer, and my kernel to sleep for a few seconds when loading (So you see my load screen rather than it flash off
)
I have tried the following in my kernel Main() function (just to test it), and it resets bochs.
Love your tutorials, definately useful in gaining knowledge in ASM and how the internal cogs of modern PC's work (Computing class in college only goes so far)
However, i want to be able to make a timer, and my kernel to sleep for a few seconds when loading (So you see my load screen rather than it flash off

I have tried the following in my kernel Main() function (just to test it), and it resets bochs.
Code: Select all
__asm
{
mov ah,00h
int 1Ah
}
Is there a better way to make a timer/sleep method, or is this the right way just not working properly? :D