Module vm

Source

Structs§

VirtualMachine
VirtualMachine struct encapsulates the components of the BytePusher VM. It includes the CPU, memory, audio handler, keyboard handler, and screen handler.

Constants§

AUDIO_BUFFER_SIZE
AUDIO_REGISTER_ADDR
AUDIO_SAMPLES_PER_SECOND
FRAME_RATE
KEYBOARD_REGISTER_ADDR
MEMORY_SIZE
PROGRAM_COUNTER_ADDR
SCREEN_BUFFER_SIZE
SCREEN_HEIGHT
SCREEN_REGISTER_ADDR
SCREEN_WIDTH