about summary refs log tree commit diff stats
path: root/apps/ex1.mu
blob: 85fc3f81c6ea558429784d0f1a57d890e5aaeac6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# The simplest possible bare-metal program.
#
# To build a disk image:
#   ./translate apps/ex1.mu        # emits code.img
# To run:
#   qemu-system-i386 code.img
#
# Expected output: blank screen with no errors

fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) {
}