Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1664 | pj | 1 | PING PONG |
2 | ============== |
||
3 | AUTHORS : Kabilan Sukumar |
||
4 | Rajenish Kumar Jain |
||
5 | Deepaknath T K |
||
6 | |||
7 | Project work for shark part of the Operating Systems Course. |
||
8 | |||
9 | Changes made: |
||
10 | ============== |
||
11 | 1. A new function , BYTE getKeyFlag(void) ,added into the file /drivers/char/keyb.c. This returns the keyFlag which stores the scan code to the key pressed. This was used to make the movement of the bat smooth. Normal use of keys did not work because the interrupt rate was not adjustable. |
||
12 | |||
13 | 2. The function was added into the include file /include/drivers/keyb.h |
||
14 | |||
15 | Instructions: |
||
16 | ============== |
||
17 | 1. Copy the file Keyb.c to /drivers/char/ |
||
18 | 2. Copy the file keyb.h to /include/drivers/ |
||
19 | 3. Recompile the kernel by typing MAKE in c:/shark. |
||
20 | 4. Copy the the folder pingpong_proj to c:/shark/demos. |
||
21 | 5. Type MAKE to compile the proj. |
||
22 | 6. Type X demo to run the game. Then follow the instructions given. |
||
23 | 7. ENJOY the GAME. |
||
24 | |||
25 | |||
26 |