Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1152 | giacomo | 1 | -------------------------------------- |
2 | Advanced Timer Demo |
||
3 | |||
4 | by |
||
5 | |||
6 | Giacomo Guidi <giacomo@gandalf.sssup.it> |
||
7 | |||
8 | Last update 23/04/2003 |
||
9 | -------------------------------------- |
||
10 | |||
11 | This demo shows the new timer management |
||
12 | code of S.Ha.R.K. |
||
13 | |||
14 | -------------------------------------- |
||
15 | |||
16 | The demo is composed by: |
||
17 | |||
18 | MAKEFILE The makefile used to compile the application |
||
19 | README.TXT This file |
||
20 | INITFILE.C The init file |
||
21 | ADVTIMER.C The Advanced Timer Demo |
||
22 | |||
23 | -------------------------------------- |
||
24 | |||
25 | To change the timer mode, you have to |
||
26 | modify two global variable in: |
||
27 | |||
28 | oslib/kl/advtimer.c |
||
29 | |||
30 | use_tsc (BOOL) |
||
31 | use_cmos (BOOL) |
||
32 | |||
33 | and to recompile. |
||
34 | |||
35 | The default setting is |
||
36 | |||
37 | use_tsc = 1; |
||
38 | use_cmos = 0; |
||
39 |