Difference between revisions of "Code Examples"
From GbdevWiki
Jellystapler (Talk | contribs) (→Simple GBBasic 2.10 example) |
|||
Line 1: | Line 1: | ||
− | |||
== Simple GBBasic 2.10 example == | == Simple GBBasic 2.10 example == | ||
Line 25: | Line 24: | ||
</pre> | </pre> | ||
+ | |||
+ | == Assembler examples == | ||
+ | |||
+ | [[ASM Init| GB Initialization]] |
Revision as of 10:55, 8 December 2012
Simple GBBasic 2.10 example
10 rem Simple example 20 for i=1 to 16 30 u=rnd(1)*16 40 print u 50 delay 20 60 next i 70 end
Simple GBDK example
#include <gb/gb.h> #include <stdio.h> void main() { printf("nHello World!"); }