diff options
Diffstat (limited to 'src/fruit.asm')
| -rw-r--r-- | src/fruit.asm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fruit.asm b/src/fruit.asm index 31226af..48c718e 100644 --- a/src/fruit.asm +++ b/src/fruit.asm @@ -22,11 +22,14 @@ spawn_fruit: rdtsc shr ax, 5 div byte [width] + inc ah mov byte [fruit_x], ah -;; TODO + + ; y position rdtsc shr ax, 5 div byte [height] + inc ah mov byte [fruit_y], ah ret @@ -46,7 +49,7 @@ _31:call move_cursor_down cmp bl, 0 jnz _31 - mov rax, '*' + mov rax, '-' call write_byte pop rbx |