Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
dukedevon
Posts: 21 Joined: Thu Jul 08, 2010 10:02 am
Location: Karlsruhe, Germany
Contact:
Post
by dukedevon » Mon Jul 19, 2010 8:13 am
I followed James Molloys tutorial to this point:
http://www.jamesmolloy.co.uk/tutorial_h ... 20PIT.html .
Now I am stuck with the PIT. If i issue
Code: Select all
__asm__ __volatile__("int $0x20");
in the kernel, the system prints
as it is supposed to be, but I should get constant output of the tick value.
Is Bochs PIT broken or am I doing something wrong?
Thanks in advance
duke.devon
Last edited by
dukedevon on Mon Jul 19, 2010 8:41 am, edited 1 time in total.
FlExOS --- Stay tuned
cyr1x
Member
Posts: 207 Joined: Tue Aug 21, 2007 1:41 am
Location: Germany
Post
by cyr1x » Mon Jul 19, 2010 8:29 am
Maybe you missed to enable the interrupts.
Owen
Member
Posts: 1700 Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:
Post
by Owen » Mon Jul 19, 2010 8:30 am
Bochs' PIT is definitely not broken
dukedevon
Posts: 21 Joined: Thu Jul 08, 2010 10:02 am
Location: Karlsruhe, Germany
Contact:
Post
by dukedevon » Mon Jul 19, 2010 8:41 am
cyr1x wrote: Maybe you missed to enable the interrupts.
Shame on me...
That fixed the problem.
I feel kinda dumb after that
FlExOS --- Stay tuned