Rev 928 | Rev 1066 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 928 | Rev 996 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | ;; Distributed under GPL. See file COPYING for details. ;; |
9 | ;; Distributed under GPL. See file COPYING for details. ;; |
10 | ;; Copyright 2003 Ville Turjanmaa ;; |
10 | ;; Copyright 2003 Ville Turjanmaa ;; |
11 | ;; ;; |
11 | ;; ;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 13... | Line 13... | ||
13 | 13 | ||
Line 14... | Line 14... | ||
14 | $Revision: 928 $ |
14 | $Revision: 996 $ |
15 | 15 | ||
16 | align 4 |
16 | align 4 |
17 | init_idt: |
17 | init_idt: |
Line 590... | Line 590... | ||
590 | bnmba: |
590 | bnmba: |
Line 591... | Line 591... | ||
591 | 591 | ||
592 | pusha ; save window coordinates for window restoring |
592 | pusha ; save window coordinates for window restoring |
593 | cld |
593 | cld |
594 | shl esi,5 |
- | |
595 | add esi,window_data |
594 | shl esi,5 |
596 | mov eax,[esi+WDATA.box.left] |
595 | mov eax,[window_data+esi+WDATA.box.left] |
597 | mov [dlx],eax |
596 | mov [dlx],eax |
598 | add eax,[esi+WDATA.box.width] |
597 | add eax,[window_data+esi+WDATA.box.width] |
599 | mov [dlxe],eax |
598 | mov [dlxe],eax |
600 | mov eax,[esi+WDATA.box.top] |
599 | mov eax,[window_data+esi+WDATA.box.top] |
601 | mov [dly],eax |
600 | mov [dly],eax |
602 | add eax,[esi+WDATA.box.height] |
601 | add eax,[window_data+esi+WDATA.box.height] |
Line 603... | Line 602... | ||
603 | mov [dlye],eax |
602 | mov [dlye],eax |
604 | 603 | ||
605 | xor eax, eax |
604 | xor eax, eax |
606 | mov [esi+WDATA.box.left],eax |
605 | mov [window_data+esi+WDATA.box.left],eax |
607 | mov [esi+WDATA.box.width],eax |
606 | mov [window_data+esi+WDATA.box.width],eax |
608 | mov [esi+WDATA.box.top],eax |
607 | mov [window_data+esi+WDATA.box.top],eax |
609 | mov [esi+WDATA.box.height],eax |
608 | mov [window_data+esi+WDATA.box.height],eax |
610 | mov [esi+WDATA.cl_workarea],eax |
609 | mov [window_data+esi+WDATA.cl_workarea],eax |
611 | mov [esi+WDATA.cl_titlebar],eax |
610 | mov [window_data+esi+WDATA.cl_titlebar],eax |
612 | mov [esi+WDATA.cl_frames],eax |
611 | mov [window_data+esi+WDATA.cl_frames],eax |
613 | mov dword [esi+WDATA.reserved],eax ; clear all flags: wstate, redraw, wdrawn |
612 | mov dword [window_data+esi+WDATA.reserved],eax ; clear all flags: wstate, redraw, wdrawn |
614 | lea edi, [esi-window_data+draw_data] |
613 | lea edi, [esi+draw_data] |
615 | mov ecx,32/4 |
614 | mov ecx,32/4 |
Line 616... | Line 615... | ||
616 | rep stosd |
615 | rep stosd |
Line 810... | Line 809... | ||
810 | call calculatescreen |
809 | call calculatescreen |
811 | xor eax, eax |
810 | xor eax, eax |
812 | xor esi, esi |
811 | xor esi, esi |
813 | call redrawscreen |
812 | call redrawscreen |
Line 814... | Line -... | ||
814 | - | ||
815 | mov [mouse_background], 0 ; no mouse background |
- | |
816 | mov [dont_draw_mouse], 0 ; draw mouse |
- | |
817 | 813 | ||
818 | mov [application_table_status],0 |
814 | mov [application_table_status],0 |
819 | ;mov esi,process_terminated |
815 | ;mov esi,process_terminated |
820 | ;call sys_msg_board_str |
816 | ;call sys_msg_board_str |
821 | DEBUGF 1,"%s",process_terminated |
817 | DEBUGF 1,"%s",process_terminated |