comparison org/todo.org @ 52:ee70875e0d3e

working on the API
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 02:12:59 -0600
parents abd94449d4bf
children 88218735d220
comparison
equal deleted inserted replaced
51:abd94449d4bf 52:ee70875e0d3e
10 - [ ] get CPU data 10 - [ ] get CPU data
11 - [ ] get RAM / ROM data 11 - [ ] get RAM / ROM data
12 - [ ] save / load state (use savestates) 12 - [ ] save / load state (use savestates)
13 - [ ] write current frame 13 - [ ] write current frame
14 - [ ] write sound 14 - [ ] write sound
15 - [ ] send signals to th GB
15 16
16 * high level 17 * high level
17 - [ ] write vbm files 18 - [ ] write vbm files
19
20
21
22
23
24
25 saveState() --- returns a SaveState object
26 loadState(SaveState) --- restores a state
27 writeState(SaveState) --- writes a SaveState to a file.
28
29 getRAM() --- returns the ram of the GB in native buffer.
30 getRegisters() --- returns a map of register-keywords => values
31
32 getFrame() --- returns a BufferedImage of data which represents the
33 current frame.
34
35
36 step(int buttons) --- steps the game while pressing the chosen button(s)