Demonstrate the Emulator

This module show how to instantiate the RISC class and run it with the Oberon OS disk image and some virtual peripherals.

oberon.demo.cycle(cpu, limit)[source]

Run the cpu up to limit cycles.

Flip the display (if any) every 10000 cycles.

oberon.demo.make_arg_parser()[source]

Return an ArgumentParser object.

oberon.demo.make_cpu(disk_image, serial=None)[source]

Build and return a RISC object with peripherals.