Not enough detail to even comment! I assume you mean a COM port. What do you want this port to look like from Basic4ppc? What should the port code do with the data you send to it?i must create virtual port and send info to him...
That's a real OS device driver written in C++ that you would need to do that and that's outside my comfort zone.i'm want emulate GPS.