You mean you want to write a shell? (I.e., something like the dos box?)