You may want to use BP7 or Free Pascal for DOS instead if you want to develope in protected mode (I remember there're patches that allow to program in protected mode in TP7 but I couldn't find the link). Keep in mind that most of TP7 graphics/sound libraries will not work in protected mode.