converted to protected mode, not done
[ld45_start_nothing] / src / main.asm
1 ; vi:filetype=nasm ts=8 sts=8 sw=8:
2         bits 32
3         section .text
4
5         extern init_gfx
6         extern clear
7         extern slow_sprite
8         extern wait_vsync
9         extern swap_buffers
10
11         call init_gfx
12
13 main_loop:
14         call clear
15
16         push word 100
17         push word 160
18         push word 0
19         call slow_sprite
20         add esp, 6
21
22         call wait_vsync
23         call swap_buffers
24         jmp main_loop