Ignore:
Timestamp:
Jul 29, 2015, 5:52:18 PM (9 years ago)
Author:
guerin
Message:

raycast: dynamically allocate framebuffer

With a 512x512 fb, the generated .elf file was too large for the FAT32
driver to load. Now that we can allocate aligned memory blocks, the .elf
size is greatly reduced.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/raycast/raycast.py

    r676 r679  
    3030
    3131    heap_base  = 0x60000000
    32     heap_size  = 0x00008000     # 32 Kbytes
     32    heap_size  = 0x00400000     # 4 Mbytes
    3333
    3434    # create vspace
     
    5252                     local = False, big = True )
    5353
    54     # heap vseg (unused)           
     54    # heap vseg
    5555    mapping.addVseg( vspace, 'raycast_heap', heap_base, heap_size,
    5656                     'C_WU', vtype = 'BUFFER', x = 0 , y = 0 , pseg = 'RAM',
Note: See TracChangeset for help on using the changeset viewer.