summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/src/hermes/mmx_main.asm
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2018-02-07 20:04:46 -0500
committerFranklin Wei <git@fwei.tk>2018-03-12 20:52:01 -0400
commit6039eb05ba6d82ef56f2868c96654c552d117bf9 (patch)
tree9db7016bcbf66cfdf7b9bc998d84c6eaff9c8378 /apps/plugins/sdl/src/hermes/mmx_main.asm
parentef373c03b96b0be08babca581d9f10bccfd4931f (diff)
downloadrockbox-6039eb05ba6d82ef56f2868c96654c552d117bf9.tar.gz
rockbox-6039eb05ba6d82ef56f2868c96654c552d117bf9.zip
sdl: remove non-rockbox drivers
We never use any of these other drivers, so having them around just takes up space. Change-Id: Iced812162df1fef3fd55522b7e700acb6c3bcd41
Diffstat (limited to 'apps/plugins/sdl/src/hermes/mmx_main.asm')
-rw-r--r--apps/plugins/sdl/src/hermes/mmx_main.asm74
1 files changed, 0 insertions, 74 deletions
diff --git a/apps/plugins/sdl/src/hermes/mmx_main.asm b/apps/plugins/sdl/src/hermes/mmx_main.asm
deleted file mode 100644
index 00032b95c6..0000000000
--- a/apps/plugins/sdl/src/hermes/mmx_main.asm
+++ /dev/null
@@ -1,74 +0,0 @@
1;
2; mmx format converter main loops for HERMES
3; Some routines Copyright (c) 1998 Christian Nentwich (c.nentwich@cs.ucl.ac.uk)
4; This source code is licensed under the GNU LGPL
5;
6; Please refer to the file COPYING.LIB contained in the distribution for
7; licensing conditions
8;
9
10BITS 32
11
12%include "common.inc"
13
14SDL_FUNC _ConvertMMX
15
16SECTION .text
17
18;; _ConvertMMX:
19;; [ESP+8] ConverterInfo*
20;; --------------------------------------------------------------------------
21;; ConverterInfo (ebp+..)
22;; 0: void *s_pixels
23;; 4: int s_width
24;; 8: int s_height
25;; 12: int s_add
26;; 16: void *d_pixels
27;; 20: int d_width
28;; 24: int d_height
29;; 28: int d_add
30;; 32: void (*converter_function)()
31;; 36: int32 *lookup
32
33_ConvertMMX:
34 push ebp
35 mov ebp,esp
36
37; Save the registers used by the blitters, necessary for optimized code
38 pusha
39
40 mov eax,[ebp+8]
41
42 cmp dword [eax+4],BYTE 0
43 je endconvert
44
45 mov ebp,eax
46
47 mov esi,[ebp+0]
48 mov edi,[ebp+16]
49
50y_loop:
51 mov ecx,[ebp+4]
52
53 call [ebp+32]
54
55 add esi,[ebp+12]
56 add edi,[ebp+28]
57
58 dec dword [ebp+8]
59 jnz y_loop
60
61
62; Restore the registers used by the blitters, necessary for optimized code
63 popa
64
65 pop ebp
66
67endconvert:
68 emms
69
70 ret
71
72%ifidn __OUTPUT_FORMAT__,elf32
73section .note.GNU-stack noalloc noexec nowrite progbits
74%endif