This commit is contained in:
Kartik K. Agaram 2021-10-24 07:05:35 -07:00
parent 016e788f08
commit d3be351847
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) {
# Draw a single line of ASCII text.
#
# To build a disk image:
# ./translate tutorial/task1.mu # emits code.img
# To run:
# qemu-system-i386 code.img
fn main screen: (addr screen) {
var dummy/eax: int <- draw-text-rightward screen, "hello from baremetal Mu!", 0x10/x, 0x400/xmax, 0x10/y, 0xa/fg, 0/bg
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 62 KiB