1 ; vi:filetype=nasm ts=8 sts=8 sw=8:
8 PLAYER_MOVE_SPEED equ 5
10 ; this is placed at the beginning of our binary at 1mb (see game.ld)
11 ; and it's what gets executed directly by the boot loader
37 push dword FRAMEBUF_ADDR
50 sub eax, PLAYER_MOVE_SPEED
53 .not_w: check_key SC_S
55 add eax, PLAYER_MOVE_SPEED
65 sub eax, PLAYER_MOVE_SPEED
68 .not_a: check_key SC_D
70 add eax, PLAYER_MOVE_SPEED