def main(): channel.channel1.ChannelBusy = True channel.channel3.ChannelBusy = True channel.channel2.ChannelBusy = True while (not channel.ChannelIdle()): simulate() CPU.Process() CPU.IOInterrupt()