File: XPICsim

package info (click to toggle)
nitpic 0.1-16
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 208 kB
  • ctags: 300
  • sloc: cpp: 2,212; ansic: 408; asm: 144; makefile: 55
file content (134 lines) | stat: -rw-r--r-- 5,092 bytes parent folder | download | duplicates (8)
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
!
! App defaults file for X PIC simulator
!

*XPICsim.left-pointer:		/usr/share/nitpic/lsolid.xbm
*XPICsim.left-hollow:		/usr/share/nitpic/lhollow.xbm
*XPICsim.right-pointer:		/usr/share/nitpic/rsolid.xbm
*XPICsim.right-hollow:		/usr/share/nitpic/rhollow.xbm


*XPICsim.nitpic-resources:					true
*XPICsim.synchronous:						true
*XPICsim*background:						gray90
*XPICsim*Command.background:				white
*XPICsim*Toggle.background:					white
*XPICsim.main.background:					gray50
*XPICsim.main.title.background:				blue
*XPICsim.main.title.foreground:				white
*XPICsim.main.copyright.background:			blue
*XPICsim.main.copyright.foreground:			aquamarine
*XPICsim.main.info.foreground:				black
*XPICsim.main.info.background:				gray90
*XPICsim.main.instr.ipointer.background:	gray90
*XPICsim.main.instr.ipointer.foreground:	black
*XPICsim.main.instr.itext.background:		gray90
*XPICsim.main.instr.iscroll.background:		gray90
*XPICsim.main.instr.iscroll.foreground:		black
*XPICsim.main.regs.rpage.background:		white
*XPICsim.led-on:							green
*XPICsim.led-off:							black
*XPICsim.wdt-color-1:						green
*XPICsim.wdt-color-2:						yellow
*XPICsim.wdt-color-3:						red

*XPICsim.wdt-min:							7e-3
*XPICsim.wdt-nominal:						18e-3
*XPICsim.wdt-max:							33e-3
*XPICsim*font:								-adobe-helvetica-medium-r-*-*-11-*
*XPICsim.info-bits:							-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1

*XPICsim*Label.font:						-adobe-helvetica-bold-o-normal--12-120-75-75-p-69-iso8859-1
*XPICsim*Label.height:						22
*XPICsim*Label.width:						93
*XPICsim*Command.font:						-adobe-helvetica-bold-o-normal--12-120-75-75-p-69-iso8859-1
*XPICsim*Command.height:					22
*XPICsim*Command.width:						93
*XPICsim*Toggle.font:						-adobe-helvetica-bold-o-normal--12-120-75-75-p-69-iso8859-1
*XPICsim*Toggle.height:						22
*XPICsim*Toggle.width:						93

*XPICsim.main.title.height:			24
*XPICsim.main.title.width:			240
*XPICsim.main.title.font:			-adobe-helvetica-bold-o-normal-*-*-180-*
*XPICsim.main.copyright.height:		24
*XPICsim.main.copyright.width:		240
*XPICsim.main.copyright.font:		-adobe-helvetica-medium-o-normal-*-*-100-*

*XPICsim.main.info.height:			180
*XPICsim.main.info.width:			240
*XPICsim.main.info.font:			-adobe-helvetica-*-r-*-*-14-*-*-*-*-*-*-*
*XPICsim.main.info.translations:	#override \n\
	<Expose>:				info-refresh()

*XPICsim.main.ic.height:			150
*XPICsim.main.ic.width:				240
*XPICsim.main.ic.font:				-misc-fixed-medium-*-*-*-7-*
*XPICsim.main.ic.translations:		#override \n\
	<Expose>:				ic-refresh()

*XPICsim.main.instr.defaultDistance:		0
*XPICsim.main.instr.ipointer.height:		396
*XPICsim.main.instr.ipointer.width:			20
*XPICsim.main.instr.ipointer.borderWidth:	0
*XPICsim.main.instr.ipointer.bitmap:		/usr/share/nitpic/pointer.xbm
*XPICsim.main.instr.ipointer.label:
*XPICsim.main.instr.ipointer.translations:	#replace \n\
	<Expose>:			ipointer-refresh() \n\
	<BtnDown>,<BtnUp>:	ipointer-seek()
*XPICsim.main.instr.itext.height:			396
*XPICsim.main.instr.itext.width:			142
*XPICsim.main.instr.itext.borderWidth:		0
*XPICsim.main.instr.itext.translations:	#override \n\
	<Expose>:			instr-refresh()
*XPICsim.main.instr.itext.font:				-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
*XPICsim.main.instr.iscroll.orientation:	vertical
*XPICsim.main.instr.iscroll.height:			396
*XPICsim.main.instr.iscroll.width:			18
*XPICsim.main.instr.iscroll.borderWidth:	0

*XPICsim.main.regs.height:			118
*XPICsim.main.regs.width:			150
*XPICsim.main.regs.rprev.width:		22
*XPICsim.main.regs.rprev.height:	20
*XPICsim.main.regs.rprev.bitmap:	/usr/share/nitpic/larrow.xbm
*XPICsim.main.regs.rprev.translations:	#override \n\
	<Btn1Up>:	reg-switch( prev ) notify() unset()
*XPICsim.main.regs.rpage.width:		90
*XPICsim.main.regs.rpage.height:	20

*XPICsim.main.regs.rnext.width:		22
*XPICsim.main.regs.rnext.height:	20
*XPICsim.main.regs.rnext.bitmap:	/usr/share/nitpic/rarrow.xbm
*XPICsim.main.regs.rnext.translations:	#override \n\
	<Btn1Up>:	reg-switch( next ) notify() unset()
*XPICsim.main.regs.rdata.width:		146
*XPICsim.main.regs.rdata.height:	244
*XPICsim.main.regs.rdata.font:		-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
*XPICsim.main.regs.rdata.translations:	#override \n\
	<Expose>:			reg-refresh()

*XPICsim.main.data.height:			110
*XPICsim.main.data.width:			156

*XPICsim.main.reset.label:		Reset
*XPICsim.main.reset.translations:	#override \n\
	<Btn1Up>:			notify() sim-reset() unset()
*XPICsim.main.step.label:		Step
*XPICsim.main.step.translations:	#override \n\
	<Btn1Up>:			notify() sim-step() unset()
*XPICsim.main.run.label:		Run
*XPICsim.main.run.translations:	#override \n\
	<Btn1Down>,<Btn1Up>:	toggle() toggle-run() notify()
*XPICsim.main.int.label:		Interrupt
*XPICsim.main.file.label:		File
*XPICsim.main.file.translations:	#override \n\
	<Btn1Up>:			notify() load-file() unset()
*XPICsim.main.quit.label:		Quit
*XPICsim.main.quit.translations:	#override \n\
	<Btn1Up>:				notify() quit() unset()

*XPICsim.main.translations:		#replace \n\
	<Key>q:						quit() \n\
	<Key>s:						sim-step() \n\
	<Key>r:						toggle-run()