diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-01-13 21:15:24 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-01-13 21:15:24 -0800 |
commit | 686307abe0efa3888bf68ae7843ccdbc5170dd4d (patch) | |
tree | 9ec109acc7eb35c6b7b3fe69f518698c554f6153 /baremetal/ex6.mu | |
parent | fc9286f3b358f80dfabb1d3e6c7d3f468afa3a19 (diff) | |
download | mu-686307abe0efa3888bf68ae7843ccdbc5170dd4d.tar.gz |
7516
Diffstat (limited to 'baremetal/ex6.mu')
-rw-r--r-- | baremetal/ex6.mu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/baremetal/ex6.mu b/baremetal/ex6.mu index 587720d5..5e47a57c 100644 --- a/baremetal/ex6.mu +++ b/baremetal/ex6.mu @@ -20,13 +20,13 @@ fn main { x, y <- draw-text-wrapping-right-then-down 0, "Mu!", 0x10, 0x20, 0x78, 0x50, x, y, 0xa # drawing at the cursor in multiple directions - x, y <- draw-text-wrapping-down-then-right-from-cursor-over-full-screen 0, "abc", 0xa - x, y <- draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0, "def", 0xa + draw-text-wrapping-down-then-right-from-cursor-over-full-screen 0, "abc", 0xa + draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0, "def", 0xa # test drawing near the edge x <- draw-text-rightward 0, "R", 0x3f8, 0x400, 0x100, 0xa - x, y <- draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0, "wrapped from R", 0xa + draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0, "wrapped from R", 0xa x <- draw-text-downward 0, "D", 0x100, 0x2f0, 0x300, 0xa - x, y <- draw-text-wrapping-down-then-right-from-cursor-over-full-screen 0, "wrapped from D", 0xa + draw-text-wrapping-down-then-right-from-cursor-over-full-screen 0, "wrapped from D", 0xa } |