Linux commits
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
%include "macros.mac"
|
||||
|
||||
|
||||
NEWSYM TwoxSaiWAsmStart
|
||||
;/*---------------------------------------------------------------------*
|
||||
; * The following (piece of) code, (part of) the 2xSaI engine, *
|
||||
; * copyright (c) 1999 by Derek Liauw Kie Fa. *
|
||||
@@ -1342,3 +1342,6 @@ final1a times 8 db 0
|
||||
final1b times 8 db 0
|
||||
final2a times 8 db 0
|
||||
final2b times 8 db 0
|
||||
|
||||
SECTION .text
|
||||
NEWSYM TwoxSaiWAsmEnd
|
||||
|
||||
@@ -831,6 +831,7 @@ copyvesa2320x480x8ng:
|
||||
;*******************************************************
|
||||
|
||||
ALIGN32
|
||||
SECTION .data
|
||||
NEWSYM EagleHold, dd 0
|
||||
NEWSYM smallscreenon, dd 0
|
||||
NEWSYM smallscreence, dd 0
|
||||
@@ -838,7 +839,7 @@ NEWSYM CurrentGUIOn, dd 0
|
||||
vesavaland dd 0,0
|
||||
mmxvalanda dd 11111111110000001111111111000000b,11111111110000001111111111000000b
|
||||
mmxvalandb dd 00000000000111110000000000011111b,00000000000111110000000000011111b
|
||||
|
||||
SECTION .text
|
||||
NEWSYM copyvesa2640x480x8bgui
|
||||
mov byte[CurrentGUIOn],1
|
||||
cmp byte[smallscreenon],1
|
||||
@@ -5695,3 +5696,4 @@ NEWSYM Clear2xSaIBuffer
|
||||
add ebx,4
|
||||
loop .nextb
|
||||
ret
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ EXTSYM vesa2_clbit,vram,vrama,winon,xtravbuf,winptrref,scaddset
|
||||
EXTSYM fulladdtab
|
||||
EXTSYM cwinptr
|
||||
|
||||
|
||||
NEWSYM M716TExtAsmStart
|
||||
|
||||
|
||||
|
||||
@@ -991,3 +991,4 @@ extbg2sub:
|
||||
cmp dh,1
|
||||
jne near domosaic16b
|
||||
ret
|
||||
NEWSYM M716TExtAsmEnd
|
||||
|
||||
@@ -51,6 +51,7 @@ EXTSYM ofsmcptr,ofsmady,ofsmadx,yposng,yposngom,flipyposng,flipyposngom
|
||||
EXTSYM ofsmtptr,ofsmmptr,ofsmcyps,bgtxadd,bg1ptrx,bg1ptry
|
||||
EXTSYM a16x16xinc,a16x16yinc
|
||||
|
||||
NEWSYM MakeV16BAsmStart
|
||||
%include "video/vidmacro.mac"
|
||||
|
||||
|
||||
@@ -3082,3 +3083,4 @@ draw16x1616bwinon:
|
||||
jne near domosaic16b
|
||||
ret
|
||||
|
||||
NEWSYM MakeV16BAsmEnd
|
||||
|
||||
@@ -60,6 +60,7 @@ EXTSYM ofsmcptr,ofsmady,ofsmadx,yposng,yposngom,flipyposng,flipyposngom
|
||||
EXTSYM ofsmtptr,ofsmmptr,ofsmcyps,bgtxadd,bg1ptrx,bg1ptry
|
||||
EXTSYM a16x16xinc,a16x16yinc
|
||||
|
||||
NEWSYM MakeV16TAsmStart
|
||||
%include "video/vidmacro.mac"
|
||||
|
||||
|
||||
@@ -5310,3 +5311,4 @@ NEWSYM draw16x1616tswinon
|
||||
dec byte[tileleft16b]
|
||||
jnz near .loopa
|
||||
ret
|
||||
NEWSYM MakeV16TAsmEnd
|
||||
|
||||
@@ -41,6 +41,8 @@ EXTSYM tempoffset,vidmemch2,vidmemch4,vidmemch8
|
||||
EXTSYM ofsmcptr,ofsmady,ofsmadx,yposng,yposngom,flipyposng,flipyposngom
|
||||
EXTSYM ofsmtptr,ofsmmptr,ofsmcyps,bgtxadd,bg1ptrx,bg1ptry
|
||||
|
||||
NEWSYM MakeVidAsmStart
|
||||
|
||||
%include "video/vidmacro.mac"
|
||||
|
||||
|
||||
@@ -4383,3 +4385,4 @@ NEWSYM a16x16xinc, db 0
|
||||
NEWSYM a16x16yinc, db 0
|
||||
|
||||
|
||||
NEWSYM MakeVidAsmEnd
|
||||
|
||||
@@ -25,6 +25,8 @@ EXTSYM pesimpng
|
||||
EXTSYM mode7hr
|
||||
EXTSYM BGMA, mode7ab, mode7cd, BG1SYl, BG1SXl, mosenng, mosszng
|
||||
|
||||
|
||||
NEWSYM Mode7AsmStart
|
||||
%include "video/mode7.mac"
|
||||
|
||||
|
||||
@@ -815,3 +817,4 @@ NEWSYM processmode7hires
|
||||
pop esi
|
||||
.nogo
|
||||
ret
|
||||
NEWSYM Mode7AsmEnd
|
||||
|
||||
@@ -29,6 +29,7 @@ EXTSYM mode7ab,mode7cd,BGMA
|
||||
EXTSYM BG1SXl,BG1SYl
|
||||
EXTSYM processmode7hires
|
||||
|
||||
NEWSYM Mode716AsmStart
|
||||
%include "video/mode716.mac"
|
||||
|
||||
|
||||
@@ -684,3 +685,4 @@ NEWSYM processmode7hires16bd
|
||||
.nogo
|
||||
ret
|
||||
|
||||
NEWSYM Mode716AsmEnd
|
||||
|
||||
@@ -22,6 +22,7 @@ EXTSYM mode7A,mode7B,mode7C,mode7D,mode7X0,mode7Y0,mode7set
|
||||
EXTSYM pal16b,vram,vrama,winon,mode7tab,xtravbuf,drawmode7dcolor
|
||||
EXTSYM cwinptr
|
||||
|
||||
NEWSYM Mode716BAsmStart
|
||||
%include "video/mode7.mac"
|
||||
|
||||
|
||||
@@ -186,3 +187,4 @@ ALIGN32
|
||||
Mode7Process Mode7Window, domosaic16b, 2
|
||||
.nextval3w
|
||||
Mode7ProcessB Mode7Window, domosaic16b, 2
|
||||
NEWSYM Mode716BAsmEnd
|
||||
|
||||
@@ -21,6 +21,7 @@ EXTSYM curmosaicsz,curvidoffset,domosaic16b,winptrref,scaddset
|
||||
EXTSYM mode7A,mode7B,mode7C,mode7D,mode7X0,mode7Y0,mode7set,cwinptr
|
||||
EXTSYM pal16b,vram,vrama,winon,mode7tab,xtravbuf,dcolortab,vidbright
|
||||
|
||||
NEWSYM Mode716DAsmStart
|
||||
%include "video/mode7.mac"
|
||||
|
||||
|
||||
@@ -230,3 +231,4 @@ ALIGN32
|
||||
Mode7Process Mode7Window, domosaic16b, 2
|
||||
.nextval3w
|
||||
Mode7ProcessB Mode7Window, domosaic16b, 2
|
||||
NEWSYM Mode716DAsmEnd
|
||||
|
||||
@@ -23,7 +23,7 @@ EXTSYM pal16b,vram,vrama,winon,mode7tab,xtravbuf,drawmode7dcolor
|
||||
EXTSYM cwinptr
|
||||
|
||||
|
||||
|
||||
NEWSYM Mode716EAsmStart
|
||||
|
||||
|
||||
|
||||
@@ -1258,3 +1258,4 @@ NEWSYM drawmode716extbg2
|
||||
cmp dh,1
|
||||
jne near domosaic16b
|
||||
ret
|
||||
NEWSYM Mode716EAsmEnd
|
||||
|
||||
@@ -24,6 +24,8 @@ EXTSYM pal16b,pal16bcl,pal16bxcl,scaddtype,scrnon,transpbuf,drawmode716b
|
||||
EXTSYM vesa2_clbit,vram,vrama,winon,xtravbuf,winptrref,scaddset
|
||||
EXTSYM fulladdtab
|
||||
|
||||
|
||||
NEWSYM Mode716TAsmStart
|
||||
%include "video/mode7.mac"
|
||||
|
||||
|
||||
@@ -361,3 +363,4 @@ NEWSYM drawmode716tb
|
||||
|
||||
cwinptr2 dd 0
|
||||
|
||||
NEWSYM Mode716TAsmEnd
|
||||
|
||||
@@ -26,6 +26,7 @@ EXTSYM nglogicval,winlogicaval,ProcessMode7ngwinD,ProcessMode7ngwinC
|
||||
EXTSYM ngwinen, winbg1enval, BuildWindow, ngwintable, ngcwinptr
|
||||
EXTSYM ProcessMode7ngwin,ProcessMode7ngwinB
|
||||
|
||||
NEWSYM Mode7ExtAsmStart
|
||||
%include "video/mode7.mac"
|
||||
|
||||
|
||||
@@ -1315,3 +1316,4 @@ NEWSYM drawmode7ngextbg2
|
||||
jne near domosaic
|
||||
ret
|
||||
|
||||
NEWSYM Mode7ExtAsmEnd
|
||||
|
||||
@@ -28,6 +28,8 @@ EXTSYM pal16bxcl
|
||||
EXTSYM coadder16
|
||||
EXTSYM a16x16xinc,a16x16yinc,curypos,yflipadd
|
||||
|
||||
|
||||
NEWSYM MV16TMSAsmStart
|
||||
%include "video/vidmacro.mac"
|
||||
|
||||
|
||||
@@ -1499,3 +1501,4 @@ NEWSYM draw16x1616tswinonms
|
||||
dec byte[tileleft16b]
|
||||
jnz near .loopa
|
||||
ret
|
||||
NEWSYM MV16TMSAsmEnd
|
||||
|
||||
@@ -31,6 +31,8 @@ EXTSYM vidmemch2s,vidmemch4s,vidmemch8s
|
||||
EXTSYM cpalval
|
||||
EXTSYM SpecialLine
|
||||
|
||||
NEWSYM NewG162AsmStart
|
||||
|
||||
%include "video/vidmacro.mac"
|
||||
%include "video/newg162.mac"
|
||||
%include "video/newgfx16.mac"
|
||||
@@ -1399,3 +1401,4 @@ drawlineng4b16bmsom16x16:
|
||||
drawlineng4b16bmsntom16x16
|
||||
drawline16bmacroom16x16 tltype4b,preparet4ba,cachesingle4bng,ngpalcon4b,test4ba,0Fh,procpixelsmsnt,procpixelstmsnt
|
||||
|
||||
NEWSYM NewG162AsmEnd
|
||||
|
||||
@@ -47,6 +47,8 @@ EXTSYM winlogicb
|
||||
EXTSYM ngwinptr,objwlrpos,objwen,objclineptr,CSprWinPtr
|
||||
EXTSYM WindowRedraw
|
||||
|
||||
NEWSYM NewGfxAsmStart
|
||||
|
||||
%include "video/vidmacro.mac"
|
||||
%include "video/newgfx2.mac"
|
||||
%include "video/newgfx.mac"
|
||||
@@ -2336,3 +2338,5 @@ NEWSYM preparesprpr
|
||||
ALIGN32
|
||||
NEWSYM sprclprio, dd 0
|
||||
NEWSYM sprsingle, dd 0
|
||||
|
||||
NEWSYM NewGfxAsmEnd
|
||||
|
||||
@@ -65,6 +65,8 @@ EXTSYM NGNumSpr
|
||||
EXTSYM fulladdtab
|
||||
EXTSYM FPUCopy
|
||||
|
||||
NEWSYM NewGfx16AsmStart
|
||||
|
||||
%include "video/vidmacro.mac"
|
||||
%include "video/newgfx16.mac"
|
||||
%include "video/newg162.mac"
|
||||
@@ -3409,3 +3411,4 @@ NEWSYM FullBitAnd, dd 0F800F800h,0F800F800h
|
||||
NEWSYM HalfTransB, dd 00001000010000010000100001000001b,00001000010000010000100001000001b
|
||||
NEWSYM HalfTransC, dd 11110111100111101111011110011110b,11110111100111101111011110011110b
|
||||
NEWSYM NGNoTransp, dd 0
|
||||
NEWSYM NewGfx16AsmEnd
|
||||
|
||||
@@ -26,6 +26,8 @@ EXTSYM ngpalcon2b,tleftnb,tltype2b,tltype4b,tltype8b,yposng,flipyposng
|
||||
EXTSYM ofsmcptr,ofsmtptr,ofsmmptr,ofsmcyps,ofsmady,ofsmadx
|
||||
EXTSYM yposngom,flipyposngom,cbgval,ofsmval,ofsmvalh,vram
|
||||
|
||||
NEWSYM NewGfx2AsmStart
|
||||
|
||||
%include "video/vidmacro.mac"
|
||||
%include "video/newgfx2.mac"
|
||||
%include "video/newgfx.mac"
|
||||
@@ -671,3 +673,4 @@ Processwinclipom4b:
|
||||
cmp dword[ngcwinmode],1
|
||||
je near drawlinengom4bwin.winclipped
|
||||
jmp drawlinengom4bwin.loop
|
||||
NEWSYM NewGfx2AsmEnd
|
||||
|
||||
@@ -54,10 +54,12 @@ EXTSYM ChatNick
|
||||
EXTSYM StringLength
|
||||
EXTSYM chatstrLt
|
||||
|
||||
NEWSYM ProcVidAsmStart
|
||||
|
||||
NEWSYM ScreenScale, db 0 ; If horizontal is scaled or not
|
||||
NEWSYM TempDebugV, dw 0 ; Temporary Debugging variable
|
||||
|
||||
|
||||
%macro MMXStuff 0
|
||||
%%1
|
||||
movq mm0,[esi]
|
||||
@@ -3571,6 +3573,7 @@ NEWSYM vidpaste
|
||||
|
||||
.SSRedCo dw 0
|
||||
|
||||
|
||||
NEWSYM lastfps, db 0 ; stores the last fps encountered
|
||||
NEWSYM lastfps2, db 0 ; stores the last fps encountered
|
||||
NEWSYM curfps2, db 0 ; current video refresh fps
|
||||
@@ -3602,3 +3605,4 @@ db 0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0
|
||||
db 0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0
|
||||
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
|
||||
NEWSYM ProcVidAsmEnd
|
||||
|
||||
Reference in New Issue
Block a user