Skip to content

Implement GUI for emulated external devices #5

@cpl

Description

@cpl

The external device interface is defined in the module/ directory. The VM has a dedicated thread to manage all external devices (this way simulating the separation and individuality of external devices). Each device must implement a IsBusy() bool function and Handle(mm *[]builtin.Word) handle function which operates directly on the VM memory.

An external module has "device registers" mapped to the main memory.

Each device is free to do whatever it wants inside the Handle functions.
One option for the GUI is to attache each device to a stdout or have a nice web interface?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions