# HG changeset patch # User Robert McIntyre # Date 1353605697 21600 # Node ID 00c5cdfb9da7eb68e9a80864c28e9fd7c88a4db6 # Parent d9f991cddad97f29972be7014336954de48278e0 misc. fixes. diff -r d9f991cddad9 -r 00c5cdfb9da7 org/total-control.org --- a/org/total-control.org Thu Nov 22 11:24:52 2012 -0600 +++ b/org/total-control.org Thu Nov 22 11:34:57 2012 -0600 @@ -33,10 +33,10 @@ game. No matter what moves you make in chess, you can never change the rules of the game so that it becomes checkers or basketball. The point of this run is to show that you CAN change the rules in pokemon -yellow. There is a certain sequence of valid actions like walking from -one place to another or buying items that will allow you to transform -pokemon yellow into Pacman, or Tetris, or Pong, or a MIDI player, or -anything else you can imagine. +yellow. There is a certain sequence of valid actions (like walking +from one place to another or buying items) that will allow you to +transform pokemon yellow into Pacman, or Tetris, or Pong, or a MIDI +player, or anything else you can imagine. * Background @@ -171,7 +171,7 @@ A, B, start, and select buttons, and writes 4 bits each frame to a fixed point in memory. After it writes 200 or so bytes, it jumps directly to what it just wrote. In my run, I use this program to write -another bootstrapping program that can write to any number of bytes to +another bootstrapping program that can write any number of bytes to any location in memory, and then jump to any location in memory. This new program also can write 8 bits per frame by using all the buttons. Using this new bootstrap program, I write a final @@ -276,7 +276,7 @@ function =print-inventory= returns the current inventory in a human readable format. -#+begin_src clojure :results output +#+begin_src clojure :results output :exports both (com.aurellem.gb.items/print-inventory) #+end_src @@ -435,7 +435,7 @@ #+end_src I use the glitch items 0x00 and 0xFF to great effect in my run. 0x00 -sells for almost half of max_money, and I use just 3 of them to +sells for almost half of maximum money --- I use just 3 of them to finance the purchase of all the other items I need. 0x00 is also a NO-OP in the gameboy's machine language, which means that I can stick them anywhere where I need to break up an other wise illegal pair of