Rev 21 | Rev 26 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 21 | Rev 22 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | mov [edi+gdts+ tss0 +5], word 01010000b *256 +11101001b |
16 | mov [edi+gdts+ tss0 +5], word 01010000b *256 +11101001b |
Line 17... | Line 17... | ||
17 | 17 | ||
Line 18... | Line 18... | ||
18 | inc dword [timer_ticks] |
18 | inc dword [timer_ticks] |
- | 19 | ||
- | 20 | mov eax, [timer_ticks] |
|
19 | 21 | call playNote ; <<<--- Speaker driver |
|
20 | mov eax, [timer_ticks] |
22 | |
21 | cmp eax,[next_usage_update] |
23 | cmp eax,[next_usage_update] |
22 | jb .nocounter |
24 | jb .nocounter |
23 | add eax,100 |
25 | add eax,100 |
24 | mov [next_usage_update],eax |
26 | mov [next_usage_update],eax |
Line 25... | Line -... | ||
25 | call updatecputimes |
- | |
26 | .nocounter: |
- | |
27 | 27 | call updatecputimes |
|
Line 28... | Line 28... | ||
28 | call playNote ; <<<--- Speaker driver |
28 | .nocounter: |
29 | 29 | ||
30 | mov edi, [0x3010] |
30 | mov edi, [0x3010] |