6502-opcodes/data/snake-easy-6502.asm
2022-12-07 18:19:49 -05:00

32 lines
262 B
NASM

JSR init
JSR loop
init:
; initializes values
JSR initSnake
JSR generateApplePosition
RTS
loop:
; primary game loop
RTS
initSnake:
; initializes the snake
RTS
generateApplePosition:
; generates the position of the apple
RTS