Changeset 499


Ignore:
Timestamp:
09/03/08 21:34:05 (5 years ago)
Author:
phyrephox
Message:
  • fixed small glitch in core/makefile
  • extended ubasic command mode_get: now returns 2 when modedial is set to videomode AND camera is in record mode (tested on a620 & s3is).

small committ for a man, but a small committ for mankind as well :D

Location:
branches/juciphox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/juciphox/Makefile

    r498 r499  
    190190        cat $(topdir)bin/caminfo.txt 
    191191        rm -f $(topdir)bin/caminfo.txt   > $(DEVNULL) 
    192          
     192 
    193193batch-zip-complete: version 
    194194        $(MAKE) -s --no-print-directory PLATFORM=a610 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete 
  • branches/juciphox/core/Makefile

    r498 r499  
    4343        @printf " %s-%s (%s, #%s): MEMISOSIZE used: 0x%s / %s\n" \ 
    4444   $(PLATFORM) $(PLATFORMSUB) $(PLATFORMOS) $(PLATFORMID) \ 
    45    `tail -c16 $(topdir)size.txt | head -c5` $(MEMISOSIZE) >> $(topdir)bin/caminfo.txt 
     45   `tail -c16 $(topdir)size.txt | head -c6` $(MEMISOSIZE) >> $(topdir)bin/caminfo.txt 
    4646        rm -f $(topdir)size.txt 
    4747 
  • branches/juciphox/lib/ubasic/ubasic.c

    r498 r499  
    220220 case TOKENIZER_GET_MODE: 
    221221    accept(TOKENIZER_GET_MODE); 
    222     r = ((mode_get()&MODE_MASK) == MODE_PLAY)?1:0;     
     222    int m=mode_get()&MODE_SHOOTING_MASK; 
     223                int mode_video=MODE_IS_VIDEO(m); 
     224                if ((mode_get()&MODE_MASK) != MODE_PLAY) r = 0; 
     225    if ((mode_get()&MODE_MASK) == MODE_PLAY) r = 1; 
     226    if (((mode_get()&MODE_MASK) != MODE_PLAY) && mode_video) r = 2; 
    223227   break; 
    224228 case TOKENIZER_GET_RAW_NR: 
  • branches/juciphox/platform/sx100is/sub/100c/movie_rec.c

    r497 r499  
    19591959 
    19601960long CompressionRateTable[]={0x60, 0x5D, 0x5A, 0x57, 0x54, 0x51, 0x4D, 0x48, 0x42, 0x3B, 0x32, 0x29, 0x22, 0x1D, 0x17, 0x14, 0x10, 0xE, 0xB, 9, 7, 6, 5, 4, 3, 2, 1}; 
    1961  
    1962                                                          
Note: See TracChangeset for help on using the changeset viewer.