From 03d3ce064b169e1dc45021e4a9434dc09d3acb53 Mon Sep 17 00:00:00 2001 From: stainless <> Date: Thu, 6 Sep 2001 09:30:37 +0000 Subject: [PATCH] Rewrote the DOS 256x224 and 256x240 blitters. --- zsnes/src/video/copyvid.inc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/zsnes/src/video/copyvid.inc b/zsnes/src/video/copyvid.inc index 3548adc3..5451ef4c 100644 --- a/zsnes/src/video/copyvid.inc +++ b/zsnes/src/video/copyvid.inc @@ -554,9 +554,12 @@ NEWSYM copymodeq224 ret .startcopy push es - mov es,[selcA000] + mov ax,[selcA000] + mov es,ax mov esi,[vidbuffer] + mov ebp,[vidbufferm] add esi,16+256+32 + add ebp,16+256+32 mov edi,256 mov edx,222 cmp byte[FPUCopy],2 @@ -589,14 +592,18 @@ NEWSYM copymodeq240 ret .startcopy push es - mov es,[selcA000] + mov ax,[selcA000] + mov es,ax mov esi,[vidbuffer] - mov edi,256 + mov ebp,[vidbufferm] + xor edi,edi + add edi,256 cmp word[resolutn],224 jne .res239 add edi,8*256 .res239 add esi,16+256+32 + add ebp,16+256+32 mov edx,[resolutn] sub edx,2 cmp byte[FPUCopy],2