Revision 618

View differences:

branch/CHAMBELLON/sp4b1/SP4b1/SessionM32C_E8a_SYSTEM.hsf
8 8
"" 
9 9
[GENERAL_DATA]
10 10
"FIRST_CONNECTION_TAG" "NO" 
11
"MRULABELS_DATAMANAGER_KEY" "FE0000|FE02DF|FE02EA|FE002C" 
11
"MRULABELS_DATAMANAGER_KEY" "FE0000|FFFFFF|000000|FE02DF|FE02EA|FE002C" 
12 12
"RESET_CPU_AFTER_DOWNLOAD_TAG" "VARIANT_TRUE_STORE_TAG" 
13 13
"{287A8023-99B5-49E1-A54E-4DDCA43D7959}MapCtrlECX_MAP_FIND_SYMBOL_LIST" "" 
14 14
"{287A8023-99B5-49E1-A54E-4DDCA43D7959}MapCtrlViews" "0" 
......
29 29
"{313F4FC1-6566-11D5-8BBE-0004E2013C71}TclTkCtrlLogFileName" "" 
30 30
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_COMPARE_END_ADDRESS" "" 
31 31
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_COMPARE_START_ADDRESS" "" 
32
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_DISPLAY_DEST_ADDRESS" "" 
33
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_DISPLAY_END_ADDRESS" "" 
34
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_DISPLAY_START_ADDRESS" "" 
32
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_DISPLAY_DEST_ADDRESS" "000000" 
33
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_DISPLAY_END_ADDRESS" "FFFFFF" 
34
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_DISPLAY_START_ADDRESS" "000000" 
35 35
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_FILL_END_ADDRESS" "" 
36 36
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_FILL_START_ADDRESS" "" 
37 37
"{313F4FC2-6566-11D5-8BBE-0004E2013C71}ECX_MEMORY_MOVE_END_ADDRESS" "" 
......
48 48
"{55384715-F881-421C-A548-D7D1ABE158E1}PDMRCtrlViews" "0" 
49 49
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_EVAL_DENORMAL_MODE" "0" 
50 50
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_EVAL_ROUND_MODE" "0" 
51
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_0" "0000000000000001" 
51
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_0" "00000000000000FB" 
52 52
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_1" "0000000000000000" 
53 53
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_10" "0000000000000000" 
54 54
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_11" "0000000000000000" 
......
56 56
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_13" "0000000000000000" 
57 57
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_14" "0000000000000000" 
58 58
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_15" "0000000000000400" 
59
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_16" "0000000000FE0301" 
59
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_16" "0000000000FE0382" 
60 60
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_17" "0000000000FFFD00" 
61 61
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_18" "00000000000006FE" 
62 62
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_19" "0000000000000A02" 
63 63
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_2" "0000000000000000" 
64
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_20" "0000000000000080" 
64
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_20" "0000000000000081" 
65 65
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_21" "0000000000000000" 
66 66
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_22" "0000000000000000" 
67 67
"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_23" "0000000000000000" 
......
113 113
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth3" "200" 
114 114
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000" "t, 2, 0, P, Col, Hex, MA" 
115 115
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000_SCOPE" "Current Scope," 
116
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEMCnt" "1" 
116
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0001" "touche, 2, 0, P, Col, Hex, MN" 
117
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0001_SCOPE" "Current Scope," 
118
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEMCnt" "2" 
117 119
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth0" "120" 
118 120
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth1" "150" 
119 121
"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd1ColWidth12" "150" 
......
141 143
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_CONFIG_GOOPTION" "0 5 0 0" 
142 144
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_CONFIG_ROUND" "RM_NEAR" 
143 145
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_CONFIG_STEPOPTION" "0" 
144
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_EVENT_BC1" "1,1,0,fe02fb,1,0,1,0,0,0" 
146
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_EVENT_BC1" "0,0,1,0,1,0,1,0,0,0" 
145 147
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_EVENT_BC2" "0,0,1,0,1,0" 
146 148
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_EVENT_BC3" "0,0,1,0,1,0,1,0,0,0" 
147 149
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_EVENT_BC4" "0,0,1,0,1,0,1,0,0,0" 
......
684 686
"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0Exp98" "0" 
685 687
"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0Exp99" "0" 
686 688
"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0ScrollHorz" "0" 
687
"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0ScrollVert" "4" 
689
"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd0ScrollVert" "0" 
688 690
"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd1ColWidth0" "200" 
689 691
"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd1ColWidth1" "100" 
690 692
"{F866DB60-6186-11D5-8BBE-0004E2013C71}IOWnd1ColWidth2" "100" 
......
703 705
0 
704 706
[WINDOW_POSITION_STATE_DATA_VD1]
705 707
"Help" "TOOLBAR 0" 59419 1 5 "0.00" 0 0 0 0 0 17 0 "" "0.0" 
706
"{WK_00000001_CmdLine}" "WINDOW" 59422 0 3 "0.14" 180 0 0 350 200 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>|32820|<<separator>>|32801|32824" "0.0" 
708
"{WK_00000001_CmdLine}" "WINDOW" 59422 0 1 "0.30" 180 0 0 350 200 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>|32820|<<separator>>|32801|32824" "0.0" 
707 709
"{WK_00000001_DIFFERENCE}" "WINDOW" 59422 0 0 "1.00" 200 0 0 350 200 9 0 "32902|32903|32896|32897|32899|32900|32901" "50.0" 
708
"{WK_00000001_IO}SP4b1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 1 "0.18" 180 0 0 350 200 18 0 "32817|32826|32819|32820|32821" "0.0" 
709
"{WK_00000001_OUTPUT}" "WINDOW" 59422 0 2 "0.32" 180 512 275 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0" 
710
"{WK_00000001_IO}SP4b1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 2 "0.22" 180 0 0 350 200 17 0 "32817|32826|32819|32820|32821" "0.0" 
711
"{WK_00000001_MEMORY}SP4b1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 0 "0.33" 180 0 0 350 200 2065 0 "42202|42203|42204|42233|<<separator>>|42206|42205|42230|42229|42207|<<separator>>|42208|42209|42210|49076|42228|42227|<<separator>>|42231|42232|42234|42235|<<separator>>|42211|<<separator>>|32796|32797" "0.0" 
712
"{WK_00000001_OUTPUT}" "WINDOW" 59422 0 3 "0.50" 180 512 275 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0" 
713
"{WK_00000001_REGISTERS}SP4b1SessionM32C_E8a_SYSTEM" "WINDOW" 59421 0 0 "1.00" 180 0 0 350 200 2065 0 "" "0.0" 
710 714
"{WK_00000001_WATCH}SP4b1SessionM32C_E8a_SYSTEM" "WINDOW" 59422 0 0 "0.50" 180 0 0 350 200 18 0 "32781|32783|<<separator>>|32771|32829|32772|32827|32773|<<separator>>|32786|<<separator>>|32810|32811|32831" "0.0" 
711 715
"{WK_00000002_WORKSPACE}" "WINDOW" 59420 0 0 "1.00" 180 231 414 350 200 18 0 "" "0.0" 
712 716
"{WK_TB00000001_STANDARD}" "TOOLBAR 0" 59419 0 2 "0.00" 0 0 0 0 0 18 0 "" "0.0" 
branch/CHAMBELLON/sp4b1/SP4b1/SP4b1.c
11 11
#include "sfr32c87.h"
12 12

  
13 13
char t;
14
char touche;
15
void main(void){  
14 16

  
15
void main(void){
16

  
17
pd10 = 0xF0;
18
p10 = 0xFF;
19
pu30 = 1;
20
t = p10;
21
p10 = 0x00;
22

  
23
while(1){
24

  
25
p10 = 0x0F,	
26
t = p10;
27

  
28
if (t!=0x0F) {
29
	
30
p10 = 0xEF;
31
t = p10;
32

  
33
	if (t!=0x0F) {
34
	
35
	p10 = 0xEF;7
36
	t = p10;
37
 	
38
} 
39
 	
40
} 
41

  
17
	pd10= 0x0F;
18
	pu31=1;
19
	p10=0x00;
20
	while (1){ 
21
			t=p10;
22
			p10= 0xFe;
23
			t=p10; 
24
			if (t==0xDe){
25
			touche ='2';
26
	        }
27
	  		
28
	  		if (t==0xbe){
29
			touche ='1';
30
	        }
31
			if (t==0x7e){
32
			touche ='3';
33
	        }
34
	 		
35
			
36
			
37
			p10= 0xFd;
38
			t=p10;
39
			if (t==0xdd){
40
			touche ='5';
41
	        }
42
	  		if (t==0xbd){
43
			touche ='4';
44
	        }
45
			if (t==0x7d){
46
			touche ='6';
47
	        }
48
	  		
49
			
50
			
51
			p10= 0xFb;
52
			t=p10;
53
			if (t==0xdb){
54
			touche ='8';
55
	        }
56
	  		if (t==0xeb){
57
			touche ='7';
58
	        }
59
			if (t==0x7b){
60
			touche ='9';
61
	        }
62
	  		
63
			p10= 0xF7;
64
			t=p10;
65
			if (t==0xd7){
66
			touche ='0';
67
	        }
68
		    if (t==0x77){
69
			touche ='#';
70
	        }
71
		 	if (t==0xe7){
72
			touche ='#';
73
	        }
74
			
75
	  		
76
			
77
	}
42 78
}
43

  
44
}
79
 

Also available in: Unified diff