1 #ifndef __LISACONFIGH__
2 #define __LISACONFIGH__
3 
4 #include <wx/wx.h>
5 #include <wx/fileconf.h>
6 
7 #include "machine.h"
8 
9 #define LISA_CONFIG_DEFAULTSERIAL "ff028308104050ff0010163504700000"
10                                  //012345678901234567890123 5678901
11                                  //          11111111112222 222
12 
13 #define ROMVER        (0x18)     // ROM Version
14 
15 
16 
17 class LisaConfig
18 {
19 public:
20 
21  wxString    slot1,      slot2,      slot3,
22             s1l,s1h,    s2l,s2h,    s3l,s3h,
23            s1lp,s1hp,  s2lp,s2hp,  s3lp,s3hp;
24 
25  wxString  parallel, parallelp;
26 
27  int mymaxlisaram;
28  unsigned long kbid;
29  unsigned long iorom;
30 
31  wxString kbidstr;
32  wxString rompath;
33  wxString dualrom;
34  wxString myserial;
35  wxString serial1_setting;
36  wxString serial1_param;
37  wxString serial2_setting;
38  wxString serial2_param;
39  wxString ioromstr;
40 
41  wxString iw_png_path;        // path to directory to store printouts if png is on
42  int      iw_png_on;          // do we save printouts as PNG's or to the host printer?
43  int      iw_dipsw_1;         // dip switch for imagewriter
44 
45  long int saw_3a_warning;
46 
47  /* XXX Requiring floppy_ram like this is ugly. A temporary measure, I hope. */
48  void Load(wxFileConfig *config, uint8 *floppy_ram);
49  void Save(wxFileConfig *config, uint8 *floppy_ram);
50 };
51 #endif
52