Rev 6585 | Rev 6800 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6585 | Rev 6593 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | format binary as "mnt" |
69 | format binary as "mnt" |
Line 70... | Line 70... | ||
70 | 70 | ||
71 | include 'macros.inc' |
71 | include 'macros.inc' |
Line 72... | Line 72... | ||
72 | include 'struct.inc' |
72 | include 'struct.inc' |
Line 73... | Line 73... | ||
73 | 73 | ||
74 | $Revision: 6585 $ |
74 | $Revision: 6593 $ |
Line 2942... | Line 2942... | ||
2942 | jnz nosb9 |
2942 | jnz nosb9 |
2943 | ; ecx = [left]*65536 + [right] |
2943 | ; ecx = [left]*65536 + [right] |
2944 | ; edx = [top]*65536 + [bottom] |
2944 | ; edx = [top]*65536 + [bottom] |
2945 | mov eax, [_display.width] |
2945 | mov eax, [_display.width] |
2946 | mov ebx, [_display.height] |
2946 | mov ebx, [_display.height] |
2947 | dec eax |
- | |
2948 | dec ebx |
- | |
2949 | ; check [right] |
2947 | ; check [right] |
2950 | cmp cx, ax |
2948 | cmp cx, ax |
2951 | ja .exit |
2949 | jae .exit |
2952 | ; check [left] |
2950 | ; check [left] |
2953 | ror ecx, 16 |
2951 | ror ecx, 16 |
2954 | cmp cx, ax |
2952 | cmp cx, ax |
2955 | ja .exit |
2953 | jae .exit |
2956 | ; check [bottom] |
2954 | ; check [bottom] |
2957 | cmp dx, bx |
2955 | cmp dx, bx |
2958 | ja .exit |
2956 | jae .exit |
2959 | ; check [top] |
2957 | ; check [top] |
2960 | ror edx, 16 |
2958 | ror edx, 16 |
2961 | cmp dx, bx |
2959 | cmp dx, bx |
2962 | ja .exit |
2960 | jae .exit |
Line 2963... | Line 2961... | ||
2963 | 2961 | ||
2964 | movzx eax, cx ; [left] |
2962 | movzx eax, cx ; [left] |
Line 2965... | Line 2963... | ||
2965 | movzx ebx, dx ; [top] |
2963 | movzx ebx, dx ; [top] |