diff clojure/com/aurellem/run/adv_choreo.clj @ 567:dba6bb38d2fb

add code to load row and column into DE.
author Robert McIntyre <rlm@mit.edu>
date Sat, 01 Sep 2012 03:09:31 -0500
parents a2ff0032119e
children d2d41ecc88e0
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/run/adv_choreo.clj	Sat Sep 01 03:03:46 2012 -0500
     1.2 +++ b/clojure/com/aurellem/run/adv_choreo.clj	Sat Sep 01 03:09:31 2012 -0500
     1.3 @@ -192,9 +192,12 @@
     1.4                  ;; Reset HL to initial value
     1.5                  0x21
     1.6                  (reverse (disect-bytes-2 data-start))
     1.7 -                
     1.8 -                0x78 0x22 ;; B -> save glyphs-rendered
     1.9 -                0x79 0x22 ;; 
    1.10 +                ;; load row and column into DE
    1.11 +                0x23 0x23 ;; HL += 2
    1.12 +                0x2A 0x57 ;; row -> D
    1.13 +                0x2A 0x5F ;; column -> E
    1.14 +
    1.15 +
    1.16                  
    1.17  
    1.18                  ])