yagbas 0.2.0

Yagbas is a programming language that builds programs for the Game Boy.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12

#[cart(gbc_compatible)]
fn main() {
  let x = *KEY1;
  if !x.7 {
    // switch to double speed
    *P1 = P1F_GET_NONE;
    *IE = 0;
    *KEY1 = 1;
    stop!();
  }
}