mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-25 22:51:03 +00:00
Support reading and writing memory
This commit is contained in:
@@ -18,11 +18,36 @@ table RunRequest {
|
||||
single_step: bool;
|
||||
}
|
||||
|
||||
table WriteMemoryRequest {
|
||||
address: uint64;
|
||||
data: [ubyte];
|
||||
}
|
||||
|
||||
table WriteMemoryResponse {
|
||||
address: uint64;
|
||||
size: uint32;
|
||||
success: bool;
|
||||
}
|
||||
|
||||
table ReadMemoryRequest {
|
||||
address: uint64;
|
||||
size: uint32;
|
||||
}
|
||||
|
||||
table ReadMemoryResponse {
|
||||
address: uint64;
|
||||
data: [ubyte];
|
||||
}
|
||||
|
||||
union Event {
|
||||
PauseRequest,
|
||||
RunRequest,
|
||||
GetStateRequest,
|
||||
GetStateResponse,
|
||||
WriteMemoryRequest,
|
||||
WriteMemoryResponse,
|
||||
ReadMemoryRequest,
|
||||
ReadMemoryResponse,
|
||||
}
|
||||
|
||||
table DebugEvent {
|
||||
|
||||
Reference in New Issue
Block a user