about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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