From fbcb8924e878e7eff93d444762c647e126cb8e3b Mon Sep 17 00:00:00 2001 From: Sik Date: Sat, 6 Jul 2019 20:05:48 -0300 Subject: Added PCM playback flag to Echo_GetStatus --- c/echo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c/echo.c') diff --git a/c/echo.c b/c/echo.c index e2d68d9..61acf68 100644 --- a/c/echo.c +++ b/c/echo.c @@ -407,6 +407,8 @@ uint16_t echo_get_status(void) { status |= ECHO_STAT_BUSY; if (z80_ram[0x1F00] != 0xFF) status |= ECHO_STAT_DIRBUSY; + if (z80_ram[0x0008] != 0xC9) + status |= ECHO_STAT_PCM; // Look ahead in the queue for any pending commands // Adjust the flags accordingly if needed -- cgit v1.2.3