chip8emu icon indicating copy to clipboard operation
chip8emu copied to clipboard

Added optional command line argument to set cycle-rate of CPU-loop

Open BhavyaC16 opened this issue 3 years ago • 2 comments

Provided the cycleRate attribute to the Machine class. An optional argument can be passed to the emulator in microseconds to control the CPU loop rate, which is otherwise set to 10 by default.

Example to set cycle rate to 5000 microseconds:

./bin/c8emu ./roms/games/Tetris\ \[Fran\ Dachille\,\ 1991\].ch8 5000

Closes #2

BhavyaC16 avatar Oct 25 '20 08:10 BhavyaC16