Rev 255 | Rev 6352 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 255 | Rev 485 | ||
---|---|---|---|
Line 171... | Line 171... | ||
171 | 171 | ||
172 | mov eax,13 |
172 | mov eax,13 |
173 | mov ebx,136*65536+20 |
173 | mov ebx,136*65536+20 |
174 | mov ecx,65*65536+21 |
174 | mov ecx,65*65536+21 |
175 | mov edx,[Color] |
175 | mov edx,[Color] |
Line 176... | Line 176... | ||
176 | int 0x40 |
176 | mcall |
177 | 177 | ||
Line 178... | Line 178... | ||
178 | jmp still |
178 | jmp still |
Line 487... | Line 487... | ||
487 | and edx,0xffffff |
487 | and edx,0xffffff |
488 | shl ebx,16 |
488 | shl ebx,16 |
489 | shl ecx,16 |
489 | shl ecx,16 |
490 | add ebx,13 |
490 | add ebx,13 |
491 | add ecx,13 |
491 | add ecx,13 |
492 | int 0x40 |
492 | mcall |
493 | add [x],15 |
493 | add [x],15 |
494 | cmp [x],20+15*32 |
494 | cmp [x],20+15*32 |
495 | jl no_new_line |
495 | jl no_new_line |
496 | mov [x],20+5 |
496 | mov [x],20+5 |
497 | add [y],15 |
497 | add [y],15 |
Line 508... | Line 508... | ||
508 | 508 | ||
509 | cmp eax,2 |
509 | cmp eax,2 |
Line 510... | Line 510... | ||
510 | jne no_keys |
510 | jne no_keys |
511 | 511 | ||
Line 512... | Line 512... | ||
512 | mov eax,2 |
512 | mov eax,2 |
Line 513... | Line 513... | ||
513 | int 0x40 |
513 | mcall |
514 | 514 | ||
515 | no_keys: |
515 | no_keys: |
516 | 516 | ||
Line 517... | Line 517... | ||
517 | cmp eax,3 |
517 | cmp eax,3 |
Line 518... | Line 518... | ||
518 | jne no_buttons |
518 | jne no_buttons |
519 | mov eax,17 |
519 | mov eax,17 |
Line 564... | Line 564... | ||
564 | cmp [counter],257 |
564 | cmp [counter],257 |
565 | jne next_rectangle_column |
565 | jne next_rectangle_column |
Line 566... | Line 566... | ||
566 | 566 | ||
567 | mov eax,5 |
567 | mov eax,5 |
568 | mov ebx,10 |
568 | mov ebx,10 |
Line 569... | Line 569... | ||
569 | int 0x40 |
569 | mcall |
Line 570... | Line 570... | ||
570 | 570 | ||
571 | call drawwin |
571 | call drawwin |