Subversion Repositories svnkaklik

Rev

Rev 174 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 174 Rev 182
Line 1... Line 1...
1
GAS LISTING /tmp/ccQQINeY.s 			page 1
1
GAS LISTING /tmp/cc4KZ7ps.s 			page 1
2
 
2
 
3
 
3
 
4
   1               		.file	"CamInterface.c"
4
   1               		.file	"CamInterface.c"
5
   2               		.arch atmega8
5
   2               		.arch atmega8
6
   3               	__SREG__ = 0x3f
6
   3               	__SREG__ = 0x3f
Line 56... Line 56...
56
  53               		.stabs	"int_fast8_t:t(5,19)=(5,1)",128,0,200,0
56
  53               		.stabs	"int_fast8_t:t(5,19)=(5,1)",128,0,200,0
57
  54               		.stabs	"uint_fast8_t:t(5,20)=(5,2)",128,0,205,0
57
  54               		.stabs	"uint_fast8_t:t(5,20)=(5,2)",128,0,205,0
58
  55               		.stabs	"int_fast16_t:t(5,21)=(5,3)",128,0,210,0
58
  55               		.stabs	"int_fast16_t:t(5,21)=(5,3)",128,0,210,0
59
  56               		.stabs	"uint_fast16_t:t(5,22)=(5,4)",128,0,215,0
59
  56               		.stabs	"uint_fast16_t:t(5,22)=(5,4)",128,0,215,0
60
  57               		.stabs	"int_fast32_t:t(5,23)=(5,5)",128,0,220,0
60
  57               		.stabs	"int_fast32_t:t(5,23)=(5,5)",128,0,220,0
61
GAS LISTING /tmp/ccQQINeY.s 			page 2
61
GAS LISTING /tmp/cc4KZ7ps.s 			page 2
62
 
62
 
63
 
63
 
64
  58               		.stabs	"uint_fast32_t:t(5,24)=(5,6)",128,0,225,0
64
  58               		.stabs	"uint_fast32_t:t(5,24)=(5,6)",128,0,225,0
65
  59               		.stabs	"int_fast64_t:t(5,25)=(5,7)",128,0,230,0
65
  59               		.stabs	"int_fast64_t:t(5,25)=(5,7)",128,0,230,0
66
  60               		.stabs	"uint_fast64_t:t(5,26)=(5,8)",128,0,235,0
66
  60               		.stabs	"uint_fast64_t:t(5,26)=(5,8)",128,0,235,0
Line 116... Line 116...
116
  20:CamInterface.c ****    For more information on the AVRcam, please contact:
116
  20:CamInterface.c ****    For more information on the AVRcam, please contact:
117
  21:CamInterface.c **** 
117
  21:CamInterface.c **** 
118
  22:CamInterface.c ****    john@jrobot.net
118
  22:CamInterface.c ****    john@jrobot.net
119
  23:CamInterface.c **** 
119
  23:CamInterface.c **** 
120
  24:CamInterface.c ****    or go to www.jrobot.net for more details regarding the system.
120
  24:CamInterface.c ****    or go to www.jrobot.net for more details regarding the system.
121
GAS LISTING /tmp/ccQQINeY.s 			page 3
121
GAS LISTING /tmp/cc4KZ7ps.s 			page 3
122
 
122
 
123
 
123
 
124
  25:CamInterface.c **** */
124
  25:CamInterface.c **** */
125
  26:CamInterface.c **** /***********************************************************
125
  26:CamInterface.c **** /***********************************************************
126
  27:CamInterface.c **** 	Module Name: CamInterface.c
126
  27:CamInterface.c **** 	Module Name: CamInterface.c
Line 176... Line 176...
176
  77:CamInterface.c **** #define CAM_CONTROL_PORT_DIR DDRD
176
  77:CamInterface.c **** #define CAM_CONTROL_PORT_DIR DDRD
177
  78:CamInterface.c **** #define CAM_RESET_LINE       BIT7
177
  78:CamInterface.c **** #define CAM_RESET_LINE       BIT7
178
  79:CamInterface.c **** #define CAM_PIXEL_CLK_COUNT  BIT5
178
  79:CamInterface.c **** #define CAM_PIXEL_CLK_COUNT  BIT5
179
  80:CamInterface.c **** #define CAM_HREF             BIT4
179
  80:CamInterface.c **** #define CAM_HREF             BIT4
180
  81:CamInterface.c **** #define CAM_PIXEL_CLK_INT    BIT3
180
  81:CamInterface.c **** #define CAM_PIXEL_CLK_INT    BIT3
181
GAS LISTING /tmp/ccQQINeY.s 			page 4
181
GAS LISTING /tmp/cc4KZ7ps.s 			page 4
182
 
182
 
183
 
183
 
184
  82:CamInterface.c **** #define CAM_VSYNC            BIT2
184
  82:CamInterface.c **** #define CAM_VSYNC            BIT2
185
  83:CamInterface.c **** 
185
  83:CamInterface.c **** 
186
  84:CamInterface.c **** /*  Global Variables */
186
  84:CamInterface.c **** /*  Global Variables */
Line 236... Line 236...
236
 134:CamInterface.c **** void CamInt_init(void)
236
 134:CamInterface.c **** void CamInt_init(void)
237
 135:CamInterface.c **** {
237
 135:CamInterface.c **** {
238
 136:CamInterface.c **** #if OUTPUT_INITIAL_COLOR_MAP
238
 136:CamInterface.c **** #if OUTPUT_INITIAL_COLOR_MAP
239
 137:CamInterface.c **** 	unsigned char asciiBuffer[5];
239
 137:CamInterface.c **** 	unsigned char asciiBuffer[5];
240
 138:CamInterface.c ****     unsigned char i;
240
 138:CamInterface.c ****     unsigned char i;
241
GAS LISTING /tmp/ccQQINeY.s 			page 5
241
GAS LISTING /tmp/cc4KZ7ps.s 			page 5
242
 
242
 
243
 
243
 
244
 139:CamInterface.c **** #endif    
244
 139:CamInterface.c **** #endif    
245
 140:CamInterface.c ****     
245
 140:CamInterface.c ****     
246
 141:CamInterface.c **** 	/* set up the mega8 ports that will be interfacing
246
 141:CamInterface.c **** 	/* set up the mega8 ports that will be interfacing
Line 296... Line 296...
296
 191:CamInterface.c **** #if OUTPUT_INITIAL_COLOR_MAP    
296
 191:CamInterface.c **** #if OUTPUT_INITIAL_COLOR_MAP    
297
 192:CamInterface.c ****     UIMgr_txBuffer("\r\n",2);
297
 192:CamInterface.c ****     UIMgr_txBuffer("\r\n",2);
298
 193:CamInterface.c ****     for (i=0; i<NUM_ELEMENTS_IN_COLOR_MAP; i++)
298
 193:CamInterface.c ****     for (i=0; i<NUM_ELEMENTS_IN_COLOR_MAP; i++)
299
 194:CamInterface.c **** 	{
299
 194:CamInterface.c **** 	{
300
 195:CamInterface.c **** 		memset(asciiBuffer,0x00,5);
300
 195:CamInterface.c **** 		memset(asciiBuffer,0x00,5);
301
GAS LISTING /tmp/ccQQINeY.s 			page 6
301
GAS LISTING /tmp/cc4KZ7ps.s 			page 6
302
 
302
 
303
 
303
 
304
 196:CamInterface.c **** 		itoa(colorMap[i],asciiBuffer,10);
304
 196:CamInterface.c **** 		itoa(colorMap[i],asciiBuffer,10);
305
 197:CamInterface.c **** 		UIMgr_txBuffer(asciiBuffer,3);
305
 197:CamInterface.c **** 		UIMgr_txBuffer(asciiBuffer,3);
306
 198:CamInterface.c **** 		UIMgr_txBuffer(" ",1);
306
 198:CamInterface.c **** 		UIMgr_txBuffer(" ",1);
Line 356... Line 356...
356
 113               	.LM2:
356
 113               	.LM2:
357
 114 0002 8F9A      		sbi 49-0x20,7
357
 114 0002 8F9A      		sbi 49-0x20,7
358
 115               		.stabn	68,0,144,.LM3-CamInt_init
358
 115               		.stabn	68,0,144,.LM3-CamInt_init
359
 116               	.LM3:
359
 116               	.LM3:
360
 117 0004 8F9A      		sbi 49-0x20,7
360
 117 0004 8F9A      		sbi 49-0x20,7
361
GAS LISTING /tmp/ccQQINeY.s 			page 7
361
GAS LISTING /tmp/cc4KZ7ps.s 			page 7
362
 
362
 
363
 
363
 
364
 118               		.stabn	68,0,145,.LM4-CamInt_init
364
 118               		.stabn	68,0,145,.LM4-CamInt_init
365
 119               	.LM4:
365
 119               	.LM4:
366
 120 0006 8A98      		cbi 49-0x20,2
366
 120 0006 8A98      		cbi 49-0x20,2
Line 416... Line 416...
416
 170 003e 85B7      		in r24,85-0x20
416
 170 003e 85B7      		in r24,85-0x20
417
 171 0040 8068      		ori r24,lo8(-128)
417
 171 0040 8068      		ori r24,lo8(-128)
418
 172 0042 85BF      		out 85-0x20,r24
418
 172 0042 85BF      		out 85-0x20,r24
419
 173               		.stabn	68,0,186,.LM16-CamInt_init
419
 173               		.stabn	68,0,186,.LM16-CamInt_init
420
 174               	.LM16:
420
 174               	.LM16:
421
GAS LISTING /tmp/ccQQINeY.s 			page 8
421
GAS LISTING /tmp/cc4KZ7ps.s 			page 8
422
 
422
 
423
 
423
 
424
 175 0044 E0E0      		ldi r30,lo8(colorMap)
424
 175 0044 E0E0      		ldi r30,lo8(colorMap)
425
 176 0046 F0E0      		ldi r31,hi8(colorMap)
425
 176 0046 F0E0      		ldi r31,hi8(colorMap)
426
 177 0048 80E3      		ldi r24,lo8(48)
426
 177 0048 80E3      		ldi r24,lo8(48)
Line 476... Line 476...
476
  40:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      <LAL@pro.onet.pl>
476
  40:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      <LAL@pro.onet.pl>
477
  41:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      Complete rewrite using the original interface by Bjoern Haase 
477
  41:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      Complete rewrite using the original interface by Bjoern Haase 
478
  42:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      <bjoern.haase@de.bosch.com>. 
478
  42:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      <bjoern.haase@de.bosch.com>. 
479
  43:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****  */
479
  43:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****  */
480
  44:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
480
  44:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
481
GAS LISTING /tmp/ccQQINeY.s 			page 9
481
GAS LISTING /tmp/cc4KZ7ps.s 			page 9
482
 
482
 
483
 
483
 
484
  45:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** #ifndef _EEPROM_H_
484
  45:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** #ifndef _EEPROM_H_
485
  46:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** #define _EEPROM_H_ 1
485
  46:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** #define _EEPROM_H_ 1
486
  47:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
486
  47:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
Line 536... Line 536...
536
  97:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \note All of the read/write functions first make sure the EEPROM
536
  97:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \note All of the read/write functions first make sure the EEPROM
537
  98:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      is ready to be accessed.  Since this may cause long delays if a
537
  98:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      is ready to be accessed.  Since this may cause long delays if a
538
  99:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      write operation is still pending, time-critical applications
538
  99:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      write operation is still pending, time-critical applications
539
 100:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      should first poll the EEPROM e. g. using eeprom_is_ready() before
539
 100:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      should first poll the EEPROM e. g. using eeprom_is_ready() before
540
 101:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      attempting any actual I/O.
540
 101:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      attempting any actual I/O.
541
GAS LISTING /tmp/ccQQINeY.s 			page 10
541
GAS LISTING /tmp/cc4KZ7ps.s 			page 10
542
 
542
 
543
 
543
 
544
 102:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
544
 102:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
545
 103:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \note This header file declares inline functions that call the
545
 103:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \note This header file declares inline functions that call the
546
 104:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      assembler subroutines directly. This prevents that the compiler
546
 104:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      assembler subroutines directly. This prevents that the compiler
Line 596... Line 596...
596
 154:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \ingroup avr_eeprom
596
 154:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \ingroup avr_eeprom
597
 155:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     Attribute expression causing a variable to be allocated within the .eeprom
597
 155:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     Attribute expression causing a variable to be allocated within the .eeprom
598
 156:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      section.  */
598
 156:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      section.  */
599
 157:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** #define EEMEM __attribute__((section(".eeprom")))
599
 157:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** #define EEMEM __attribute__((section(".eeprom")))
600
 158:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
600
 158:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
601
GAS LISTING /tmp/ccQQINeY.s 			page 11
601
GAS LISTING /tmp/cc4KZ7ps.s 			page 11
602
 
602
 
603
 
603
 
604
 159:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \def eeprom_is_ready
604
 159:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \def eeprom_is_ready
605
 160:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \ingroup avr_eeprom
605
 160:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \ingroup avr_eeprom
606
 161:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \returns 1 if EEPROM is ready for a new read/write operation, 0 if not. */
606
 161:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \returns 1 if EEPROM is ready for a new read/write operation, 0 if not. */
Line 656... Line 656...
656
 211:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****          "=z" (result)
656
 211:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****          "=z" (result)
657
 212:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****        : );
657
 212:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****        : );
658
 213:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****   return result;
658
 213:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****   return result;
659
 214:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** }
659
 214:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** }
660
 215:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
660
 215:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
661
GAS LISTING /tmp/ccQQINeY.s 			page 12
661
GAS LISTING /tmp/cc4KZ7ps.s 			page 12
662
 
662
 
663
 
663
 
664
 216:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \ingroup avr_eeprom
664
 216:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \ingroup avr_eeprom
665
 217:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     Read a block of \c n bytes from EEPROM address \c pointer_eeprom to
665
 217:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     Read a block of \c n bytes from EEPROM address \c pointer_eeprom to
666
 218:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \c pointer_ram.  For constant n <= 256 bytes a library function is used.
666
 218:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \c pointer_ram.  For constant n <= 256 bytes a library function is used.
Line 716... Line 716...
716
 188               		.stabn	68,0,267,.LM17-CamInt_init
716
 188               		.stabn	68,0,267,.LM17-CamInt_init
717
 189               	.LM17:
717
 189               	.LM17:
718
 190 0054 A1E0      		ldi r26,lo8(1)
718
 190 0054 A1E0      		ldi r26,lo8(1)
719
 191 0056 B0E0      		ldi r27,hi8(1)
719
 191 0056 B0E0      		ldi r27,hi8(1)
720
 192               	/* #APP */
720
 192               	/* #APP */
721
GAS LISTING /tmp/ccQQINeY.s 			page 13
721
GAS LISTING /tmp/cc4KZ7ps.s 			page 13
722
 
722
 
723
 
723
 
724
 193 0058 182E      		mov __zero_reg__,r24
724
 193 0058 182E      		mov __zero_reg__,r24
725
 194 005a 00D0      		rcall __eeprom_read_block_1C1D1E
725
 194 005a 00D0      		rcall __eeprom_read_block_1C1D1E
726
 195               	/* #NOAPP */
726
 195               	/* #NOAPP */
Line 756... Line 756...
756
 221               		.stabs	"colorMap:G(0,21)=ar(0,20);0;47;(0,11)",32,0,100,0
756
 221               		.stabs	"colorMap:G(0,21)=ar(0,20);0;47;(0,11)",32,0,100,0
757
 222               		.text
757
 222               		.text
758
 223               		.stabs	"",100,0,0,.Letext0
758
 223               		.stabs	"",100,0,0,.Letext0
759
 224               	.Letext0:
759
 224               	.Letext0:
760
 225               	/* File "CamInterface.c": code   49 = 0x0031 (  47), prologues   0, epilogues   2 */
760
 225               	/* File "CamInterface.c": code   49 = 0x0031 (  47), prologues   0, epilogues   2 */
761
GAS LISTING /tmp/ccQQINeY.s 			page 14
761
GAS LISTING /tmp/cc4KZ7ps.s 			page 14
762
 
762
 
763
 
763
 
764
DEFINED SYMBOLS
764
DEFINED SYMBOLS
765
                            *ABS*:00000000 CamInterface.c
765
                            *ABS*:00000000 CamInterface.c
766
     /tmp/ccQQINeY.s:3      *ABS*:0000003f __SREG__
766
     /tmp/cc4KZ7ps.s:3      *ABS*:0000003f __SREG__
767
     /tmp/ccQQINeY.s:4      *ABS*:0000003e __SP_H__
767
     /tmp/cc4KZ7ps.s:4      *ABS*:0000003e __SP_H__
768
     /tmp/ccQQINeY.s:5      *ABS*:0000003d __SP_L__
768
     /tmp/cc4KZ7ps.s:5      *ABS*:0000003d __SP_L__
769
     /tmp/ccQQINeY.s:6      *ABS*:00000000 __tmp_reg__
769
     /tmp/cc4KZ7ps.s:6      *ABS*:00000000 __tmp_reg__
770
     /tmp/ccQQINeY.s:7      *ABS*:00000001 __zero_reg__
770
     /tmp/cc4KZ7ps.s:7      *ABS*:00000001 __zero_reg__
771
     /tmp/ccQQINeY.s:89     .text:00000000 CamInt_resetCam
771
     /tmp/cc4KZ7ps.s:89     .text:00000000 CamInt_resetCam
772
     /tmp/ccQQINeY.s:106    .text:00000002 CamInt_init
772
     /tmp/cc4KZ7ps.s:106    .text:00000002 CamInt_init
773
     /tmp/ccQQINeY.s:217    .noinit:00000000 colorMap
773
     /tmp/cc4KZ7ps.s:217    .noinit:00000000 colorMap
774
                            *COM*:000000b0 currentLineBuffer
774
                            *COM*:000000b0 currentLineBuffer
775
                            *COM*:000000b0 previousLineBuffer
775
                            *COM*:000000b0 previousLineBuffer
776
 
776
 
777
UNDEFINED SYMBOLS
777
UNDEFINED SYMBOLS
778
__do_copy_data
778
__do_copy_data