Mercurial > vba-clojure
view clojure/com/aurellem/run/choreo.clj @ 535:2de44c6184ee
refactored functionality of play-midi into midi-bytes for reuse.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 25 Jun 2012 14:15:38 -0500 |
parents | bad7b7430245 |
children | c2ee7222a3c4 |
line wrap: on
line source
1 (ns com.aurellem.run.choreo2 (:use (com.aurellem.gb saves gb-driver util constants3 items vbm characters money4 rlm-assembly))5 (:use (com.aurellem.run util music title save-corruption6 bootstrap-0 bootstrap-1 image))7 (:require clojure.string)8 (:import [com.aurellem.gb.gb_driver SaveState])9 (:import java.io.File))13 ;; take over game14 ;; [X] silence noise15 ;; [ ] construct writing/playing kernel16 ;; [ ] play pony song while writing picture-program17 ;; [ ] run picture program to display pinkie pie mark21 (defn-memo silence-noise22 ([] (silence-noise (launch-main-bootstrap-program)))23 ([script]24 (->> script25 (write-RAM 0xFF1A [0 0 0]))))28 (defn-memo write-pony-music-data29 ([] (write-pony-music-data (silence-noise)))30 ([script]31 (->> script32 (write-RAM 0xA000