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