Skip to content

Instantly share code, notes, and snippets.

View AfBu's full-sized avatar

Petr Kratina AfBu

View GitHub Profile
AfBu / hello.c8.chp
Created September 22, 2015 20:29
Hello PICO-8 (Simple chip-8 program demo)
JP LOOP ; jump to main loop
DA '[Hello PICO-8 by AfBu]'
RND V0,29 ; random value to register V0 (x)
RND V1,23 ; random value to register V1 (y)
ADD V1,4 ; add 4 to register V1