Rev 996 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 996 | Rev 1066 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
56 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
57 | 57 | ||
Line 58... | Line 58... | ||
58 | include 'macros.inc' |
58 | include 'macros.inc' |
Line 59... | Line 59... | ||
59 | 59 | ||
Line 60... | Line 60... | ||
60 | $Revision: 996 $ |
60 | $Revision: 1066 $ |
Line 61... | Line 61... | ||
61 | 61 | ||
Line 120... | Line 120... | ||
120 | 120 | ||
Line 121... | Line 121... | ||
121 | public __hlt |
121 | public __hlt |
122 | public _panic_printf |
122 | public _panic_printf |
123 | public _printf |
123 | public _printf |
- | 124 | public _dump |
|
124 | public _pg_balloc |
125 | public _pg_balloc |
125 | public _mem_amount |
126 | public _mem_amount |
126 | public @balloc@4 |
127 | public @balloc@4 |
Line 127... | Line 128... | ||
127 | 128 | ||
Line 213... | Line 214... | ||
213 | 214 | ||
Line 214... | Line 215... | ||
214 | 215 | ||
Line -... | Line 216... | ||
- | 216 | extrn _poweroff |
|
- | 217 | ||
215 | extrn _poweroff |
218 | extrn @pf_dump@8 |
216 | 219 | ||
Line 217... | Line 220... | ||
217 | extrn @core_alloc@4 |
220 | extrn @frame_alloc@4 |
Line -... | Line 221... | ||
- | 221 | extrn @frame_free@4 |
|
- | 222 | ||
- | 223 | extrn @find_large_md@4 |
|
218 | extrn @core_free@4 |
224 | |
219 | 225 | extrn @heap_fault@8 |
|
Line 220... | Line 226... | ||
220 | extrn @find_large_md@4 |
226 | |
221 | 227 | ||
Line 484... | Line 490... | ||
484 | 490 | ||
Line 485... | Line 491... | ||
485 | call rerouteirqs |
491 | call rerouteirqs |
Line 486... | Line 492... | ||
486 | 492 | ||
487 | ; Initialize system V86 machine |
493 | ; Initialize system V86 machine |
Line 488... | Line 494... | ||
488 | call init_sys_v86 |
494 | ; call init_sys_v86 |
Line 489... | Line 495... | ||
489 | 495 | ||
490 | ; TIMER SET TO 1/100 S |
496 | ; TIMER SET TO 1/100 S |
Line 3427... | Line 3433... | ||
3427 | cmp al,2 |
3433 | cmp al,2 |
3428 | jz newdw8 |
3434 | jz newdw8 |
3429 | test al,al |
3435 | test al,al |
3430 | jz .az |
3436 | jz .az |
3431 | lea eax,[edi+draw_data+(0x100000000-OS_BASE)] |
3437 | lea eax,[edi+draw_data-window_data] |
3432 | mov ebx,[dlx] |
3438 | mov ebx,[dlx] |
3433 | cmp ebx,[eax+RECT.left] |
3439 | cmp ebx,[eax+RECT.left] |
3434 | jae @f |
3440 | jae @f |
3435 | mov [eax+RECT.left],ebx |
3441 | mov [eax+RECT.left],ebx |
3436 | @@: |
3442 | @@: |
3437 | mov ebx,[dly] |
3443 | mov ebx,[dly] |
Line 3452... | Line 3458... | ||
3452 | jmp newdw8 |
3458 | jmp newdw8 |
3453 | .az: |
3459 | .az: |
3454 | 3460 | ||
Line 3455... | Line 3461... | ||
3455 | mov eax,edi |
3461 | mov eax,edi |
3456 | add eax, draw_data+(0x100000000-OS_BASE) |
3462 | add eax, draw_data-window_data |
Line 3457... | Line 3463... | ||
3457 | 3463 | ||
3458 | mov ebx,[dlx] ; set limits |
3464 | mov ebx,[dlx] ; set limits |
3459 | mov [eax + RECT.left], ebx |
3465 | mov [eax + RECT.left], ebx |
3460 | mov ebx,[dly] |
3466 | mov ebx,[dly] |
3461 | mov [eax + RECT.top], ebx |
3467 | mov [eax + RECT.top], ebx |
3462 | mov ebx,[dlxe] |
3468 | mov ebx,[dlxe] |
3463 | mov [eax + RECT.right], ebx |
3469 | mov [eax + RECT.right], ebx |
3464 | mov ebx,[dlye] |
3470 | mov ebx,[dlye] |
Line 3465... | Line 3471... | ||
3465 | mov [eax + RECT.bottom], ebx |
3471 | mov [eax + RECT.bottom], ebx |
Line 3466... | Line 3472... | ||
3466 | 3472 | ||
3467 | sub eax,draw_data+(0x100000000-OS_BASE) |
3473 | sub eax,draw_data - window_data |
3468 | 3474 |