typos
This commit is contained in:
parent
f69d425cac
commit
897e853a42
16 changed files with 102 additions and 102 deletions
|
|
@ -346,7 +346,7 @@ For example, you'd certainly expect a sequence such as
|
||||||
pop ax
|
pop ax
|
||||||
ret
|
ret
|
||||||
pop ax
|
pop ax
|
||||||
et
|
ret
|
||||||
:
|
:
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -447,7 +447,7 @@ DrawRectParms ends
|
||||||
mov dh,RightMask[bx] ;set the right-edge clip mask
|
mov dh,RightMask[bx] ;set the right-edge clip mask
|
||||||
mov bx,LeftX[bp]
|
mov bx,LeftX[bp]
|
||||||
and bx,NOT 7 ;intrapixel address of left edge
|
and bx,NOT 7 ;intrapixel address of left edge
|
||||||
su si,bx
|
sub si,bx
|
||||||
shr si,1
|
shr si,1
|
||||||
shr si,1
|
shr si,1
|
||||||
shr si,1 ;# of bytes across spanned by rectangle - 1
|
shr si,1 ;# of bytes across spanned by rectangle - 1
|
||||||
|
|
@ -455,7 +455,7 @@ DrawRectParms ends
|
||||||
and dl,dh ; combine the masks
|
and dl,dh ; combine the masks
|
||||||
MasksSet:
|
MasksSet:
|
||||||
mov bx,BottomY[bp]
|
mov bx,BottomY[bp]
|
||||||
su bx,TopY[bp] ;# of scan lines to fill - 1
|
sub bx,TopY[bp] ;# of scan lines to fill - 1
|
||||||
FillLoop:
|
FillLoop:
|
||||||
push di ;remember line start offset
|
push di ;remember line start offset
|
||||||
mov al,dl ;left edge clip mask
|
mov al,dl ;left edge clip mask
|
||||||
|
|
@ -661,7 +661,7 @@ TextUpDone:
|
||||||
CharUp: ;draws the character in AL at ES:DI
|
CharUp: ;draws the character in AL at ES:DI
|
||||||
lds si,[BIOS8x8Ptr] ;point to the 8x8 font start
|
lds si,[BIOS8x8Ptr] ;point to the 8x8 font start
|
||||||
mov bl,al
|
mov bl,al
|
||||||
su bh,bh
|
sub bh,bh
|
||||||
shl bx,1
|
shl bx,1
|
||||||
shl bx,1
|
shl bx,1
|
||||||
shl bx,1 ;*8 to look up character offset in font
|
shl bx,1 ;*8 to look up character offset in font
|
||||||
|
|
|
||||||
|
|
@ -499,7 +499,7 @@ parms ends
|
||||||
les di,[bp+BufferPtr]
|
les di,[bp+BufferPtr]
|
||||||
mov dx,[bp+RectHeight]
|
mov dx,[bp+RectHeight]
|
||||||
mov bx,[bp+BufferWidth]
|
mov bx,[bp+BufferWidth]
|
||||||
su bx,[bp+RectWidth] ;distance from end of one dest scan
|
sub bx,[bp+RectWidth] ;distance from end of one dest scan
|
||||||
; to start of next
|
; to start of next
|
||||||
mov al,byte ptr [bp+Color]
|
mov al,byte ptr [bp+Color]
|
||||||
mov ah,al ;double the color for REP STOSW
|
mov ah,al ;double the color for REP STOSW
|
||||||
|
|
@ -544,7 +544,7 @@ parms2 ends
|
||||||
mov bx,[bp+Pixels]
|
mov bx,[bp+Pixels]
|
||||||
mov dx,[bp+ImageHeight]
|
mov dx,[bp+ImageHeight]
|
||||||
mov ax,[bp+BufferWidth2]
|
mov ax,[bp+BufferWidth2]
|
||||||
su ax,[bp+ImageWidth] ;distance from end of one dest scan
|
sub ax,[bp+ImageWidth] ;distance from end of one dest scan
|
||||||
mov [bp+BufferWidth2],ax ; to start of next
|
mov [bp+BufferWidth2],ax ; to start of next
|
||||||
RowLoop2:
|
RowLoop2:
|
||||||
mov cx,[bp+ImageWidth]
|
mov cx,[bp+ImageWidth]
|
||||||
|
|
@ -556,7 +556,7 @@ ColumnLoop:
|
||||||
mov es:[di],al
|
mov es:[di],al
|
||||||
SkipPixel:
|
SkipPixel:
|
||||||
inc bx ;point to next source pixel
|
inc bx ;point to next source pixel
|
||||||
inc d ;point to next dest pixel
|
inc di ;point to next dest pixel
|
||||||
dec cx
|
dec cx
|
||||||
jnz ColumnLoop
|
jnz ColumnLoop
|
||||||
add di,[bp+BufferWidth2] ;point to next scan to fill
|
add di,[bp+BufferWidth2] ;point to next scan to fill
|
||||||
|
|
@ -596,9 +596,9 @@ parms3 ends
|
||||||
lds si,[bp+SrcBufferPtr]
|
lds si,[bp+SrcBufferPtr]
|
||||||
mov dx,[bp+CopyHeight]
|
mov dx,[bp+CopyHeight]
|
||||||
mov bx,[bp+DestBufferWidth] ;distance from end of one dest scan
|
mov bx,[bp+DestBufferWidth] ;distance from end of one dest scan
|
||||||
su bx,[bp+CopyWidth] ; of copy to the next
|
sub bx,[bp+CopyWidth] ; of copy to the next
|
||||||
mov ax,[bp+SrcBufferWidth] ;distance from end of one source scan
|
mov ax,[bp+SrcBufferWidth] ;distance from end of one source scan
|
||||||
su ax,[bp+CopyWidth] ; of copy to the next
|
sub ax,[bp+CopyWidth] ; of copy to the next
|
||||||
RowLoop3:
|
RowLoop3:
|
||||||
mov cx,[bp+CopyWidth] ;# of bytes to copy
|
mov cx,[bp+CopyWidth] ;# of bytes to copy
|
||||||
shr cx,1
|
shr cx,1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue