about summary refs log tree commit diff stats
path: root/baremetal/103grapheme.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-02-05 20:35:23 -0800
committerKartik Agaram <vc@akkartik.com>2021-02-05 20:35:23 -0800
commitf0ef1ca231fcd8475481bc288655fbf58132148b (patch)
tree26d1cf5d853aa3e15e816bdb1f5b55da069f90ad /baremetal/103grapheme.subx
parentc6b8df9d72f89afa2f0c050c8c7c80612dc8cf3c (diff)
downloadmu-f0ef1ca231fcd8475481bc288655fbf58132148b.tar.gz
7687
Diffstat (limited to 'baremetal/103grapheme.subx')
-rw-r--r--baremetal/103grapheme.subx3
1 files changed, 3 insertions, 0 deletions
diff --git a/baremetal/103grapheme.subx b/baremetal/103grapheme.subx
index 841abf6c..d26a0b58 100644
--- a/baremetal/103grapheme.subx
+++ b/baremetal/103grapheme.subx
@@ -12,6 +12,8 @@
 # The Mu computer's screen is 1024px wide and 768px tall.
 # The Mu computer's font is 8px wide and 16px tall.
 # Therefore 'x' here is in [0, 128), and 'y' is in [0, 48)
+# Doesn't update the cursor; where the cursor should go after printing the
+# current grapheme is a higher-level concern.
 draw-grapheme-on-real-screen:  # g: grapheme, x: int, y: int, color: int, background-color: int
     # . prologue
     55/push-ebp
@@ -128,6 +130,7 @@ $set-cursor-position-on-real-screen:end:
 #   - does not preserve what was at the cursor. Caller is responsible for
 #     tracking what was on the screen at this position before and passing it
 #     in again.
+#   - does not stop showing the cursor at this location when the cursor moves
 show-cursor-on-real-screen:  # g: grapheme
     # . prologue
     55/push-ebp