From d418bc0c9788b54d9d477b31287821033ec9b4a1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 29 Jun 2021 21:58:46 -0700 Subject: . --- timer.subx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'timer.subx') 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 -- cgit 1.4.1-2-gfad0