From ce07a23355deb7b2343ae2f6f125bd54ace4b1ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sun, 19 Mar 2023 17:19:18 +0200 Subject: [PATCH] Remove now-unnecessary shift in draw_rect --- ponydos.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ponydos.asm b/ponydos.asm index d401f85..953be04 100644 --- a/ponydos.asm +++ b/ponydos.asm @@ -153,12 +153,11 @@ draw_rect: ; Convert widths to bytes shl bx, 1 - shl cx, 1 .loop: ; Copy a row pusha - rep movsb + rep movsw popa ; Move to the next row in the input buffer