8 static const unsigned Mword_size_bmode = sizeof(Mword)*2;
9 static const unsigned Mword_size_cmode = sizeof(Mword);
10 static const unsigned Col_head_size = sizeof(Mword)*2;
12 static const char *Mword_adapter;
13 static const char *Mword_not_mapped;
14 static const char *Mword_blank;
16 static const char* const Reg_names[];
17 static const char Reg_prefix;
18 static const char *Line;
20 static const char* Root_page_table;
23 static unsigned int _height;
24 static unsigned int _width;
25 static bool _direct_enabled;
30 unsigned int Jdb_screen::_height = 25; // default for native
31 unsigned int Jdb_screen::_width = 80; // default
32 bool Jdb_screen::_direct_enabled = true;
34 const char* Jdb_screen::Mword_adapter = "~~~~~~~~~~~~~~~~";
35 const char* Jdb_screen::Mword_not_mapped = "----------------";
36 const char* Jdb_screen::Mword_blank = " ";
37 const char* Jdb_screen::Line = "---------------------------"
38 "---------------------------"
42 Jdb_screen::set_height(unsigned int h)
47 Jdb_screen::set_width(unsigned int w)
63 { return (width()-Col_head_size)/(Mword_size_bmode + 1) + 1; }
68 { return ((unsigned long)-1)/ ((cols()-1)*4) + 1; }
72 Jdb_screen::enable_direct(bool enable)
73 { _direct_enabled = enable; }
77 Jdb_screen::direct_enabled()
78 { return _direct_enabled; }