Skip to content

Support for Signals #2

@black-sliver

Description

@black-sliver

Async signalling that rom changed, console was reset or breakpoint was hit would be useful in some scenarios.

The emulator could send support for SIGNALS_LIST (see issue #1), which returns a list of supported signals. The client could then SIGNALS_SUBSCRIBE to signals and the emulator could send signals without breaking existing behaviour.

Signals could be prefixed by '!' (instead of 0x00 for binary and '\n' for ASCII replies).

example:

> EMU_INFO
<
< commands: SIGNALS_LIST,SIGNALS_SUBSCRIBE
<
> SIGNALS_LIST
<
< name: game-changed
< name: emu-reset
<
> SIGNALS_SUBSCRIBE game-changed,emu-reset
< !game-changed
<

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions