Mercurial > sdl-ios-xcode
comparison src/hermes/x86p_16.asm @ 1697:393092a3ebf6 SDL-1.3
Fixed bug #157
[patch tweaked to handle older nasm, which doesn't support :function syntax]
------- Comment #5 From Mike Frysinger 2006-05-22 01:24 [reply] -------
Created an attachment (id=132) [edit]
libsdl-hidden-nasm.patch
here's the patch i posted here:
http://www.libsdl.org/pipermail/sdl/2006-March/073618.html
this will hide the symbols dynamically if the build nasm/yasm supports the
hidden stuff ... in other words, this patch should be safe with both older and
new versions of nasm/yasm
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 21 Jun 2006 07:57:59 +0000 |
parents | 2d6dc7de1145 |
children | 4ce6deb843c5 |
comparison
equal
deleted
inserted
replaced
1696:3695d3637045 | 1697:393092a3ebf6 |
---|---|
8 ; | 8 ; |
9 ; Routines adjusted for Hermes by Christian Nentwich (brn@eleet.mcb.at) | 9 ; Routines adjusted for Hermes by Christian Nentwich (brn@eleet.mcb.at) |
10 ; Used with permission. | 10 ; Used with permission. |
11 ; | 11 ; |
12 | 12 |
13 | |
14 BITS 32 | 13 BITS 32 |
15 | 14 |
16 GLOBAL _ConvertX86p16_32RGB888 | 15 %include "common.asm" |
17 GLOBAL _ConvertX86p16_32BGR888 | 16 |
18 GLOBAL _ConvertX86p16_32RGBA888 | 17 SDL_FUNC _ConvertX86p16_16BGR565 |
19 GLOBAL _ConvertX86p16_32BGRA888 | 18 SDL_FUNC _ConvertX86p16_16RGB555 |
20 GLOBAL _ConvertX86p16_24RGB888 | 19 SDL_FUNC _ConvertX86p16_16BGR555 |
21 GLOBAL _ConvertX86p16_24BGR888 | 20 SDL_FUNC _ConvertX86p16_8RGB332 |
22 GLOBAL _ConvertX86p16_16BGR565 | |
23 GLOBAL _ConvertX86p16_16RGB555 | |
24 GLOBAL _ConvertX86p16_16BGR555 | |
25 GLOBAL _ConvertX86p16_8RGB332 | |
26 | 21 |
27 EXTERN _ConvertX86 | 22 EXTERN _ConvertX86 |
28 EXTERN _x86return | 23 EXTERN _x86return |
29 | 24 |
30 SECTION .text | 25 SECTION .text |