From 75721419051488ffc823a7d298c5d9d7e21f2943 Mon Sep 17 00:00:00 2001 From: ipher <> Date: Wed, 26 May 2004 02:14:07 +0000 Subject: [PATCH] case-fix for YASM --- zsnes/src/cpu/execute.asm | 10 +++++----- zsnes/src/dos/joy.asm | 12 ++++++------ zsnes/src/gui/gui.asm | 12 ++++++------ 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/zsnes/src/cpu/execute.asm b/zsnes/src/cpu/execute.asm index eef95fe8..795f418f 100644 --- a/zsnes/src/cpu/execute.asm +++ b/zsnes/src/cpu/execute.asm @@ -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 diff --git a/zsnes/src/dos/joy.asm b/zsnes/src/dos/joy.asm index df81bedb..eaa86f2b 100644 --- a/zsnes/src/dos/joy.asm +++ b/zsnes/src/dos/joy.asm @@ -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 diff --git a/zsnes/src/gui/gui.asm b/zsnes/src/gui/gui.asm index 23c896e9..fcca9d08 100644 --- a/zsnes/src/gui/gui.asm +++ b/zsnes/src/gui/gui.asm @@ -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