OSDN Git Service

b59dbb562e3d6934780f449f9eb50155619b9925
[unagi/old-svn-converted.git] / client / trunk / anago / script_program.h
1 #ifndef _SCRIPT_PROGRAM_H_
2 #define _SCRIPT_PROGRAM_H_
3 struct program_config{
4         const wgChar *script;
5         const wgChar *target;
6         const struct reader_handle *handle;
7         const struct reader_control *control;
8         struct flash_memory_driver{
9                 const struct reader_memory_access *access;
10                 struct flash_device flash;
11                 struct memory memory;
12                 struct {
13                         long address, length, count, offset;
14                 }programming, compare;
15                 bool command_change;
16                 long c000x, c2aaa, c5555;
17                 struct gauge gauge;
18         }cpu, ppu;
19         long mappernum;
20         bool compare, testrun;
21         struct textcontrol log;
22         void (*except)(const wgChar *str);
23 };
24 bool script_program_execute(struct program_config *c);
25 #endif