Mercurial > vba-clojure
comparison clojure/com/aurellem/gb/assembly.clj @ 176:95b2758dd517
wrote functions to read and write pokemon DV values and status
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 21 Mar 2012 22:13:43 -0500 |
parents | 5d9a7a0ca09a |
children | 5e34473ac774 |
comparison
equal
deleted
inserted
replaced
175:5d9a7a0ca09a | 176:95b2758dd517 |
---|---|
404 "Input freestyle buttons and observe the effects at the repl." | 404 "Input freestyle buttons and observe the effects at the repl." |
405 [] | 405 [] |
406 (set-state! (input-number)) | 406 (set-state! (input-number)) |
407 (dotimes [_ 90000] (step (view-memory @current-state 0xD352)))) | 407 (dotimes [_ 90000] (step (view-memory @current-state 0xD352)))) |
408 | 408 |
409 | |
410 (defn write-memory-assembly* | 409 (defn write-memory-assembly* |
411 "A program for altering in-game memory by pressing buttons." | 410 "A program for altering in-game memory by pressing buttons." |
412 [] | 411 [] |
413 [ | 412 [ |
414 0xF3 ; stop interrupts | 413 0xF3 ; stop interrupts |