Remapped mode 6,7 to mode 2,3

This commit is contained in:
z_demo_z
2002-06-27 21:03:19 +00:00
parent c009f716d3
commit 204f8b4f33

View File

@@ -87,9 +87,9 @@ NEWSYM transdma
xor ebx,ebx xor ebx,ebx
and al,00000111b and al,00000111b
cmp al,5 cmp al,5
jne .notmode5dma jae .notmode567dma
mov al,1 sub al,4
.notmode5dma .notmode567dma
mov bl,al mov bl,al
shl bl,3 shl bl,3
add ebx,.addrwrite add ebx,.addrwrite