Super System support
This commit is contained in:
@@ -171,6 +171,7 @@ EXTSYM ipxgetchar,ipxsendchar,TCPIPStoreByte
|
||||
EXTSYM TCPIPGetByte,GUIBIFIL
|
||||
EXTSYM ModemSendChar
|
||||
EXTSYM firstsaveinc
|
||||
EXTSYM nssdip1,nssdip2,nssdip3,nssdip4,nssdip5,nssdip6
|
||||
%ifdef __LINUX__
|
||||
EXTSYM numlockptr
|
||||
%endif
|
||||
@@ -620,7 +621,7 @@ ModemOKStat db 0 ; OK is detected on modem status
|
||||
GUIwinposxo dd 0,5 ,60 ,30 ,55 ,50 ,35 ,5 ,30 ,10 ,10 ,50 ,65 ,20 ,70 ,50 ,3 ,50
|
||||
GUIwinposyo dd 0,20 ,70 ,30 ,20 ,20 ,20 ,20 ,30 ,20 ,20 ,20 ,60 ,30 ,65 ,50 ,22 ,60
|
||||
GUIwinsizex dd 0,244 ,126 ,189 ,167 ,170 ,188 ,244 ,8*16,235 ,240 ,190 ,9*16,8*16,9*16,140 ,250 ,160
|
||||
GUIwinsizey dd 0,190 ,3*16,166 ,190 ,192 ,188 ,191 ,40 ,189 ,150 ,190 ,42 ,40 ,42 ,70 ,190 ,60
|
||||
GUIwinsizey dd 0,190 ,3*16,166 ,190 ,192 ,188 ,191 ,40 ,189 ,150 ,190 ,42 ,40 ,42 ,70 ,190 ,100
|
||||
GUIwinptr db 0
|
||||
|
||||
GUItextcolor db 0,0,0,0,0
|
||||
|
||||
@@ -3113,6 +3113,12 @@ DisplayGUIAddOnClick:
|
||||
GUIPButtonHole 9,35,byte[snesmouse],2
|
||||
GUIPButtonHole 9,45,byte[snesmouse],3
|
||||
GUIPButtonHole 9,55,byte[snesmouse],4
|
||||
GUIClickCButton 9,83,byte[nssdip1]
|
||||
GUIClickCButton 59,83,byte[nssdip2]
|
||||
GUIClickCButton 109,83,byte[nssdip3]
|
||||
GUIClickCButton 9,93,byte[nssdip4]
|
||||
GUIClickCButton 59,93,byte[nssdip5]
|
||||
GUIClickCButton 109,93,byte[nssdip6]
|
||||
ret
|
||||
|
||||
DrawMouse:
|
||||
|
||||
@@ -6023,17 +6023,67 @@ DisplayGUIAddOns:
|
||||
GUIOuttextwin2 17,21,38,GUIAddOnText3
|
||||
GUIOuttextwin2 17,21,48,GUIAddOnText4
|
||||
GUIOuttextwin2 17,21,58,GUIAddOnText5
|
||||
GUIOuttextwin2 17,10,78,GUIAddOnText6
|
||||
GUIOuttextwin2 17,21,88,GUIAddOnText7
|
||||
GUIOuttextwin2 17,71,88,GUIAddOnText8
|
||||
GUIOuttextwin2 17,121,88,GUIAddOnText9
|
||||
GUIOuttextwin2 17,21,98,GUIAddOnTextA
|
||||
GUIOuttextwin2 17,71,98,GUIAddOnTextB
|
||||
GUIOuttextwin2 17,121,98,GUIAddOnTextC
|
||||
add byte[GUItextcolor],15
|
||||
GUIOuttextwin2 17,20,17,GUIAddOnText1
|
||||
GUIOuttextwin2 17,20,27,GUIAddOnText2
|
||||
GUIOuttextwin2 17,20,37,GUIAddOnText3
|
||||
GUIOuttextwin2 17,20,47,GUIAddOnText4
|
||||
GUIOuttextwin2 17,20,57,GUIAddOnText5
|
||||
GUIOuttextwin2 17,9,77,GUIAddOnText6
|
||||
GUIOuttextwin2 17,20,87,GUIAddOnText7
|
||||
GUIOuttextwin2 17,70,87,GUIAddOnText8
|
||||
GUIOuttextwin2 17,120,87,GUIAddOnText9
|
||||
GUIOuttextwin2 17,20,97,GUIAddOnTextA
|
||||
GUIOuttextwin2 17,70,97,GUIAddOnTextB
|
||||
GUIOuttextwin2 17,120,97,GUIAddOnTextC
|
||||
GUIDisplayButtonHole 17,9,15,byte[snesmouse],0
|
||||
GUIDisplayButtonHole 17,9,25,byte[snesmouse],1
|
||||
GUIDisplayButtonHole 17,9,35,byte[snesmouse],2
|
||||
GUIDisplayButtonHole 17,9,45,byte[snesmouse],3
|
||||
GUIDisplayButtonHole 17,9,55,byte[snesmouse],4
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||
cmp byte[nssdip1],0
|
||||
je .nodip1
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||
.nodip1
|
||||
GUIDisplayIconWin 17,9,83,[GUITemp]
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||
cmp byte[nssdip2],0
|
||||
je .nodip2
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||
.nodip2
|
||||
GUIDisplayIconWin 17,59,83,[GUITemp]
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||
cmp byte[nssdip3],0
|
||||
je .nodip3
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||
.nodip3
|
||||
GUIDisplayIconWin 17,109,83,[GUITemp]
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||
cmp byte[nssdip4],0
|
||||
je .nodip4
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||
.nodip4
|
||||
GUIDisplayIconWin 17,9,93,[GUITemp]
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||
cmp byte[nssdip5],0
|
||||
je .nodip5
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||
.nodip5
|
||||
GUIDisplayIconWin 17,59,93,[GUITemp]
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||
cmp byte[nssdip6],0
|
||||
je .nodip6
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||
.nodip6
|
||||
GUIDisplayIconWin 17,109,93,[GUITemp]
|
||||
ret
|
||||
|
||||
GUIAddOnText1 db 'NONE',0
|
||||
@@ -6041,6 +6091,13 @@ GUIAddOnText2 db 'SNES MOUSE AT PORT #1',0
|
||||
GUIAddOnText3 db 'SNES MOUSE AT PORT #2',0
|
||||
GUIAddOnText4 db 'SUPER SCOPE',0
|
||||
GUIAddOnText5 db 'LETHAL ENFORCER GUN',0
|
||||
GUIAddOnText6 db 'SUPER SYSTEM',0
|
||||
GUIAddOnText7 db 'DIP 1',0
|
||||
GUIAddOnText8 db 'DIP 2',0
|
||||
GUIAddOnText9 db 'DIP 3',0
|
||||
GUIAddOnTextA db 'DIP 4',0
|
||||
GUIAddOnTextB db 'DIP 5',0
|
||||
GUIAddOnTextC db 'DIP 6',0
|
||||
|
||||
GUILoadDisp db 'LOAD GAME',0
|
||||
GUIResetDisp db 'RESET GAME',0
|
||||
|
||||
Reference in New Issue
Block a user