Ignore:
Timestamp:
04/03/11 01:06:55 (2 years ago)
Author:
reyalP
Message:

exmem improvements, experimental support for loading CHDK binary in exmem - from philmoz in http://chdk.setepontos.com/index.php?topic=650.msg63808#msg63808

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/sx30/sub/100e/makefile.inc

    r1024 r1124  
    44PLATFORMOS=dryos 
    55 
     6ROMBASEADDR=0xFF810000 
     7MAXRAMADDR=0x07FFFFFF 
     8 
    69MEMBASEADDR=0x1900 
    710RESTARTSTART=0x50000 
     11 
     12# Set up size variables for EXMEM 
     13EXMEM_HEAP_SKIP=0x2F7600        #(0x48000000-0x47D08A00) from sub_FF890270 = size of video buffers in EXMEM area 
     14EXMEM_BUFFER_SIZE=0x400000      # Amount of EXMEM memory to allocate for CHDK = 4MB 
     15 
     16ifdef OPT_CHDK_IN_EXMEM 
     17MEMISOSTART=0x79089e0           # MAXRAMADDR+1 - EXMEM_HEAP_SKIP - EXMEM_BUFFER_SIZE - 32 (exmem allocates 64 bytes extra, 32 before and 32 after block allocated) 
     18else 
    819MEMISOSTART=0x18124C 
    9 ROMBASEADDR=0xFF810000 
    10 MAXRAMADDR=0x07FFFFFF 
     20endif 
    1121 
    1222PLFLAGS=-DMEMBASEADDR=$(MEMBASEADDR) -DMEMISOSTART=$(MEMISOSTART) -DMEMISOSIZE=$(MEMISOSIZE) 
Note: See TracChangeset for help on using the changeset viewer.