Changeset 566
- Timestamp:
- 11/15/08 07:12:19 (5 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 12 edited
-
core/Makefile (modified) (1 diff)
-
core/gui.c (modified) (2 diffs)
-
core/gui_osd.c (modified) (2 diffs)
-
include/stdlib.h (modified) (1 diff)
-
makefile.inc (modified) (1 diff)
-
tools/Makefile (modified) (2 diffs)
-
tools/dancingbits.c (added)
-
tools/gensigs.sh (modified) (3 diffs)
-
tools/readme.txt (modified) (1 diff)
-
tools/sig_ref_dryos_1.txt (modified) (1 diff)
-
tools/sig_ref_vxworks_1.txt (modified) (1 diff)
-
tools/sig_ref_vxworks_2.txt (modified) (1 diff)
-
tools/sig_ref_vxworks_3.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/Makefile
r552 r566 37 37 endif 38 38 ifdef OPT_DEBUGGING 39 CFLAGS+=-DOPT_DEBUGGING 39 # global in root makefile.inc 40 #CFLAGS+=-DOPT_DEBUGGING 40 41 OPT_OBJS+=gui_debug.o gui_bench.o 41 42 endif -
trunk/core/gui.c
r556 r566 2335 2335 2336 2336 //------------------------------------------------------------------- 2337 extern long physw_status[3];2338 extern long GetPropertyCase(long opt_id, void *buf, long bufsize);2339 2337 //extern int xxxx, eeee; 2340 2338 //------------------------------------------------------------------- … … 2522 2520 // sprintf(osd_buf, "1:%03d-%04d ", (v>>18)&0x3FF, (v>>4)&0x3FFF); 2523 2521 // sprintf(osd_buf, "1:%d, %08X ", xxxx, eeee); 2522 /* 2523 extern long physw_status[3]; 2524 2524 sprintf(osd_buf, "1:%8x ", physw_status[0]); 2525 2525 draw_txt_string(28, 10, osd_buf, conf.osd_color); 2526 2526 2527 sprintf(osd_buf, "2:%8x ", physw_status[1]); 2528 2527 sprintf(osd_buf, "2:%8x ", physw_status[1]); 2529 2528 draw_txt_string(28, 11, osd_buf, conf.osd_color); 2530 2529 2531 sprintf(osd_buf, "3:%8x ", physw_status[2]); 2532 2530 sprintf(osd_buf, "3:%8x ", physw_status[2]); 2533 2531 draw_txt_string(28, 12, osd_buf, conf.osd_color); 2534 2532 2535 // sprintf(osd_buf, "4:%8x ", vid_get_viewport_fb_d()); 2536 sprintf(osd_buf, "4:%8x ", get_usb_power(1)); 2533 // sprintf(osd_buf, "4:%8x ", vid_get_viewport_fb_d()); 2534 */ 2535 sprintf(osd_buf, "u:%8x ", get_usb_power(1)); 2536 draw_txt_string(28, 9, osd_buf, conf.osd_color); 2537 2538 sprintf(osd_buf, "1:%8x ", (void*) (*(int*)conf.mem_view_addr_init)); 2539 draw_txt_string(28, 10, osd_buf, conf.osd_color); 2540 2541 extern volatile long focus_busy; 2542 sprintf(osd_buf, "f:%8x ", focus_busy); 2543 draw_txt_string(28, 11, osd_buf, conf.osd_color); 2544 2545 extern volatile long zoom_busy; 2546 sprintf(osd_buf, "z:%8x ", zoom_busy); 2547 draw_txt_string(28, 12, osd_buf, conf.osd_color); 2548 2549 sprintf(osd_buf, "t:%8x ", zoom_status); 2537 2550 draw_txt_string(28, 13, osd_buf, conf.osd_color); 2551 2538 2552 } 2539 2553 -
trunk/core/gui_osd.c
r556 r566 116 116 osd[curr_item].pos->x+=(screen_width-osd[curr_item].size.x-osd[curr_item].pos->x>step)?step:screen_width-osd[curr_item].size.x-osd[curr_item].pos->x; 117 117 osd_to_draw = 1; 118 } 118 } else 119 osd[curr_item].pos->x = screen_width-osd[curr_item].size.x; 119 120 break; 120 121 case KEY_UP: … … 128 129 osd[curr_item].pos->y+=(screen_height-osd[curr_item].size.y-osd[curr_item].pos->y>step)?step:screen_height-osd[curr_item].size.y-osd[curr_item].pos->y; 129 130 osd_to_draw = 1; 130 } 131 } else 132 osd[curr_item].pos->y = screen_height-osd[curr_item].size.y; 131 133 break; 132 134 case KEY_SET: -
trunk/include/stdlib.h
r544 r566 46 46 #else 47 47 48 #define O_APPEND 0x8 // ok for dryos, vx? 48 49 #define O_TRUNC 0x200 49 50 #define O_CREAT 0x100 -
trunk/makefile.inc
r557 r566 261 261 LDFLAGS+=-L$(topdir)platform/$(PLATFORM) -L$(topdir)platform/$(PLATFORM)/sub/$(PLATFORMSUB) 262 262 263 ifdef OPT_DEBUGGING 264 CFLAGS+=-DOPT_DEBUGGING 265 endif 266 263 267 ########################################################################## 264 268 -
trunk/tools/Makefile
r518 r566 5 5 include $(topdir)makefile.inc 6 6 7 OBJS=pakwif.o finsig.o gensig.o dumpchk.o 7 OBJS=pakwif.o finsig.o gensig.o dumpchk.o dancingbits.o 8 8 9 all: pakwif$(EXE) finsig$(EXE) 9 all: pakwif$(EXE) finsig$(EXE) dancingbits$(EXE) 10 10 11 11 %.o: %.c … … 31 31 32 32 dumpchk$(EXE): dumpchk.o 33 @echo $< \-\> $@ 34 $(HOSTCC) $(HOSTCFLAGS) -o $@ $^ 35 36 dancingbits$(EXE): dancingbits.o 33 37 @echo $< \-\> $@ 34 38 $(HOSTCC) $(HOSTCFLAGS) -o $@ $^ -
trunk/tools/gensigs.sh
r515 r566 7 7 for v in $VERSIONS; do 8 8 cat sig_ref_$2_${v}.txt | \ 9 ( read line; rom_start=($line) ; \ 9 10 while read line; do 10 11 # workaround - multiword read does not work in Windows shell! … … 13 14 addr=${line[1]} 14 15 length=${line[2]} 15 ./gensig sig_ref_$2_${v}.bin 0xffc00000${name}_${v} $addr ${length:-32}16 ./gensig sig_ref_$2_${v}.bin ${rom_start} ${name}_${v} $addr ${length:-32} 16 17 done 18 ) 17 19 done 18 20 … … 21 23 for v in $VERSIONS; do 22 24 cat sig_ref_$2_${v}.txt | \ 25 ( read line; rom_start=($line) ; \ 23 26 awk -v v=${v} '{ printf("\t{ \"%s\", func_sig_%s_%d },\n",$1,$1,v)}' 27 ) 24 28 done | "$1" 25 29 -
trunk/tools/readme.txt
r515 r566 3 3 sig_ref_vxworks_3.bin : should contain a570-100e primary 4 4 sig_ref_dryos_1.bin : should contain a720-100c primary 5 sig_ref_dryos_2.bin : should contain sd1100-100c primary 6 7 files should have rom start address in first line. -
trunk/tools/sig_ref_dryos_1.txt
r538 r566 1 0xffc00000 1 2 SleepTask 0xFFC196d0 2 3 CreateTask 0xFFC0BBC0 -
trunk/tools/sig_ref_vxworks_1.txt
r517 r566 1 0xFFC00000 1 2 AllocateMemory 0xFFC01B1C 32 2 3 close 0xFFEBBE5C -
trunk/tools/sig_ref_vxworks_2.txt
r515 r566 1 0xFFC00000 1 2 GetSystemTime 0xFFC04D38 2 3 GetPropertyCase 0xFFC14DEC -
trunk/tools/sig_ref_vxworks_3.txt
r517 r566 1 0xFFC00000 1 2 Fclose_Fut 0xFFE422A0 2 3 Fopen_Fut 0xFFE42260
Note: See TracChangeset
for help on using the changeset viewer.