|
|
| version 1.3, 2004/07/22 11:31:32 | version 1.5, 2005/03/18 06:49:17 |
|---|---|
| Line 1 | Line 1 |
| %include 'x86/np2asm.inc' | %include 'x86/np2asm.inc' |
| %include '../io/x86/iocore.inc' | |
| section .bss | section .bss |
| Line 7 section .bss | Line 8 section .bss |
| extern _mem | extern _mem |
| extern _np2_vram | extern _np2_vram |
| extern _renewal_line | extern _renewal_line |
| extern _gdc | |
| extern _dsync | extern _dsync |
| extern _vramupdate | extern _vramupdate |
| global _grph_table | global _grph_table |
| Line 91 maketbl_4: mov [esi], eax | Line 91 maketbl_4: mov [esi], eax |
| mov edi, _np2_vram | mov edi, _np2_vram |
| add edi, [_dsync + dsync_t.grphvad] | add edi, [_dsync + dsync_t.grphvad] |
| and ecx, 1 | and ecx, 1 |
| je short adjustpage | je short .adjustpage |
| add edi, SCRN_BUFSIZE | add edi, SCRN_BUFSIZE |
| adjustpage: inc cl | .adjustpage: inc cl |
| mov byte [esp+21], cl ; DISPPAGE | mov byte [esp+21], cl ; DISPPAGE |
| mov ch, cl | mov ch, cl |
| movzx eax, cx | movzx eax, cx |