Mercurial > vba-clojure
changeset 52:ee70875e0d3e
working on the API
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 07 Mar 2012 02:12:59 -0600 |
parents | abd94449d4bf |
children | 9d0ec2614443 |
files | org/todo.org |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
1.1 --- a/org/todo.org Wed Mar 07 01:55:55 2012 -0600 1.2 +++ b/org/todo.org Wed Mar 07 02:12:59 2012 -0600 1.3 @@ -12,6 +12,25 @@ 1.4 - [ ] save / load state (use savestates) 1.5 - [ ] write current frame 1.6 - [ ] write sound 1.7 + - [ ] send signals to th GB 1.8 1.9 * high level 1.10 - [ ] write vbm files 1.11 + 1.12 + 1.13 + 1.14 + 1.15 + 1.16 + 1.17 +saveState() --- returns a SaveState object 1.18 +loadState(SaveState) --- restores a state 1.19 +writeState(SaveState) --- writes a SaveState to a file. 1.20 + 1.21 +getRAM() --- returns the ram of the GB in native buffer. 1.22 +getRegisters() --- returns a map of register-keywords => values 1.23 + 1.24 +getFrame() --- returns a BufferedImage of data which represents the 1.25 +current frame. 1.26 + 1.27 + 1.28 +step(int buttons) --- steps the game while pressing the chosen button(s)