about summary refs log tree commit diff stats
path: root/baremetal/501draw-text.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-02-09 20:53:47 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-02-09 20:53:47 -0800
commitc1e841fc2dc43cd94e993165ff0fbde12fd0ec15 (patch)
treeff7b515fd16915cb015bd466838d65837ecf4323 /baremetal/501draw-text.mu
parent94e43069c712488a422a135babe076dcb5013eaa (diff)
downloadmu-c1e841fc2dc43cd94e993165ff0fbde12fd0ec15.tar.gz
7701
Diffstat (limited to 'baremetal/501draw-text.mu')
-rw-r--r--baremetal/501draw-text.mu8
1 files changed, 4 insertions, 4 deletions
diff --git a/baremetal/501draw-text.mu b/baremetal/501draw-text.mu
index b9fc274f..ba1d4805 100644
--- a/baremetal/501draw-text.mu
+++ b/baremetal/501draw-text.mu
@@ -1,6 +1,6 @@
 # some primitives for moving the cursor without making assumptions about
 # raster order
-fn cursor-left screen: (addr screen) {
+fn move-cursor-left screen: (addr screen) {
   var cursor-x/eax: int <- copy 0
   var cursor-y/ecx: int <- copy 0
   cursor-x, cursor-y <- cursor-position screen
@@ -13,7 +13,7 @@ fn cursor-left screen: (addr screen) {
   set-cursor-position screen, cursor-x, cursor-y
 }
 
-fn cursor-right screen: (addr screen) {
+fn move-cursor-right screen: (addr screen) {
   var _width/eax: int <- copy 0
   var dummy/ecx: int <- copy 0
   _width, dummy <- screen-size screen
@@ -31,7 +31,7 @@ fn cursor-right screen: (addr screen) {
   set-cursor-position screen, cursor-x, cursor-y
 }
 
-fn cursor-up screen: (addr screen) {
+fn move-cursor-up screen: (addr screen) {
   var cursor-x/eax: int <- copy 0
   var cursor-y/ecx: int <- copy 0
   cursor-x, cursor-y <- cursor-position screen
@@ -44,7 +44,7 @@ fn cursor-up screen: (addr screen) {
   set-cursor-position screen, cursor-x, cursor-y
 }
 
-fn cursor-down screen: (addr screen) {
+fn move-cursor-down screen: (addr screen) {
   var dummy/eax: int <- copy 0
   var _height/ecx: int <- copy 0
   dummy, _height <- screen-size screen