More spaces removed. Removed some dead code and useless macros and variables.

This commit is contained in:
jbo_85
2005-07-06 14:13:32 +00:00
parent 0e58ee7723
commit b0c151615b
16 changed files with 168 additions and 307 deletions

View File

@@ -2487,7 +2487,7 @@ SECTION .text
xor edx,edx ; clear high byte
xor cx,cx ; clear counter variable
mov ebx,10
.loopa2
.loopa2
div ebx ; get quotent and remainder
push dx ; store number to stack
inc cl
@@ -2500,7 +2500,7 @@ SECTION .text
sub ax,cx
cmp ax,0
je .loopb4
.loopb3
.loopb3
push ax
mov al,[.charprin]
mov ah,31
@@ -2508,8 +2508,8 @@ SECTION .text
pop ax
dec ax
jnz .loopb3
.loopb4
.loopb2
.loopb4
.loopb2
pop ax ; get number back from stack
add al,30h ; adjust to ASCII value
mov ah,31

View File

@@ -466,7 +466,7 @@ NEWSYM SBHandler16
inc dword[sbhandexec]
cmp byte [vibracard], 1
je .donotcallcmdapos
je .donotcallcmdapos
call GetCDMAPos
.donotcallcmdapos
@@ -1257,7 +1257,7 @@ NEWSYM SB_quality_limiter
; before REALLY switching back to 8-bit sucky mono mode
; check that we're dealing with a ViBRA16X Creative Labs Card
cmp byte[vibracard], 1
je .nostereo8b
je .nostereo8b
cmp dword[SoundQuality],2
jbe .nostereo8b

View File

@@ -79,7 +79,7 @@ NEWSYM InitVesa12
jnc .gotmem
mov edx,.nomemmessage
jmp VESA12EXITTODOS
.gotmem
.gotmem
mov fs,dx ; FS now points to the DOS buffer
@@ -134,7 +134,7 @@ NEWSYM InitVesa12
; mode information into VESAmodelist ;
;-----------------------------------------------------;
.vesa12detected
.vesa12detected
mov ax,[fs:12h] ; Get no. of 64k blocks
mov [noblocks],ax
mov ax, 2
@@ -173,12 +173,12 @@ NEWSYM InitVesa12
; mode for vesa2_x, vesa2_y and vesa2_depth ;
;----------------------------------------------;
.copiedmodes
.copiedmodes
mov ebp,VESAmodelist
xor ecx,ecx
.loopcheckmodes
.loopcheckmodes
mov cx, [ebp]
cmp cx, 0ffffh
jnz .notendoflist
@@ -186,7 +186,7 @@ NEWSYM InitVesa12
mov edx,.endoflist
jmp VESA12EXITTODOS
.notendoflist
.notendoflist
mov edi, RMREGS
mov dword[RMREGS.eax],4f01h
@@ -314,11 +314,11 @@ NEWSYM InitVesa12
cmp bh,ah
jb .scheck1
mov bh,ah
.scheck1
.scheck1
cmp bh,bl
jb .scheck2
mov bh,bl
.scheck2
.scheck2
mov byte[fs:19h],5
mov al,16
@@ -331,11 +331,11 @@ NEWSYM InitVesa12
cmp bh,ah
jb .scheck1b
mov bh,ah
.scheck1b
.scheck1b
cmp bh,bl
jb .scheck2b
mov bh,bl
.scheck2b
.scheck2b
mov [fs:21h],bh
mov al,16
@@ -348,11 +348,11 @@ NEWSYM InitVesa12
cmp bh,ah
jb .scheck1c
mov bh,ah
.scheck1c
.scheck1c
cmp bh,bl
jb .scheck2c
mov bh,bl
.scheck2c
.scheck2c
mov [fs:23h],bh
mov word[vesa2_clbit],0

View File

@@ -241,7 +241,7 @@ NEWSYM InitVesa2
cmp word[fs:004],300h
jb .notvbe3
mov dword[vesa3en],1
.notvbe3
.notvbe3
mov ax,[fs:12h] ; Get no. of 64k blocks
mov [noblocks],ax
mov ax, 2
@@ -280,12 +280,12 @@ NEWSYM InitVesa2
; mode for vesa2_x, vesa2_y and vesa2_depth ;
;----------------------------------------------;
.copiedmodes
.copiedmodes
mov ebp,VESAmodelist
xor ecx,ecx
.loopcheckmodes
.loopcheckmodes
mov cx, [ebp]
cmp cx, 0ffffh
jnz .notendoflist
@@ -293,7 +293,7 @@ NEWSYM InitVesa2
mov edx,.endoflist
jmp VESA2EXITTODOS
.notendoflist
.notendoflist
mov edi, RMREGS
mov dword[RMREGS.eax],4f01h
@@ -411,11 +411,11 @@ NEWSYM InitVesa2
cmp bh,ah
jb .scheck1
mov bh,ah
.scheck1
.scheck1
cmp bh,bl
jb .scheck2
mov bh,bl
.scheck2
.scheck2
mov byte[fs:19h],5
mov al,16
@@ -428,11 +428,11 @@ NEWSYM InitVesa2
cmp bh,ah
jb .scheck1b
mov bh,ah
.scheck1b
.scheck1b
cmp bh,bl
jb .scheck2b
mov bh,bl
.scheck2b
.scheck2b
mov [fs:21h],bh
mov al,16
@@ -445,11 +445,11 @@ NEWSYM InitVesa2
cmp bh,ah
jb .scheck1c
mov bh,ah
.scheck1c
.scheck1c
cmp bh,bl
jb .scheck2c
mov bh,bl
.scheck2c
.scheck2c
mov [fs:23h],bh
mov word[vesa2_clbit],0