Rewrote some video code

This commit is contained in:
pagefault
2002-04-13 01:12:51 +00:00
parent 84ba288576
commit bf55a73b99
2 changed files with 40 additions and 32 deletions

View File

@@ -68,7 +68,7 @@ NEWSYM copy640x480x16bwin
cmp byte[antienab],1
je near interpolate640x480x16bwin
.nointerp
mov dl,224
mov dl,[resolutn]
dec dl
dec dl
cmp byte[scanlines],1
@@ -825,7 +825,7 @@ Process2xSaIwin:
mov [InterPtr],ebx
; add edi,[VESAAddr]
mov dl,224
mov dl,[resolutn]
sub dl,2 ; Compensate for top/bottom line + 2 lines in 2xSaI
mov byte[lineleft],dl
mov dword[esi+512],0
@@ -926,7 +926,7 @@ MMXInterpolwin:
mov ebx,SpecialLine+1
.loopab
mov dl,224
mov dl,[resolutn]
dec dl
dec dl
dec dl
@@ -1261,7 +1261,7 @@ NEWSYM interpolate640x480x16bwin
.loopabi
mov [InterPtr],ebx
mov dl,224
mov dl,[resolutn]
dec dl
dec dl
dec dl