File: debugger.rc

package info (click to toggle)
fuse-emulator 1.0.0.1a%2Bdfsg1-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 9,568 kB
  • sloc: ansic: 67,895; sh: 10,265; perl: 3,386; makefile: 787; yacc: 227; lex: 139
file content (134 lines) | stat: -rw-r--r-- 5,533 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/* debugger.rc: the Win32 debugger
   Copyright (c) 2004 Marek Januszewski

   $Id: debugger.rc 3770 2008-09-11 03:47:01Z specu $

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License along
   with this program; if not, write to the Free Software Foundation, Inc.,
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

   Author contact information:

   E-mail: philip-fuse@shadowmagic.org.uk

*/

#include <windows.h>

#include "debugger.h"
		
IDD_DBG DIALOGEX DISCARDABLE 6, 5, 527, 233
CAPTION "Fuse - Debugger"
FONT 8,"MS Sans Serif"
MENU IDM_MENU
STYLE WS_POPUP | WS_CAPTION | WS_VISIBLE | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
BEGIN
  CONTROL	"", IDC_DBG_LV_PC, "SysListView32", \
                WS_CHILD | WS_VISIBLE | LVS_REPORT | \
                LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSCROLL, \
                212, 3, 133, 200, WS_EX_CLIENTEDGE
  SCROLLBAR     IDC_DBG_SB_PC, 344, 3, 12, 200, WS_CHILD | SBS_VERT
  CONTROL	"", IDC_DBG_LV_STACK, "SysListView32",
                WS_CHILD | WS_VISIBLE | LVS_REPORT | \
                LVS_SINGLESEL | LVS_SHOWSELALWAYS, \
                358, 3, 86, 200, WS_EX_CLIENTEDGE
  CONTROL	"", IDC_DBG_LV_EVENTS, "SysListView32", \
                WS_CHILD | WS_VISIBLE | LVS_REPORT | \
                LVS_SINGLESEL | LVS_SHOWSELALWAYS, \
                446, 3, 81, 200, WS_EX_CLIENTEDGE
  CONTROL	"", IDC_DBG_LV_BPS, "SysListView32",
                WS_CHILD | WS_VISIBLE | LVS_REPORT | \
                LVS_SINGLESEL | LVS_SHOWSELALWAYS, \
                2, 151, 208, 52, WS_EX_CLIENTEDGE
  EDITTEXT	IDC_DBG_ED_EVAL, 2, 205, 487, 13, \
                WS_CHILD | WS_VISIBLE, WS_EX_CLIENTEDGE

  DEFPUSHBUTTON "&Evaluate", IDC_DBG_BTN_EVAL, 491, 205, 36, 13
  PUSHBUTTON    "&Single Step", IDC_DBG_BTN_STEP, 297, 220, 56, 13
  PUSHBUTTON    "&Continue", IDC_DBG_BTN_CONT, 355, 220, 56, 13
  PUSHBUTTON    "&Break", IDC_DBG_BTN_BREAK, 413, 220, 56, 13
  PUSHBUTTON    "&Close", IDCLOSE, 471, 220, 56, 13

  GROUPBOX	"Memory Map", IDC_DBG_GRP_MEMMAP, 114, 3, 96, 142

  CTEXT		"0x0038", IDC_DBG_MAP11, 120, 27, 24, 9
  CTEXT		"RAM 0", IDC_DBG_MAP12, 148, 27, 24, 9
  CTEXT		"Y", IDC_DBG_MAP13, 177, 27, 11, 9
  CTEXT		"N", IDC_DBG_MAP14, 193, 28, 11, 9
  CTEXT		"0x0038", IDC_DBG_MAP21, 120, 40, 24, 9
  CTEXT		"RAM 0", IDC_DBG_MAP22, 148, 40, 24, 9
  CTEXT		"Y", IDC_DBG_MAP23, 177, 40, 11, 9
  CTEXT		"N", IDC_DBG_MAP24, 193, 40, 11, 9
  CTEXT		"0x0038", IDC_DBG_MAP31, 120, 53, 24, 9
  CTEXT		"RAM 2", IDC_DBG_MAP32, 148, 53, 24, 9
  CTEXT		"Y", IDC_DBG_MAP33, 177, 52, 11, 9
  CTEXT		"N", IDC_DBG_MAP34, 193, 53, 11, 9
  CTEXT		"0x0038", IDC_DBG_MAP41, 120, 66, 24, 9
  CTEXT		"RAM 2", IDC_DBG_MAP42, 148, 66, 24, 9
  CTEXT		"Y", IDC_DBG_MAP43, 177, 66, 11, 9
  CTEXT		"N", IDC_DBG_MAP44, 193, 66, 11, 9
  CTEXT		"0x0038", IDC_DBG_MAP51, 120, 79, 24, 9
  CTEXT		"RAM 5", IDC_DBG_MAP52, 148, 79, 24, 9
  CTEXT		"Y", IDC_DBG_MAP53, 177, 79, 11, 9
  CTEXT		"Y", IDC_DBG_MAP54, 193, 79, 11, 9
  CTEXT		"0x0038", IDC_DBG_MAP61, 120, 92, 24, 9
  CTEXT		"RAM 5", IDC_DBG_MAP62, 148, 92, 24, 9
  CTEXT		"Y", IDC_DBG_MAP63, 177, 92, 11, 9
  CTEXT		"Y", IDC_DBG_MAP64, 193, 92, 11, 9
  CTEXT		"0x0038", IDC_DBG_MAP71, 120, 105, 24, 9
  CTEXT		"RAM 0", IDC_DBG_MAP72, 148, 105, 24, 9
  CTEXT		"N", IDC_DBG_MAP73, 177, 106, 11, 9
  CTEXT		"N", IDC_DBG_MAP74, 193, 105, 11, 9
  CTEXT		"0x0000", IDC_DBG_MAP81, 120, 118, 24, 9
  CTEXT		"RAM 0", IDC_DBG_MAP82, 148, 118, 24, 9
  CTEXT		"N", IDC_DBG_MAP83, 177, 118, 11, 9
  CTEXT		"N", IDC_DBG_MAP84, 193, 118, 11, 9

  CTEXT		"Address", IDC_DBG_TEXT_ADDRESS, 118, 14, 28, 9
  CTEXT		"Source", IDC_DBG_TEXT_SOURCE, 148, 14, 24, 9
  CTEXT		"W?", IDC_DBG_TEXT_WRITABLE, 177, 14, 11, 9
  CTEXT		"C?", IDC_DBG_TEXT_CONTENDED, 193, 14, 11, 9

  RTEXT		"PC", IDC_DBG_REG_PC, 2, 5, 52, 9
  RTEXT		"SP", IDC_DBG_REG_SP, 58, 5, 52, 9
  RTEXT		"AF", IDC_DBG_REG_AF, 2, 14, 52, 9
  RTEXT		"AF'", IDC_DBG_REG_AF_, 58, 14, 52, 9
  RTEXT		"BC", IDC_DBG_REG_BC, 2, 23, 52, 9
  RTEXT		"BC'", IDC_DBG_REG_BC_, 58, 23, 52, 9
  RTEXT		"DE", IDC_DBG_REG_DE, 2, 32, 52, 9
  RTEXT		"DE'", IDC_DBG_REG_DE_, 58, 32, 52, 9
  RTEXT		"HL", IDC_DBG_REG_HL, 2, 41, 52, 9
  RTEXT		"HL'", IDC_DBG_REG_HL_, 58, 41, 52, 9
  RTEXT		"IX", IDC_DBG_REG_IX, 2, 50, 52, 9
  RTEXT		"IY", IDC_DBG_REG_IY, 58, 50, 52, 9
  RTEXT		"I", IDC_DBG_REG_I, 2, 59, 52, 9
  RTEXT		"R", IDC_DBG_REG_R, 58, 59, 52, 9
  RTEXT		"T-states", IDC_DBG_REG_T_STATES, 2, 68, 52, 9
  EDITTEXT	IDC_DBG_REG_IM, 58, 68, 52, 27, NOT WS_BORDER | ES_RIGHT | ES_MULTILINE | ES_READONLY
  EDITTEXT	IDC_DBG_REG_FLAGS, 2, 77, 52, 18, NOT WS_BORDER | ES_RIGHT | ES_MULTILINE | ES_READONLY
  EDITTEXT	IDC_DBG_REG_ULA, 58, 95, 52, 54, NOT WS_BORDER | ES_RIGHT | ES_MULTILINE | ES_READONLY
END

IDM_MENU MENU
BEGIN
  POPUP "&View"
  BEGIN
    MENUITEM "&Registers", IDM_DBG_REG
    MENUITEM "&Memory Map", IDM_DBG_MEMMAP
    MENUITEM "&Breakpoints", IDM_DBG_BPS
    MENUITEM "&Disassembly", IDM_DBG_DIS
    MENUITEM "&Stack", IDM_DBG_STACK
    MENUITEM "&Events", IDM_DBG_EVENTS
  END
END