about summary refs log blame commit diff stats
path: root/tutorial/task12.mu
blob: 1f35be218444d7d2ec9a1ebdb4acc3246bd1e159 (plain) (tree)
1
2
3
4
5
6





                                                                       
fn main screen: (addr screen) {
  draw-line screen, 0x100/x1 0x100/y1, 0x300/x2 0x100/y2, 3/color=green
  draw-line screen, 0x100/x1 0x200/y1, 0x300/x2 0x200/y2, 3/color=green
  draw-line screen, 0x100/x1 0x100/y1, 0x100/x2 0x200/y2, 3/color=green
  draw-line screen, 0x300/x1 0x100/y1, 0x300/x2 0x200/y2, 3/color=green
}