On an emulator, the receive buffer is filled with the correct/expected data for 'device status'. I found this experiment useful: - it revealed a bug in my register struct generator code (the maple_if-related registers were not at the correct offsets) - it validates my understanding about endianness-swapping between the maple bus and the SH4
7 lines
154 B
C++
7 lines
154 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
void maple_init_host_command(uint32_t * buf, uint32_t * receive_address);
|
|
void maple_dma_start(uint32_t * command_buf);
|