diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-07 16:37:10 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-07 16:37:10 -0800 |
commit | 3ca102f0152f23718b72b35207e9272daf7514c3 (patch) | |
tree | 6ce6e0cabb4eecd46dd2a47e69c2ec49054139e9 /501draw-text.mu | |
parent | ad2dd26ed49a5eb721773b376c3f28d1c8dcfcc9 (diff) | |
download | mu-3ca102f0152f23718b72b35207e9272daf7514c3.tar.gz |
tutorial: improve task 14 based on sejo's feedback
Diffstat (limited to '501draw-text.mu')
-rw-r--r-- | 501draw-text.mu | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/501draw-text.mu b/501draw-text.mu index 61023642..5d2917a9 100644 --- a/501draw-text.mu +++ b/501draw-text.mu @@ -81,13 +81,6 @@ fn move-cursor-to-left-margin-of-next-line screen: (addr screen) { set-cursor-position screen, cursor-x, cursor-y } -fn draw-code-point-at-cursor screen: (addr screen), c: code-point, color: int, background-color: int { - var cursor-x/eax: int <- copy 0 - var cursor-y/ecx: int <- copy 0 - cursor-x, cursor-y <- cursor-position screen - var dummy/eax: int <- draw-code-point screen, c, cursor-x, cursor-y, color, background-color -} - fn draw-code-point-at-cursor-over-full-screen screen: (addr screen), c: code-point, color: int, background-color: int { var cursor-x/eax: int <- copy 0 var cursor-y/ecx: int <- copy 0 |