|
|
| version 1.9, 2004/01/25 05:41:29 | version 1.11, 2004/01/31 08:34:41 |
|---|---|
| Line 82 section .text | Line 82 section .text |
| %if USE_EGCASM | %if USE_EGCASM |
| extern _egca_read | extern egc_read |
| extern _egca_read_w | extern egc_read_w |
| extern _egca_write | extern egc_write |
| extern _egca_write_w | extern egc_write_w |
| %else | %else |
| extern @egc_read@4 | extern @egc_read@4 |
| extern @egc_read_w@4 | extern @egc_read_w@4 |
| Line 120 wtram_a: cmp ecx, 000a3fe0h | Line 120 wtram_a: cmp ecx, 000a3fe0h |
| jc short wtram_m | jc short wtram_m |
| cmp ecx, 000a4000h | cmp ecx, 000a4000h |
| jnc wcgwindow_s | jnc wcgwindow_s |
| test ecx, 2 | |
| je short wtram_m | |
| cmp byte [_gdcs + gdcs_t.msw_accessable], 0 | cmp byte [_gdcs + gdcs_t.msw_accessable], 0 |
| je short wtram_e | je short wtram_e |
| wtram_m: shr ebx, 1 | wtram_m: shr ebx, 1 |
| Line 262 grcgtdw_end: pop ecx | Line 264 grcgtdw_end: pop ecx |
| @egc_wt: VRAMTRACE | @egc_wt: VRAMTRACE |
| pop ebx | pop ebx |
| %if USE_EGCASM | %if USE_EGCASM |
| jmp _egca_write | jmp egc_write |
| %else | %else |
| pushad | pushad |
| call @egc_write@8 | call @egc_write@8 |
| Line 383 grcgtcr_end: not al | Line 385 grcgtcr_end: not al |
| align 16 | align 16 |
| @egc_rd: pop ebx | @egc_rd: pop ebx |
| %if USE_EGCASM | %if USE_EGCASM |
| jmp _egca_read | jmp egc_read |
| %else | %else |
| pushad | pushad |
| call @egc_read@4 | call @egc_read@4 |
| Line 452 wtramw_a: je short wword_a1fffh | Line 454 wtramw_a: je short wword_a1fffh |
| jc short wtramw_m | jc short wtramw_m |
| cmp ecx, 000a3fffh | cmp ecx, 000a3fffh |
| jnc wcgwindoww_s | jnc wcgwindoww_s |
| test ecx, 2 | |
| je short wtramw_m | |
| cmp byte [_gdcs + gdcs_t.msw_accessable], 0 | cmp byte [_gdcs + gdcs_t.msw_accessable], 0 |
| je short wtramw_e | je short wtramw_e |
| wtramw_m: and ebx, 1fffh | wtramw_m: and ebx, 1fffh |
| Line 615 grcgwtdw_end: pop ecx | Line 619 grcgwtdw_end: pop ecx |
| @egcw_wt: VRAMTRACE_W | @egcw_wt: VRAMTRACE_W |
| pop ebx | pop ebx |
| %if USE_EGCASM | %if USE_EGCASM |
| jmp _egca_write_w | jmp egc_write_w |
| %else | %else |
| test ecx, 1 | test ecx, 1 |
| jne short egcw_wtodd | jne short egcw_wtodd |
| Line 777 grcgwtcr_end: not ax | Line 781 grcgwtcr_end: not ax |
| test ecx, 1 | test ecx, 1 |
| jne short egcw_rdodd | jne short egcw_rdodd |
| %if USE_EGCASM | %if USE_EGCASM |
| jmp _egca_read_w | jmp egc_read_w |
| %else | %else |
| pushad | pushad |
| call @egc_read_w@4 | call @egc_read_w@4 |
| Line 789 grcgwtcr_end: not ax | Line 793 grcgwtcr_end: not ax |
| egcw_rdodd: | egcw_rdodd: |
| %if USE_EGCASM | %if USE_EGCASM |
| inc ecx | inc ecx |
| call _egca_read | call egc_read |
| mov ah, al | mov ah, al |
| dec ecx | dec ecx |
| jmp _egca_read | jmp egc_read |
| %else | %else |
| pushad | pushad |
| push ecx | push ecx |