diff --git a/zsnes/src/video/2xsaimmx.inc b/zsnes/src/video/2xsaimmx.inc index 21b383a7..b97f235f 100644 --- a/zsnes/src/video/2xsaimmx.inc +++ b/zsnes/src/video/2xsaimmx.inc @@ -44,7 +44,7 @@ GLOBAL _2xSaISuperEagleLine GLOBAL Init_2xSaIMMX %endif - SECTION .text ALIGN = 32 + SECTION .text %ifdef __DJGPP__ ;EXTERN_C void __2xSaILine (uint8 *srcPtr, uint32 srcPitch, uint32 width, @@ -2035,7 +2035,7 @@ end1: ;------------------------------------------------------------------------- ;------------------------------------------------------------------------- - SECTION .data ALIGN = 32 + SECTION .data ;Some constants colorMask dd 0xF7DEF7DE, 0xF7DEF7DE lowPixelMask dd 0x08210821, 0x08210821 @@ -2048,7 +2048,7 @@ TRUE dd 0xffffffff, 0xffffffff ONE dd 0x00010001, 0x00010001 - SECTION .bss ALIGN = 32 + SECTION .bss ACPixel resb 8 Mask1 resb 8 Mask2 resb 8 diff --git a/zsnes/src/video/2xsaiw.asm b/zsnes/src/video/2xsaiw.asm index 29f73f91..9278b2d7 100644 --- a/zsnes/src/video/2xsaiw.asm +++ b/zsnes/src/video/2xsaiw.asm @@ -38,7 +38,7 @@ NEWSYM TwoxSaiWAsmStart BITS 32 - SECTION .text ALIGN = 32 + SECTION .text srcPtr equ 8 deltaPtr equ 12 @@ -2045,7 +2045,7 @@ end1: ;------------------------------------------------------------------------- ;------------------------------------------------------------------------- - SECTION .data ALIGN = 32 + SECTION .data ;Some constants colorMask dd 0xF7DEF7DE, 0xF7DEF7DE lowPixelMask dd 0x08210821, 0x08210821 @@ -2058,7 +2058,7 @@ TRUE dd 0xffffffff, 0xffffffff ONE dd 0x00010001, 0x00010001 - SECTION .bss ALIGN = 32 + SECTION .bss ACPixel resb 8 Mask1 resb 8 Mask2 resb 8 diff --git a/zsnes/src/video/2xsaiw.inc b/zsnes/src/video/2xsaiw.inc index 8986eeb2..08a53076 100644 --- a/zsnes/src/video/2xsaiw.inc +++ b/zsnes/src/video/2xsaiw.inc @@ -50,7 +50,7 @@ GLOBAL _2xSaISuperEagleLineW GLOBAL Init_2xSaIMMX %endif - SECTION .text ALIGN = 32 + SECTION .text %ifdef __DJGPP__ ;EXTERN_C void __2xSaILineW (uint8 *srcPtr, uint32 srcPitch, uint32 width, @@ -1342,7 +1342,7 @@ end: ;------------------------------------------------------------------------- ;------------------------------------------------------------------------- - SECTION .data ALIGN = 32 + SECTION .data ;Some constants colorMask dd 0xF7DEF7DE, 0xF7DEF7DE lowPixelMask dd 0x08210821, 0x08210821 diff --git a/zsnes/src/video/copyvid.inc b/zsnes/src/video/copyvid.inc index 6fabbcaa..30b98888 100644 --- a/zsnes/src/video/copyvid.inc +++ b/zsnes/src/video/copyvid.inc @@ -1539,7 +1539,7 @@ NEWSYM copyvesa2640x400x16b ;******************************************************* %endif -SECTION .data ALIGN = 32 +SECTION .data NEWSYM EagleHold, dd 0 NEWSYM smallscreenon, dd 0 @@ -2762,7 +2762,7 @@ NEWSYM copyvesa2320x240x16b ;%endmacro %endif -SECTION .bss ;ALIGN = 32 +SECTION .bss NEWSYM rescompareng, resd 1 NEWSYM nextdrawallng, resd 1 NEWSYM prevcol0ng, resd 1 @@ -5639,7 +5639,7 @@ NEWSYM interpolate640x480x16b ; Copy VESA2 640x480x16b, bit setting 1:5:5:5 ;******************************************************* -SECTION .bss ALIGN = 32 +SECTION .bss .interpspad resd 8 SECTION .text