From 8f20cb93e9e298799150590ccdd0176b144d0dad Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 29 Jan 2023 21:20:50 -0500 Subject: [PATCH] Note missed status accesses. --- Components/9918/Implementation/9918.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Components/9918/Implementation/9918.cpp b/Components/9918/Implementation/9918.cpp index f7687eb9e..4e9cbbf85 100644 --- a/Components/9918/Implementation/9918.cpp +++ b/Components/9918/Implementation/9918.cpp @@ -1017,11 +1017,10 @@ template uint8_t Base::read_register() { if constexpr (is_yamaha_vdp(personality)) { switch(Storage::selected_status_) { + default: case 0: break; - case 1: - printf("TODO"); - break; + case 1: LOG("TODO: Yamaha status 1"); break; case 2: { // b7 = transfer ready flag (i.e. VDP ready for next transfer) @@ -1045,6 +1044,14 @@ uint8_t Base::read_register() { (Storage::command_ ? 0x01 : 0x00); } break; + + case 3: LOG("TODO: Yamaha status 3"); break; + case 4: LOG("TODO: Yamaha status 4"); break; + case 5: LOG("TODO: Yamaha status 5"); break; + case 6: LOG("TODO: Yamaha status 6"); break; + case 7: LOG("TODO: Yamaha status 7"); break; + case 8: LOG("TODO: Yamaha status 8"); break; + case 9: LOG("TODO: Yamaha status 9"); break; } }