Rev 1066 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1066 | Rev 2971 | ||
---|---|---|---|
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: 1066 $ |
14 | $Revision: 2971 $ |
15 | 15 | ||
16 | align 4 |
16 | align 4 |
17 | init_idt: |
17 | init_idt: |
Line 289... | Line 289... | ||
289 | out 0xa0,al |
289 | out 0xa0,al |
290 | out 0x20, al |
290 | out 0x20, al |
291 | ret |
291 | ret |
Line 292... | Line 292... | ||
292 | 292 | ||
293 | irqD: |
- | |
294 | save_ring3_context |
- | |
295 | mov ax, sel_app_data |
- | |
296 | mov ds, ax |
293 | irqD: |
297 | mov es, ax |
- | |
298 | - | ||
299 | mov dx,0xf0 |
294 | push eax |
300 | mov al,0 |
295 | mov al,0 |
301 | out dx,al |
- | |
302 | - | ||
303 | mov dx,0xa0 |
296 | out 0xf0,al |
304 | mov al,0x20 |
297 | mov al,0x20 |
305 | out dx,al |
298 | out 0xa0,al |
306 | mov dx,0x20 |
299 | out 0x20,al |
307 | out dx,al |
- | |
308 | - | ||
Line 309... | Line 300... | ||
309 | restore_ring3_context |
300 | pop eax |
Line 310... | Line 301... | ||
310 | 301 | ||
Line 457... | Line 448... | ||
457 | mov [CURRENT_TASK+esi+TASKDATA.state], 9 |
448 | mov [CURRENT_TASK+esi+TASKDATA.state], 9 |
458 | ret |
449 | ret |
459 | @@: |
450 | @@: |
460 | ;mov esi,process_terminating |
451 | ;mov esi,process_terminating |
461 | ;call sys_msg_board_str |
452 | ;call sys_msg_board_str |
462 | DEBUGF 1,"%s",process_terminating |
- | |
463 | @@: |
453 | @@: |
464 | cli |
454 | cli |
465 | cmp [application_table_status],0 |
455 | cmp [application_table_status],0 |
466 | je term9 |
456 | je term9 |
467 | sti |
457 | sti |
Line 601... | Line 591... | ||
601 | add eax,[window_data+esi+WDATA.box.height] |
591 | add eax,[window_data+esi+WDATA.box.height] |
602 | mov [dlye],eax |
592 | mov [dlye],eax |
Line 603... | Line 593... | ||
603 | 593 | ||
604 | xor eax, eax |
594 | xor eax, eax |
- | 595 | mov [window_data+esi+WDATA.box.left],eax |
|
605 | mov [window_data+esi+WDATA.box.left],eax |
596 | |
606 | mov [window_data+esi+WDATA.box.width],eax |
597 | mov [window_data+esi+WDATA.box.width],eax |
607 | mov [window_data+esi+WDATA.box.top],eax |
598 | mov [window_data+esi+WDATA.box.top],eax |
608 | mov [window_data+esi+WDATA.box.height],eax |
599 | mov [window_data+esi+WDATA.box.height],eax |
609 | mov [window_data+esi+WDATA.cl_workarea],eax |
600 | mov [window_data+esi+WDATA.cl_workarea],eax |
- | 601 | mov [window_data+esi+WDATA.cl_titlebar],eax |
|
610 | mov [window_data+esi+WDATA.cl_titlebar],eax |
602 | |
611 | mov [window_data+esi+WDATA.cl_frames],eax |
603 | mov [window_data+esi+WDATA.cl_frames],eax |
612 | mov dword [window_data+esi+WDATA.reserved],eax ; clear all flags: wstate, redraw, wdrawn |
604 | mov dword [window_data+esi+WDATA.reserved],eax ; clear all flags: wstate, redraw, wdrawn |
613 | lea edi, [esi+draw_data] |
605 | lea edi, [esi+draw_data] |
614 | mov ecx,32/4 |
606 | mov ecx,32/4 |
Line 812... | Line 804... | ||
812 | call redrawscreen |
804 | call redrawscreen |
Line 813... | Line 805... | ||
813 | 805 | ||
814 | mov [application_table_status],0 |
806 | mov [application_table_status],0 |
815 | ;mov esi,process_terminated |
807 | ;mov esi,process_terminated |
816 | ;call sys_msg_board_str |
- | |
817 | DEBUGF 1,"%s",process_terminated |
808 | ;call sys_msg_board_str |
818 | add esp, 4 |
809 | add esp, 4 |
819 | ret |
810 | ret |
Line 820... | Line 811... | ||
820 | restore .slot |
811 | restore .slot |