Changeset 673


Ignore:
Timestamp:
Jul 28, 2015, 1:27:46 PM (9 years ago)
Author:
guerin
Message:

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

Location:
soft/giet_vm
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r667 r673  
    3131                 applications/gameoflife/gameoflife.py  \
    3232                 applications/ocean/ocean.py            \
     33                 applications/raycast/raycast.py        \
    3334                 applications/router/router.py          \
    3435                 applications/shell/shell.py            \
     
    194195        cd applications/gameoflife   && $(MAKE) clean && cd ../..
    195196        cd applications/ocean        && $(MAKE) clean && cd ../..
     197        cd applications/raycast      && $(MAKE) clean && cd ../..
    196198        cd applications/router       && $(MAKE) clean && cd ../..
    197199        cd applications/shell        && $(MAKE) clean && cd ../..
     
    218220        mmd -o -i $< ::/bin/gameoflife    || true
    219221        mmd -o -i $< ::/bin/ocean         || true
     222        mmd -o -i $< ::/bin/raycast       || true
    220223        mmd -o -i $< ::/bin/router        || true
    221224        mmd -o -i $< ::/bin/shell         || true
     
    233236        mcopy -o -i $< applications/gameoflife/appli.elf ::/bin/gameoflife    || true
    234237        mcopy -o -i $< applications/ocean/appli.elf ::/bin/ocean              || true
     238        mcopy -o -i $< applications/raycast/appli.elf ::/bin/raycast          || true
    235239        mcopy -o -i $< applications/router/appli.elf ::/bin/router            || true
    236240        mcopy -o -i $< applications/shell/appli.elf ::/bin/shell              || true
     
    392396
    393397########################################
     398### raycast application compilation
     399applications/raycast/appli.elf: build/libs/libmath.a build/libs/libuser.a
     400        $(MAKE) -C applications/raycast
     401
     402########################################
    394403### router  application compilation
    395404applications/router/appli.elf: build/libs/libuser.a
  • soft/giet_vm/giet_python/genmap

    r591 r673  
    3737# - gameoflife
    3838# - ocean
     39# - raycast
    3940# - router
    4041# - sort
     
    132133                   default = False,
    133134                   help = 'map the "ocean" application for the GietVM' )
     135
     136parser.add_option( '--raycast', action = 'store_true', dest = 'raycast',     
     137                   default = False,
     138                   help = 'map the "raycast" application for the GietVM' )
    134139
    135140parser.add_option( '--router', action = 'store_true', dest = 'router',     
     
    181186map_gameoflife = options.gameoflife  # map "gameoflife" application if True
    182187map_ocean      = options.ocean       # map "ocean" application if True
     188map_raycast    = options.raycast     # map "raycast" application if True
    183189map_router     = options.router      # map "router" application if True
    184190map_shell      = options.shell       # map "shell" application if True
     
    243249    print '[genmap] application "ocean" will be loaded'
    244250
     251if ( map_raycast ):     
     252    appli = __import__( 'raycast' )
     253    appli.extend( mapping )
     254    print '[genmap] application "raycast" will be loaded'
     255
    245256if ( map_router ):     
    246257    appli = __import__( 'router' )
Note: See TracChangeset for help on using the changeset viewer.