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

View File

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

View File

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