about summary refs log tree commit diff stats
path: root/timer.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-29 21:58:46 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-29 21:58:46 -0700
commitd418bc0c9788b54d9d477b31287821033ec9b4a1 (patch)
tree41c391965e1d1f3bfcc9f3bc969bba5a919931af /timer.subx
parentcd411f09014d6be1325955bd77bca8cffb1fa942 (diff)
downloadmu-d418bc0c9788b54d9d477b31287821033ec9b4a1.tar.gz
.
Diffstat (limited to 'timer.subx')
-rw-r--r--timer.subx10
1 files changed, 5 insertions, 5 deletions
diff --git a/timer.subx b/timer.subx
index c7539de1..5a317c91 100644
--- a/timer.subx
+++ b/timer.subx
@@ -351,10 +351,10 @@ timer-interrupt-handler:
   b0/copy-to-al 0x20/imm8
   e6/write-al-into-port 0x20/imm8
   31/xor %eax 0/r32/eax
-  # ecx = *Current-color
-  8b/-> *Current-color 1/r32/ecx
-  # increment *Current-color
-  81 0/subop/add *Current-color 0x01010101/imm32
+  # ecx = *Timer-current-color
+  8b/-> *Timer-current-color 1/r32/ecx
+  # update *Timer-current-color
+  81 0/subop/add *Timer-current-color 0x01010101/imm32
   # eax = *Video-memory + 0x1200 (a few rows down from top, around middle of screen)
   8b/-> *Video-memory-addr 0/r32/eax
   05/add-to-eax 0x1200/imm32
@@ -432,7 +432,7 @@ Video-memory-addr:
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 # }}}
 
-Current-color:
+Timer-current-color:
   0/imm32
 
 # vim:ft=subx