summaryrefslogtreecommitdiff
path: root/asm/int_clock_handler.asm
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-27 01:44:25 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-27 01:44:25 +0100
commite7b9569041521da7e0b67c30af7179c0af1e3738 (patch)
tree4b7d596414afd96df0826f24e750c1defa14167b /asm/int_clock_handler.asm
parent0e402637492f34a4d0e1302fbe34344e19bc4813 (diff)
struggling with new multitasking
Diffstat (limited to 'asm/int_clock_handler.asm')
-rw-r--r--asm/int_clock_handler.asm5
1 files changed, 1 insertions, 4 deletions
diff --git a/asm/int_clock_handler.asm b/asm/int_clock_handler.asm
index c6c91fc..7e55067 100644
--- a/asm/int_clock_handler.asm
+++ b/asm/int_clock_handler.asm
@@ -1,8 +1,6 @@
global int_clock_handler
[extern task_switch_next]
-;CLOCK_COUNTER:
-; db 0x00
[bits 32]
int_clock_handler:
@@ -20,8 +18,8 @@ int_clock_handler:
; mov byte [CLOCK_COUNTER], 0x00
pusha ;Push all standard registers
- push esp ;Push pointer to all the stuff we just pushed
+ push esp ;Push pointer to all the stuff we just pushed
call task_switch_next ;Call C code
;pop ebx
@@ -30,7 +28,6 @@ pusha ;Push all standard registers
;cmp eax,ebx
;jne compare
-
mov esp, eax ;Replace the stack with what the C code gave us