view clojure/com/aurellem/run/adv_choreo.clj @ 550:23572082c4a5

going to explore a cool new idea for the final video.
author Robert McIntyre <rlm@mit.edu>
date Thu, 30 Aug 2012 09:32:57 -0500
parents
children b69a3dba8045
line wrap: on
line source
1 ;;;; "Advanced Choreography" -- this is the final video for this project.
3 (ns com.aurellem.run.adv-choreo
4 (:use (com.aurellem.gb saves gb-driver util constants
5 items vbm characters money
6 rlm-assembly))
7 (:use (com.aurellem.run util music title save-corruption
8 bootstrap-0 bootstrap-1 image
9 ram-display final-cut basic-choreo))
10 (:require clojure.string)
11 (:import [com.aurellem.gb.gb_driver SaveState])
12 (:import java.io.File))
16 ;; Use the gameboy's screen to display the new programming
17 ;; instead of a side window. This will make it look much
18 ;; cooler and create a terminal-like effect as the game is
19 ;; being reprogramed. To do this, use a fixed data entry
20 ;; region in ram, and run a program that translates this
21 ;; region into the screen. Every time this data entry region
22 ;; is full, run a program that copies the data to the
23 ;; appropriate region in memory. This will cost ~15 seconds
24 ;; at the beginning to set up, and then should have minimal
25 ;; overhead (~5%) for the rest of the data transfer, but
26 ;; will have a good psychological effect for the viewer
27 ;; since he can see that something is actually happening in
28 ;; the game.