Portal wasn't made in TI-BASIC, it was made in Z-80 assembly. (the Z-80 is what powers most TI calculators) This gives the dev more control over everything and makes the program run exponentially faster than a TI-BASIC program. That might make porting it a little bit difficult.