; vi:filetype=nasm ts=8 sts=8 sw=8:
- bits 16
- org 7e00h ; that's where our boot loader puts us (see src/boot/boot.asm)
+ bits 32
+ section .text
+
+ extern init_gfx
+ extern clear
+ extern slow_sprite
+ extern wait_vsync
+ extern swap_buffers
call init_gfx
push word 160
push word 0
call slow_sprite
+ add esp, 6
call wait_vsync
call swap_buffers
jmp main_loop
-
-%include "gfx.asm"
-
-%include "data/sprsheet.inc"