Rev 618 | Rev 641 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 618 | Rev 621 | ||
---|---|---|---|
Line 53... | Line 53... | ||
53 | ;; |
53 | ;; |
54 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
54 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 55... | Line 55... | ||
55 | 55 | ||
Line 56... | Line 56... | ||
56 | include 'macros.inc' |
56 | include 'macros.inc' |
Line 57... | Line 57... | ||
57 | 57 | ||
Line 58... | Line 58... | ||
58 | $Revision: 618 $ |
58 | $Revision: 621 $ |
Line 2269... | Line 2269... | ||
2269 | jnz .set_pointer_position |
2269 | jnz .set_pointer_position |
2270 | mov [mouse_delay],ecx |
2270 | mov [mouse_delay],ecx |
2271 | ret |
2271 | ret |
2272 | .set_pointer_position: |
2272 | .set_pointer_position: |
2273 | cmp ebx,4 ; set mouse pointer position |
2273 | cmp ebx,4 ; set mouse pointer position |
2274 | jnz .end |
2274 | jnz .set_mouse_button |
2275 | mov [MOUSE_Y],cx ;y |
2275 | mov [MOUSE_Y],cx ;y |
2276 | ror ecx,16 |
2276 | ror ecx,16 |
2277 | mov [MOUSE_X],cx ;x |
2277 | mov [MOUSE_X],cx ;x |
2278 | rol ecx,16 |
2278 | rol ecx,16 |
- | 2279 | ret |
|
- | 2280 | .set_mouse_button: |
|
- | 2281 | cmp ebx,5 ; set mouse button features |
|
- | 2282 | jnz .end |
|
- | 2283 | mov [BTN_DOWN],cl |
|
- | 2284 | mov [mouse_active],1 |
|
2279 | .end: |
2285 | .end: |
2280 | ret |
2286 | ret |
Line 2281... | Line 2287... | ||
2281 | 2287 | ||
2282 | sysfn_getfreemem: |
2288 | sysfn_getfreemem: |