Cleaned up the VGA video mode source code.
This commit is contained in:
@@ -593,18 +593,18 @@ NEWSYM copymodeq240
|
|||||||
ret
|
ret
|
||||||
.startcopy
|
.startcopy
|
||||||
push es
|
push es
|
||||||
mov ax,[selcA000]
|
; mov ax,[selcA000]
|
||||||
mov es,ax
|
; mov es,ax
|
||||||
|
` mov es,[selcA000]
|
||||||
mov esi,[vidbuffer]
|
mov esi,[vidbuffer]
|
||||||
mov ebp,[vidbufferm]
|
; mov ebp,[vidbufferm]
|
||||||
xor edi,edi
|
mov edi,256
|
||||||
add edi,256
|
|
||||||
cmp word[resolutn],224
|
cmp word[resolutn],224
|
||||||
jne .res239
|
jne .res239
|
||||||
add edi,8*256
|
add edi,8*256
|
||||||
.res239
|
.res239
|
||||||
add esi,16+256+32
|
add esi,16+256+32
|
||||||
add ebp,16+256+32
|
; add ebp,16+256+32
|
||||||
mov edx,[resolutn]
|
mov edx,[resolutn]
|
||||||
sub edx,2
|
sub edx,2
|
||||||
cmp byte[FPUCopy],2
|
cmp byte[FPUCopy],2
|
||||||
|
|||||||
Reference in New Issue
Block a user