Fix cvs burp

This commit is contained in:
theoddone33
2001-05-07 01:04:10 +00:00
parent 3a10cfa812
commit e38d1a7906

View File

@@ -53,6 +53,17 @@ EXTSYM ClearScreenSkip,debugdisble,cmovietimeint
EXTSYM ChatNick EXTSYM ChatNick
EXTSYM StringLength EXTSYM StringLength
EXTSYM chatstrLt EXTSYM chatstrLt
EXTSYM GUIOn,HalfTrans
EXTSYM ClearScreen
EXTSYM Mode7HiRes,mosenng,mosszng,intrlng,mode7hr ;,VESAAddr
EXTSYM GUICPC, newgfx16b
EXTSYM vesa2_clbitng,vesa2_clbitng2,vesa2_clbitng3
EXTSYM granadd
EXTSYM SpecialLine
EXTSYM vidbufferofsb
;EXTSYM Super2xSaI
EXTSYM HalfTransB,HalfTransC
NEWSYM ProcVidAsmStart NEWSYM ProcVidAsmStart
@@ -82,8 +93,10 @@ NEWSYM TempDebugV, dw 0 ; Temporary Debugging variable
%MACRO CopyFPU 0 %MACRO CopyFPU 0
%ENDMACRO %ENDMACRO
%include "video/2xsaimmx.inc"
%include "video/copyvid.inc" %include "video/copyvid.inc"
SECTION .text
NEWSYM FPUZero NEWSYM FPUZero
mov [.Zero],eax mov [.Zero],eax
mov [.Zero+4],eax mov [.Zero+4],eax
@@ -469,7 +482,7 @@ NEWSYM ASCII2Font
db 00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h db 00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h
db 00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h db 00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h
db 00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h db 00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h,00h
db 00h,00h,00h,00h,00h,00h,00h,4Dh,4Ch,4Bh,4Ah,45h,46h,47h,48h,49h db 00h,00h,00h,00h,00h,00h,00h,00h,4Ch,4Bh,4Ah,45h,46h,47h,48h,49h
NEWSYM FontData NEWSYM FontData
db 0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0
@@ -1551,7 +1564,9 @@ NEWSYM saveselect
jne .nong16b jne .nong16b
cmp byte[cbitmode],0 cmp byte[cbitmode],0
je .nong16b je .nong16b
%ifdef __MSDOS__
call GetScreen call GetScreen
%endif
.nong16b .nong16b
cmp dword[MessageOn],0 cmp dword[MessageOn],0
je .nochangem je .nochangem
@@ -1567,8 +1582,9 @@ NEWSYM saveselect
cmp byte[soundon],0 cmp byte[soundon],0
je .nosound je .nosound
mov byte[csounddisable],1 mov byte[csounddisable],1
cmp byte[OSPort],1 ;cmp byte[OSPort],1
ja .nosound ;ja .nosound
%ifdef __MSDOS__
push es push es
mov es,[sbselec] mov es,[sbselec]
mov edi,[sbpmofs] mov edi,[sbpmofs]
@@ -1579,6 +1595,7 @@ NEWSYM saveselect
dec ecx dec ecx
jnz .loopa jnz .loopa
pop es pop es
%endif
.nosound .nosound
cmp byte[cbitmode],1 cmp byte[cbitmode],1
je near .16b je near .16b
@@ -1771,8 +1788,9 @@ NEWSYM saveselect
.esc .esc
mov byte[pressed+1],0 mov byte[pressed+1],0
mov byte[pressed+28],0 mov byte[pressed+28],0
cmp byte[OSPort],1 ;cmp byte[OSPort],1
jbe .notpr28b ;jbe .notpr28b
%ifndef __MSDOS__
cmp byte[pressed+1],1 cmp byte[pressed+1],1
jne .notpr1b jne .notpr1b
mov byte[pressed+1],2 mov byte[pressed+1],2
@@ -1780,6 +1798,7 @@ NEWSYM saveselect
cmp byte[pressed+28],1 cmp byte[pressed+28],1
jne .notpr28b jne .notpr28b
mov byte[pressed+28],2 mov byte[pressed+28],2
%endif
.notpr28b .notpr28b
mov word[t1cc],0 mov word[t1cc],0
mov byte[csounddisable],0 mov byte[csounddisable],0
@@ -2086,8 +2105,9 @@ NEWSYM saveselect
mov ebx,[statefileloc] mov ebx,[statefileloc]
mov byte[fnamest+ebx],al mov byte[fnamest+ebx],al
.esc16b .esc16b
cmp byte[OSPort],1 ;cmp byte[OSPort],1
jbe .notprwin ;jbe .notprwin
%ifndef __MSDOS__
cmp byte[pressed+1],1 cmp byte[pressed+1],1
jne .notpr1 jne .notpr1
mov byte[pressed+1],2 mov byte[pressed+1],2
@@ -2097,6 +2117,7 @@ NEWSYM saveselect
mov byte[pressed+28],2 mov byte[pressed+28],2
.notpr28 .notpr28
jmp .prwin jmp .prwin
%endif
.notprwin .notprwin
mov byte[pressed+1],0 mov byte[pressed+1],0
mov byte[pressed+28],0 mov byte[pressed+28],0
@@ -2173,8 +2194,9 @@ NEWSYM testpressed8b
inc bl inc bl
mov byte[pressed+77],2 mov byte[pressed+77],2
.noright .noright
cmp byte[OSPort],3 ;cmp byte[OSPort],3
jne near .nowin32 ;jne near .nowin32
%ifndef __MSDOS__
%ifdef __LINUX__ %ifdef __LINUX__
test byte[pressed+05Ch],1 test byte[pressed+05Ch],1
%else %else
@@ -2205,7 +2227,8 @@ NEWSYM testpressed8b
mov byte[pressed+0CDh],2 mov byte[pressed+0CDh],2
%endif %endif
.noright2 .noright2
.nowin32 ;.nowin32
%endif
ret ret
;******************************************************* ;*******************************************************
@@ -3006,12 +3029,12 @@ NEWSYM hextestoutput
EXTSYM Op14Zr,Op14Xr,Op14Yr,Op14U,Op14F,Op14L EXTSYM Op14Zr,Op14Xr,Op14Yr,Op14U,Op14F,Op14L
EXTSYM Op02CX,Op02CY,bg1scrolx,bg1scroly EXTSYM Op02CX,Op02CY,bg1scrolx,bg1scroly
EXTSYM TValDebug,TValDebug2,curhdma EXTSYM TValDebug,TValDebug2,curhdma
mov al,[winbg1en] mov al,[curhdma]
call outputhex call outputhex
mov esi,216*288+32+16 mov esi,216*288+32+16
add esi,[vidbuffer] add esi,[vidbuffer]
xor eax,eax xor eax,eax
mov al,[winenabs] mov al,[TValDebug]
call outputhex call outputhex
mov esi,216*288+70 mov esi,216*288+70
add esi,[vidbuffer] add esi,[vidbuffer]
@@ -3270,11 +3293,13 @@ NEWSYM ChatType
pushad pushad
mov dl,'L' mov dl,'L'
; call NetAddChar ; call NetAddChar
cmp byte[OSPort],2 ;cmp byte[OSPort],2
jb .dos ;jb .dos
%ifndef __MSDOS__
cmp dword[chatstrL+1],'/ME ' cmp dword[chatstrL+1],'/ME '
je .action je .action
.dos %endif
;.dos
mov esi,ChatNick mov esi,ChatNick
call WritetochatBuffer call WritetochatBuffer
mov esi,chatstrL mov esi,chatstrL
@@ -3477,9 +3502,11 @@ NEWSYM vidpaste
jne .novsync jne .novsync
cmp byte[curblank],0h cmp byte[curblank],0h
jne .novsync jne .novsync
cmp byte[OSPort],1 ; cmp byte[OSPort],1
ja .novsync ; ja .novsync
%ifdef __MSDOS__
call waitvsync call waitvsync
%endif
.novsync .novsync
cmp byte[cbitmode],1 cmp byte[cbitmode],1
je .nopal je .nopal
@@ -3591,6 +3618,17 @@ NEWSYM vidpaste
.SSRedCo dw 0 .SSRedCo dw 0
NEWSYM Clear2xSaIBuffer
mov ebx,[vidbufferofsb]
add ebx,288*2
mov ecx,144*239
.nextb
mov dword[ebx],0FFFFFFFFh
add ebx,4
loop .nextb
ret
NEWSYM lastfps, db 0 ; stores the last fps encountered NEWSYM lastfps, db 0 ; stores the last fps encountered
NEWSYM lastfps2, db 0 ; stores the last fps encountered NEWSYM lastfps2, db 0 ; stores the last fps encountered
NEWSYM curfps2, db 0 ; current video refresh fps NEWSYM curfps2, db 0 ; current video refresh fps