Compare commits
2 Commits
a6cf05c1ff
...
ce07a23355
Author | SHA1 | Date |
---|---|---|
Juhani Krekelä | ce07a23355 | |
Juhani Krekelä | 6e4974de3f |
|
@ -129,7 +129,7 @@ mainloop:
|
||||||
; in:
|
; in:
|
||||||
; bx = width of input buffer
|
; bx = width of input buffer
|
||||||
; cx = width of rectangle
|
; cx = width of rectangle
|
||||||
; dx = height of rectangle
|
; dx = height of rectangle (must be at least 1)
|
||||||
; ds:si = beginning of source data
|
; ds:si = beginning of source data
|
||||||
; di = X
|
; di = X
|
||||||
; bp = Y
|
; bp = Y
|
||||||
|
@ -153,12 +153,11 @@ draw_rect:
|
||||||
|
|
||||||
; Convert widths to bytes
|
; Convert widths to bytes
|
||||||
shl bx, 1
|
shl bx, 1
|
||||||
shl cx, 1
|
|
||||||
|
|
||||||
.loop:
|
.loop:
|
||||||
; Copy a row
|
; Copy a row
|
||||||
pusha
|
pusha
|
||||||
rep movsb
|
rep movsw
|
||||||
popa
|
popa
|
||||||
|
|
||||||
; Move to the next row in the input buffer
|
; Move to the next row in the input buffer
|
||||||
|
|
Loading…
Reference in New Issue