initial commit

set up real modes and stack, then switch to C code