Removed use joystick port 209h from windows port
This commit is contained in:
@@ -256,7 +256,7 @@ CalibrateDev1:
|
|||||||
mov ebx,[GUIInputRefP+eax*4]
|
mov ebx,[GUIInputRefP+eax*4]
|
||||||
mov bl,[ebx]
|
mov bl,[ebx]
|
||||||
mov byte[GUICBHold],0
|
mov byte[GUICBHold],0
|
||||||
%ifndef __LINUX__
|
%ifdef __MSDOS__
|
||||||
cmp byte[pl1p209+eax],0
|
cmp byte[pl1p209+eax],0
|
||||||
jne near .port209
|
jne near .port209
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
@@ -1971,7 +1971,7 @@ DisplayGUIInputClick:
|
|||||||
DGOptnsProcBoxb 165,145,[edi+4]
|
DGOptnsProcBoxb 165,145,[edi+4]
|
||||||
DGOptnsProcBoxb 125,135,[edi+8]
|
DGOptnsProcBoxb 125,135,[edi+8]
|
||||||
DGOptnsProcBoxb 125,145,[edi+12]
|
DGOptnsProcBoxb 125,145,[edi+12]
|
||||||
%ifndef __LINUX__
|
%ifdef __MSDOS__
|
||||||
xor ebx,ebx
|
xor ebx,ebx
|
||||||
mov bl,[cplayernum]
|
mov bl,[cplayernum]
|
||||||
GUIClickCButtonID 5,162,byte[pl1p209+ebx]
|
GUIClickCButtonID 5,162,byte[pl1p209+ebx]
|
||||||
|
|||||||
@@ -1017,7 +1017,7 @@ DisplayGUIInput:
|
|||||||
GUIOuttextwin2 3,76,132,GUIInputTextA
|
GUIOuttextwin2 3,76,132,GUIInputTextA
|
||||||
GUIOuttextwin2 3,76,142,GUIInputTextB
|
GUIOuttextwin2 3,76,142,GUIInputTextB
|
||||||
GUIOuttextwin2 3,76,152,GUIInputTextC
|
GUIOuttextwin2 3,76,152,GUIInputTextC
|
||||||
%ifndef __LINUX__
|
%ifdef __MSDOS__
|
||||||
GUIOuttextwin2 3,20,167,GUIInputTextW
|
GUIOuttextwin2 3,20,167,GUIInputTextW
|
||||||
%endif
|
%endif
|
||||||
GUIOuttextwin2 3,156,102,GUIInputText7
|
GUIOuttextwin2 3,156,102,GUIInputText7
|
||||||
@@ -1041,7 +1041,7 @@ DisplayGUIInput:
|
|||||||
GUIOuttextwin2 3,75,131,GUIInputTextA
|
GUIOuttextwin2 3,75,131,GUIInputTextA
|
||||||
GUIOuttextwin2 3,75,141,GUIInputTextB
|
GUIOuttextwin2 3,75,141,GUIInputTextB
|
||||||
GUIOuttextwin2 3,75,151,GUIInputTextC
|
GUIOuttextwin2 3,75,151,GUIInputTextC
|
||||||
%ifndef __LINUX__
|
%ifdef __MSDOS__
|
||||||
GUIOuttextwin2 3,20,167,GUIInputTextW
|
GUIOuttextwin2 3,20,167,GUIInputTextW
|
||||||
%endif
|
%endif
|
||||||
GUIOuttextwin2 3,155,101,GUIInputText7
|
GUIOuttextwin2 3,155,101,GUIInputText7
|
||||||
@@ -1052,7 +1052,7 @@ DisplayGUIInput:
|
|||||||
GUIOuttextwin2 3,152,146,GUIInputTexte
|
GUIOuttextwin2 3,152,146,GUIInputTexte
|
||||||
GUIOuttextwin2 3,112,136,GUIInputTextf
|
GUIOuttextwin2 3,112,136,GUIInputTextf
|
||||||
GUIOuttextwin2 3,112,146,GUIInputTextg
|
GUIOuttextwin2 3,112,146,GUIInputTextg
|
||||||
%ifndef __LINUX__
|
%ifdef __MSDOS__
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov al,[cplayernum]
|
mov al,[cplayernum]
|
||||||
|
|||||||
@@ -59,9 +59,9 @@ MAINOBJ=cfgload.o endmem.o fixsin.o init.o ui.o vcache.o water.o
|
|||||||
|
|
||||||
OBJS=${CHIPSOBJ} ${CPUOBJ} ${DOSOBJ} ${GUIOBJ} ${VIDEOBJ} ${PREOBJ} ${MAINOBJ} ${ZIPOBJ}
|
OBJS=${CHIPSOBJ} ${CPUOBJ} ${DOSOBJ} ${GUIOBJ} ${VIDEOBJ} ${PREOBJ} ${MAINOBJ} ${ZIPOBJ}
|
||||||
LIBS=-lz -lgcc -lm
|
LIBS=-lz -lgcc -lm
|
||||||
CFLAGS=
|
CFLAGS=-D__MSDOS__
|
||||||
ASM=nasm
|
ASM=nasm
|
||||||
ASMFLAGS=-f coff
|
ASMFLAGS=-f coff -D__MSDOS__
|
||||||
CC=gcc
|
CC=gcc
|
||||||
PP=gpp
|
PP=gpp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user