-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtail.asm
More file actions
45 lines (32 loc) · 876 Bytes
/
tail.asm
File metadata and controls
45 lines (32 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
", 0;
vsh: dq _vsh
fsh: dq _fsh
temp: dd 0.0
speed: dd 100.0
f1: dd 1.0
sizeof_data equ ($ - DATA)
SECTION .bss vfollows=.data valign=1
BSS:
; {{{ Pointers to functions found via dlsym
functions_pointers:
SDL_Init resq 1
SDL_SetVideoMode resq 1
SDL_PollEvent resq 1
SDL_Quit resq 1
;SDL_ShowCursor resq 1
SDL_GL_SwapBuffers resq 1
SDL_GetTicks resq 1
glCreateShader resq 1
glCreateProgram resq 1
glShaderSource resq 1
glCompileShader resq 1
glAttachShader resq 1
glLinkProgram resq 1
glUseProgram resq 1
glRotatef resq 1
glRecti resq 1
; }}}
e resq 1
sizeof_bss equ ($ - BSS)
sizeof_load equ (sizeof_text + sizeof_data)
sizeof_all equ (sizeof_text + sizeof_data + sizeof_bss)