https://github.com/akkartik/mu/blob/main/apps/ex4.mu
 1 # Draw a character using the built-in font (GNU unifont)
 2 #
 3 # To build a disk image:
 4 #   ./translate apps/ex4.mu        # emits code.img
 5 # To run:
 6 #   qemu-system-i386 code.img
 7 #
 8 # Expected output: letter 'A' in green near the top-left corner of screen
 9 
10 fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) {
11   var dummy/eax: int <- draw-code-point screen, 0x41/A, 2/row, 1/col, 0xa/fg, 0/bg
12   # wide glyph
13 #?   var dummy/eax: int <- draw-code-point screen, 0x1b/esc, 2/row, 1/col, 0xa/fg, 0/bg
14 }