view org/todo.org @ 58:431ee7ee12de

savestate buffer was too small
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 15:17:19 -0600
parents b0473c3a0df0
children dc8b383ecefa
line wrap: on
line source
1 * Low level
3 ** simplifications
4 - [ ] remove vba code
5 - [ ] remove prof
6 - [ ] remove lua
8 ** additional functionality
9 - [X] step the simulator
10 - [ ] get CPU data
11 - [ ] get RAM / ROM data
12 - [X] save / load state (use savestates)
13 - [ ] write current frame
14 - [ ] write sound
15 - [X] send button presses to the GB
17 * high level
18 - [ ] write vbm files
19 - [ ] remove battery backup files
26 saveState() --- returns a SaveState object
27 loadState(SaveState) --- restores a state
28 writeState(SaveState) --- writes a SaveState to a file.
30 getRAM() --- returns the ram of the GB in native buffer.
31 getRegisters() --- returns a map of register-keywords => values
33 getFrame() --- returns a BufferedImage of data which represents the
34 current frame.
37 step(int buttons) --- steps the game while pressing the chosen button(s)