Last change
on this file since 681 was
673,
checked in by guerin, 9 years ago
|
raycast: initial port
Raycast is a small game that looks like Wolfenstein 3D. I created
it for my SESI project, on a Cortex M4 devboard.
Imported from
github.com/libcg/tiva-c/tree/master/boards/dk-tm4c129x/upmc_raycast
|
File size:
934 bytes
|
Rev | Line | |
---|
[673] | 1 | /**************************************************************************** |
---|
| 2 | * Definition of the base address for all virtual segments |
---|
| 3 | *****************************************************************************/ |
---|
| 4 | |
---|
| 5 | seg_code_base = 0x10000000; |
---|
| 6 | seg_data_base = 0x20000000; |
---|
| 7 | |
---|
| 8 | /*************************************************************************** |
---|
| 9 | * Grouping sections into segments for code and data |
---|
| 10 | ***************************************************************************/ |
---|
| 11 | |
---|
| 12 | SECTIONS |
---|
| 13 | { |
---|
| 14 | . = seg_code_base; |
---|
| 15 | seg_code : |
---|
| 16 | { |
---|
| 17 | *(.text) |
---|
| 18 | } |
---|
| 19 | . = seg_data_base; |
---|
| 20 | seg_data : |
---|
| 21 | { |
---|
| 22 | *(.ctors) |
---|
| 23 | *(.rodata) |
---|
| 24 | /* . = ALIGN(4); */ |
---|
| 25 | *(.rodata.*) |
---|
| 26 | /* . = ALIGN(4); */ |
---|
| 27 | *(.data) |
---|
| 28 | /* . = ALIGN(4); */ |
---|
| 29 | *(.lit8) |
---|
| 30 | *(.lit4) |
---|
| 31 | *(.sdata) |
---|
| 32 | /* . = ALIGN(4); */ |
---|
| 33 | *(.bss) |
---|
| 34 | *(COMMON) |
---|
| 35 | *(.sbss) |
---|
| 36 | *(.scommon) |
---|
| 37 | } |
---|
| 38 | } |
---|
| 39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.