case-fix for YASM

This commit is contained in:
ipher
2004-05-26 02:14:07 +00:00
parent 194c99ab29
commit 7572141905
3 changed files with 17 additions and 17 deletions

View File

@@ -2107,7 +2107,7 @@ NEWSYM init60hz
mov dword[timercount],19900
out 40h,al
mov al,ah
out 40H,al
out 40h,al
ret
.dopal
mov al,00110110b
@@ -2116,17 +2116,17 @@ NEWSYM init60hz
mov dword[timercount],23863
out 40h,al
mov al,ah
out 40H,al
out 40h,al
ret
NEWSYM init18_2hz
mov al,00110110b
out 43H,al
out 43h,al
mov ax,0
mov dword[timercount],65536
out 40H,al
out 40h,al
mov al,ah
out 40H,al
out 40h,al
ret
NEWSYM Game60hzcall

View File

@@ -172,9 +172,9 @@ NEWSYM GetCoords
mov ecx,00FFFFh
.loopa
in al,dx
test al,01H
test al,01h
jz .YAxis
test al,02H
test al,02h
jz .XAxis
inc dword[JoyX]
inc dword[JoyY]
@@ -230,22 +230,22 @@ NEWSYM GetCoords3
mov ecx,01FFFFh
.loopa
in al,dx
test al,01H
test al,01h
jz .YAxis
inc dword[JoyX]
nop
.YAxis
test al,02H
test al,02h
jz .XAxis
inc dword[JoyY]
nop
.XAxis
test al,04H
test al,04h
jz .YAxis2
inc dword[JoyX2]
nop
.YAxis2
test al,08H
test al,08h
jz .XAxis2
inc dword[JoyY2]
nop

View File

@@ -1090,20 +1090,20 @@ GUIskipnextkey42 resb 1
SECTION .text
NEWSYM GUIinit18_2hz
mov al,00110110b
out 43H,al
out 43h,al
mov ax,0
out 40H,al
out 40h,al
mov al,ah
out 40H,al
out 40h,al
ret
NEWSYM GUIinit36_4hz
mov al,00110110b
out 43H,al
out 43h,al
mov ax,32768
out 40H,al
out 40h,al
mov al,ah
out 40H,al
out 40h,al
ret
NEWSYM GUI36hzcall