153 lines
2.5 KiB
JSON
153 lines
2.5 KiB
JSON
[
|
|
{
|
|
"requestId": "init",
|
|
"command": "initialize",
|
|
"params": {
|
|
"protocolVersion": {
|
|
"major": 1,
|
|
"minor": 0
|
|
},
|
|
"requiredCapabilities": [
|
|
"advance",
|
|
"capture",
|
|
"cancel"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"requestId": "boot",
|
|
"command": "boot",
|
|
"params": {
|
|
"path": "/cartridge"
|
|
}
|
|
},
|
|
{
|
|
"requestId": "reset",
|
|
"command": "reset",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "input",
|
|
"command": "set_input",
|
|
"params": {
|
|
"right": true,
|
|
"touch": true,
|
|
"touchX": 123,
|
|
"touchY": 45
|
|
}
|
|
},
|
|
{
|
|
"requestId": "clear",
|
|
"command": "clear_input",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "advance",
|
|
"command": "advance",
|
|
"params": {
|
|
"frames": 60
|
|
}
|
|
},
|
|
{
|
|
"requestId": "capture",
|
|
"command": "capture",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "get_state",
|
|
"command": "get_state",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "get_fault",
|
|
"command": "get_fault",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "shutdown",
|
|
"command": "shutdown",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "cancel",
|
|
"command": "cancel",
|
|
"params": {
|
|
"targetRequestId": "advance"
|
|
}
|
|
},
|
|
{
|
|
"requestId": "mem-11",
|
|
"command": "initialize",
|
|
"params": {
|
|
"protocolVersion": {
|
|
"major": 1,
|
|
"minor": 1
|
|
},
|
|
"requiredCapabilities": [
|
|
"memcard"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"requestId": "mem-12",
|
|
"command": "memcard_mount",
|
|
"params": {
|
|
"path": "/save.pmc",
|
|
"action": "open",
|
|
"access": "read_only"
|
|
}
|
|
},
|
|
{
|
|
"requestId": "mem-13",
|
|
"command": "memcard_mount",
|
|
"params": {
|
|
"path": "/new.pmc",
|
|
"action": "create",
|
|
"access": "read_write"
|
|
}
|
|
},
|
|
{
|
|
"requestId": "mem-14",
|
|
"command": "boot",
|
|
"params": {
|
|
"path": "/cartridge",
|
|
"memcardChoice": "memory_existing"
|
|
}
|
|
},
|
|
{
|
|
"requestId": "mem-15",
|
|
"command": "get_memcard_state",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "mem-16",
|
|
"command": "memcard_unmount",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "mem-17",
|
|
"command": "memcard_reconcile",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "mem-18",
|
|
"command": "memcard_continue_in_memory",
|
|
"params": {}
|
|
},
|
|
{
|
|
"requestId": "mem-19",
|
|
"command": "reset",
|
|
"params": {
|
|
"discardUnsaved": true,
|
|
"pendingWrites": "cancel"
|
|
}
|
|
},
|
|
{
|
|
"requestId": "mem-20",
|
|
"command": "shutdown",
|
|
"params": {
|
|
"pendingWrites": "wait"
|
|
}
|
|
}
|
|
]
|