For devices that have a dedicated enable register for input and output GPIO functionality, the DDR<x>OUT command sets the simulated pins on port <x> as an output and clears corresponding input enable bit (see DDR<x>IN). Use the INPUT <x> command to change the values of the port pins.
>gdi DDR<x>OUT <n>
Where: <x> is the letter representing corresponding port
<n> Eight-bit simulated value for port <x>
>gdi DDRBOUT F0
Simulate port B with bits 4-7 as output.