# HG changeset patch # User Dylan Holmes # Date 1333961164 18000 # Node ID a6f212ae29a3dfabe155a26b6fd3a98d9bbd8427 # Parent 998702f021e32884a271e8e39c83fcdddfd8363c Found some tile sprites for printable characters. Neato. diff -r 998702f021e3 -r a6f212ae29a3 org/rom.org --- a/org/rom.org Mon Apr 09 01:44:19 2012 -0500 +++ b/org/rom.org Mon Apr 09 03:46:04 2012 -0500 @@ -1567,6 +1567,24 @@ ;; 0x251A (in indexable mem): image decompression routine seems to begin here. +;; Note: There are two tile tables, one from 8000-8FFF, the other from +;; 8800-97FF. The latter contains symbols, possibly map tiles(?), with some japanese chars and stuff at the end. +(defn print-pixel-letters! + "The pixel tiles representing letters. Neat!" + ([] (print-pixel-letters! (read-state "oak-speaks"))) +([state] + (map + (comp + println + (partial map #(if (zero? %) \space 0)) + #(if (< (count %) 8) + (recur (cons 0 %)) + %) + reverse bit-list) + + (take 0xFFF (drop 0x8800 (memory state)))))) + + (comment (def hxc-later diff -r 998702f021e3 -r a6f212ae29a3 save-states/oak-speaks.sav Binary file save-states/oak-speaks.sav has changed