Filtered GUI option
This commit is contained in:
@@ -582,6 +582,7 @@ NEWSYM BlackAndWhite, db 0
|
|||||||
NEWSYM MouseWheel, db 1
|
NEWSYM MouseWheel, db 1
|
||||||
NEWSYM AlternateTimer, db 0
|
NEWSYM AlternateTimer, db 0
|
||||||
NEWSYM AllowMultipleInst, db 0
|
NEWSYM AllowMultipleInst, db 0
|
||||||
|
NEWSYM FilteredGUI, db 0
|
||||||
|
|
||||||
GUIsave equ $-GUIRAdd
|
GUIsave equ $-GUIRAdd
|
||||||
|
|
||||||
@@ -2691,6 +2692,13 @@ guiprevidmsg6 db 'MODE WILL BE RESET',0
|
|||||||
guiprevidmsg7 db 'PRESS ANY KEY',0
|
guiprevidmsg7 db 'PRESS ANY KEY',0
|
||||||
|
|
||||||
guipostvideo:
|
guipostvideo:
|
||||||
|
mov ecx,255*144
|
||||||
|
mov eax,[vidbufferofsb]
|
||||||
|
.loop
|
||||||
|
mov dword[eax],0FFFFFFFFh
|
||||||
|
add eax,4
|
||||||
|
loop .loop
|
||||||
|
|
||||||
xor ebx,ebx
|
xor ebx,ebx
|
||||||
mov ecx,256
|
mov ecx,256
|
||||||
.a
|
.a
|
||||||
|
|||||||
@@ -2648,6 +2648,7 @@ DisplayGUIOptnsClick:
|
|||||||
GUIClickCButton 12,188,byte[AllowMultipleInst]
|
GUIClickCButton 12,188,byte[AllowMultipleInst]
|
||||||
GUIClickCButton 124,33,byte[MouseWheel]
|
GUIClickCButton 124,33,byte[MouseWheel]
|
||||||
%endif
|
%endif
|
||||||
|
GUIClickCButton 124,43,byte[FilteredGUI]
|
||||||
GUIPButtonHole 48,108,byte[CurPalSelect],0
|
GUIPButtonHole 48,108,byte[CurPalSelect],0
|
||||||
GUIPButtonHole 88,108,byte[CurPalSelect],1
|
GUIPButtonHole 88,108,byte[CurPalSelect],1
|
||||||
GUIPButtonHole 135,108,byte[CurPalSelect],2
|
GUIPButtonHole 135,108,byte[CurPalSelect],2
|
||||||
|
|||||||
@@ -4676,6 +4676,12 @@ DisplayGUIOptns:
|
|||||||
.nocheckr
|
.nocheckr
|
||||||
GUIDisplayIconWin 10,124,33,[GUITemp]
|
GUIDisplayIconWin 10,124,33,[GUITemp]
|
||||||
%endif
|
%endif
|
||||||
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
|
cmp byte[FilteredGUI],1
|
||||||
|
jne .nocheckfg
|
||||||
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
|
.nocheckfg
|
||||||
|
GUIDisplayIconWin 10,124,43,[GUITemp]
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
cmp byte[mousewrap],1
|
cmp byte[mousewrap],1
|
||||||
jne .nocheck
|
jne .nocheck
|
||||||
@@ -4783,6 +4789,7 @@ DisplayGUIOptns:
|
|||||||
GUIOuttextwin2u 10,26,173,GUIGUIOptnsTextE,0
|
GUIOuttextwin2u 10,26,173,GUIGUIOptnsTextE,0
|
||||||
GUIOuttextwin2u 10,26,183,GUIGUIOptnsTextF,2
|
GUIOuttextwin2u 10,26,183,GUIGUIOptnsTextF,2
|
||||||
GUIOuttextwin2u 10,138,38,GUIGUIOptnsTextK,1
|
GUIOuttextwin2u 10,138,38,GUIGUIOptnsTextK,1
|
||||||
|
GUIOuttextwin2u 10,138,48,GUIGUIOptnsTextM,1
|
||||||
GUIOuttextwin2u 10,26,193,GUIGUIOptnsTextL,1
|
GUIOuttextwin2u 10,26,193,GUIGUIOptnsTextL,1
|
||||||
%endif
|
%endif
|
||||||
mov byte[GUIGUIOptnsText6],'R'
|
mov byte[GUIGUIOptnsText6],'R'
|
||||||
@@ -4808,6 +4815,7 @@ DisplayGUIOptns:
|
|||||||
GUIOuttextwin2 10,25,172,GUIGUIOptnsTextE
|
GUIOuttextwin2 10,25,172,GUIGUIOptnsTextE
|
||||||
GUIOuttextwin2 10,25,182,GUIGUIOptnsTextF
|
GUIOuttextwin2 10,25,182,GUIGUIOptnsTextF
|
||||||
GUIOuttextwin2 10,137,37,GUIGUIOptnsTextK
|
GUIOuttextwin2 10,137,37,GUIGUIOptnsTextK
|
||||||
|
GUIOuttextwin2 10,137,47,GUIGUIOptnsTextM
|
||||||
GUIOuttextwin2 10,25,192,GUIGUIOptnsTextL
|
GUIOuttextwin2 10,25,192,GUIGUIOptnsTextL
|
||||||
%endif
|
%endif
|
||||||
mov byte[GUIGUIOptnsText6],'R'
|
mov byte[GUIGUIOptnsText6],'R'
|
||||||
@@ -4902,6 +4910,7 @@ GUIGUIOptnsTextI db 'WIN',0
|
|||||||
GUIGUIOptnsTextJ db 'TRANSPARENT MSGS',0
|
GUIGUIOptnsTextJ db 'TRANSPARENT MSGS',0
|
||||||
GUIGUIOptnsTextK db 'WHEEL MOUSE',0
|
GUIGUIOptnsTextK db 'WHEEL MOUSE',0
|
||||||
GUIGUIOptnsTextL db 'ALLOW MULTIPLE INSTANCES',0
|
GUIGUIOptnsTextL db 'ALLOW MULTIPLE INSTANCES',0
|
||||||
|
GUIGUIOptnsTextM db 'FILTERED GUI',0
|
||||||
|
|
||||||
DisplayGUIAbout:
|
DisplayGUIAbout:
|
||||||
; cmp byte[OSPort],3
|
; cmp byte[OSPort],3
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ EXTSYM vesa2selec,vidbuffer,GUIOn,FPUCopy,resolutn,En2xSaI,antienab,scanlines
|
|||||||
EXTSYM hirestiledat,res512switch,curblank,spritetablea
|
EXTSYM hirestiledat,res512switch,curblank,spritetablea
|
||||||
EXTSYM lineleft,_2xSaILineW,_2xSaISuperEagleLineW, _2xSaISuper2xSaILineW
|
EXTSYM lineleft,_2xSaILineW,_2xSaISuperEagleLineW, _2xSaISuper2xSaILineW
|
||||||
EXTSYM newengen,cfield,HalfTrans
|
EXTSYM newengen,cfield,HalfTrans
|
||||||
EXTSYM GUIOn2
|
EXTSYM GUIOn2,FilteredGUI
|
||||||
EXTSYM SpecialLine
|
EXTSYM SpecialLine
|
||||||
EXTSYM vidbufferofsb
|
EXTSYM vidbufferofsb
|
||||||
EXTSYM HalfTransB,HalfTransC
|
EXTSYM HalfTransB,HalfTransC
|
||||||
@@ -46,8 +46,11 @@ NEWSYM copy640x480x16bwin
|
|||||||
add esi,16*2+256*2+32*2
|
add esi,16*2+256*2+32*2
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
; Check if interpolation mode
|
; Check if interpolation mode
|
||||||
|
cmp byte[FilteredGUI],0
|
||||||
|
jne .yi
|
||||||
cmp byte[GUIOn2],1
|
cmp byte[GUIOn2],1
|
||||||
je .nointerp
|
je .nointerp
|
||||||
|
.yi
|
||||||
cmp byte[FPUCopy],2
|
cmp byte[FPUCopy],2
|
||||||
jne .nommx
|
jne .nommx
|
||||||
cmp byte[En2xSaI],0
|
cmp byte[En2xSaI],0
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ EXTSYM vesa2selec,vidbuffer,GUIOn,FPUCopy,resolutn,En2xSaI,antienab,scanlines
|
|||||||
EXTSYM hirestiledat,res512switch,curblank,spritetablea
|
EXTSYM hirestiledat,res512switch,curblank,spritetablea
|
||||||
EXTSYM lineleft,_2xSaILineW,_2xSaISuperEagleLineW, _2xSaISuper2xSaILineW
|
EXTSYM lineleft,_2xSaILineW,_2xSaISuperEagleLineW, _2xSaISuper2xSaILineW
|
||||||
EXTSYM newengen,cfield,HalfTrans
|
EXTSYM newengen,cfield,HalfTrans
|
||||||
EXTSYM GUIOn2
|
EXTSYM GUIOn2,FilteredGUI
|
||||||
EXTSYM SpecialLine
|
EXTSYM SpecialLine
|
||||||
EXTSYM vidbufferofsb
|
EXTSYM vidbufferofsb
|
||||||
;EXTSYM Super2xSaI
|
;EXTSYM Super2xSaI
|
||||||
@@ -46,8 +46,11 @@ NEWSYM copy640x480x16bwin
|
|||||||
add esi,16*2+256*2+32*2
|
add esi,16*2+256*2+32*2
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
; Check if interpolation mode
|
; Check if interpolation mode
|
||||||
|
cmp byte[FilteredGUI],0
|
||||||
|
jne .yi
|
||||||
cmp byte[GUIOn2],1
|
cmp byte[GUIOn2],1
|
||||||
je .nointerp
|
je .nointerp
|
||||||
|
.yi
|
||||||
cmp byte[FPUCopy],2
|
cmp byte[FPUCopy],2
|
||||||
jne .nommx
|
jne .nommx
|
||||||
cmp byte[En2xSaI],0
|
cmp byte[En2xSaI],0
|
||||||
|
|||||||
Reference in New Issue
Block a user