Permalink
Switch branches/tags
Nothing to show
Commits on Aug 22, 2010
  1. Added install and uninstall dummy targets to Makefile

    Mark Szymanski
    Mark Szymanski committed Aug 22, 2010
  2. Converted README to Markdown

    Mark Szymanski
    Mark Szymanski committed Aug 22, 2010
Commits on Aug 12, 2010
  1. Added support for MIPS 32 bit on linux for the inception to be done o…

    karthick18 committed Aug 12, 2010
    …n fischers_mind_state also for MIPS. Changed asm to have volatile to be safe w.r.t asms being removed by compiler. Added a CROSS_COMPILE tag to support cross-compilation. Now the code should run fine on MIPS 32 bit, ARM (32 bit), x86, x86_64 and MAC (built for x86). Having fun learning assembly for different architectures to support Inception buffer or in other words: respect Nolan :-)
Commits on Aug 9, 2010
  1. Sequencing changes related to Cobb's entry to level 4/limbo after Fis…

    karthick18 committed Aug 9, 2010
    …cher's killed by Mal as he is taken by Ariadne to that level. Also some synchronization changes related to Saito's death in level 3. Did that after the output was reviewed by my brother who reminded me of some sequencing inconsistencies :-). I don't think I can ever get off from this movie :-)
Commits on Aug 7, 2010
  1. Added support for ARM in linux today to plant the inception thought i…

    karthick18 committed Aug 7, 2010
    …n fischers_mind_state map. Was nice to learn about arm assembly to add the inception code support. Felt much advanced than intel especially the multiple stores/load (stfdm) but not required for the inception code to work as the assembly I coded was simpler but learning curve was good for ARM.
Commits on Aug 3, 2010
  1. Just realized in my dream that Saito had to follow Eames into level 3…

    karthick18 committed Aug 3, 2010
    … and not enter before others. So updating the sequencing in dream level 2 to have Saito driven by Eames in turned driven by Cobb once Ariadne and Fischer joins him.
Commits on Aug 1, 2010
  1. Rearranged locking to be more fine-grained by using the per dreamer m…

    karthick18 committed Aug 1, 2010
    …utex in each level over the dream level mutex common to all the dreamers in a level for dream cmd dequeues
Commits on Jul 29, 2010
  1. Trigger Eames to fake Fischers father in level 3 before triggering Fi…

    karthick18 committed Jul 29, 2010
    …scher to meet his father. Update Saito's state on all levels followed by limbo state update without holding any dream level lock. Updated README to just add the steps to compile and run the code
Commits on Jul 28, 2010
  1. Support for MacOSX and it now correctly dumps Fischers inception thou…

    karthick18 committed Jul 28, 2010
    …ght at the end in OSX also. Had to generate another inception_thoughts opcode buffer specific to OSX once I figured that OSX pushes syscall arguments into the stack before int 0x80. Also remove hints with respect to Fischers inception thought dumped in the last output line as thats for users to find :-)
Commits on Jul 27, 2010
  1. Added a new 64 bit specific op-code buffer in inception.h for the mor…

    karthick18 committed Jul 27, 2010
    …ph to work as the 32 bit emulation mode int 0x80 call doesnt work with the opcode translation with x86_64 opcode buffers. So introduced a new one that represents the use of syscall instruction for x86_64. The assembly for that is also encoded in the comments in inception.h . Now a run for 64 bit would also dump Fischers thought in the last line as expected.
  2. Support to build for unixes other than linux like OSX. Change the asm…

    karthick18 committed Jul 27, 2010
    … call to fischer_dream_level1 to use gcc inline assembly so as to be portable. Change Makefile to use i386 for 32 bit differentiator. Still the last thought isn't displayed right at the end in MacOSX like with x86_64 coz of the opcode buffer discrepancy on those archs which I have to fix
Commits on Jul 26, 2010
  1. Fix Makefile to use -m64 to compile for 64 bit instead of defaulting …

    karthick18 committed Jul 26, 2010
    …to 32 bit on 64 bit machines. However the morph code buffer still doesn't work for some reason on x86_64 as the code exits out without dumping Fischers Inception thought which is the last output in x86 to be seen on the screen. So just updated the exit code to catch 64 bit runs and just dump the warning in the last output as everything else runs fine on 64 bit with the exception of the main display of Fischers inception thought
  2. removing the fflush as that was meant to just flush out unbuffered ou…

    karthick18 committed Jul 26, 2010
    …tput macro calls that misses a newline(just for my debugging). Some reddit idiots started hacking on the output macro format :-)
Commits on Jul 25, 2010
  1. Change the wake_up from dream algo. to wake up in a cascading fashion…

    karthick18 committed Jul 25, 2010
    … individual dreamers on each level with a per dreamer wake up wind up rather than a wake up all across all levels. Also introduced a limbo state updated by the dreamer entering into limbo on all the levels in which he is dreaming so he doesn't become eligible to take the kick back into reality this remaining in limbo till infinity
Commits on Jul 24, 2010
  1. Inception code complete. with limbo phase and synchronize kickback wi…

    karthick18 committed Jul 24, 2010
    …th exit of the code with Fischers thought assuming Inception was successful
  2. Updating README

    karthick18 committed Jul 24, 2010
  3. Just adding a TODO marker to the last phase of the code in enter_limb…

    karthick18 committed Jul 24, 2010
    …o before wind_back or a synchronized kick
  4. Adding README

    karthick18 committed Jul 24, 2010
  5. Adding the code that explains the movie Inception in 'C' language and…

    karthick18 committed Jul 24, 2010
    … tries to implement INCEPTION movie concept programmatically