From fc95b33b8b4408f7509a041c2e8b2d6da9db0933 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sat, 11 May 2024 20:54:01 +0200 Subject: [PATCH] DC11 test lines from debugger --- dc11.cpp | 25 +++++++++++++++++++++++++ dc11.h | 2 ++ debugger.cpp | 6 ++++++ 3 files changed, 33 insertions(+) diff --git a/dc11.cpp b/dc11.cpp index 5caebda..26c5b16 100644 --- a/dc11.cpp +++ b/dc11.cpp @@ -137,6 +137,31 @@ void dc11::show_state(console *const cnsl) const } } +void dc11::test_serial(const std::string & txt) const +{ + for(int i=0; igetDC11()->test_serial(cmd); + + continue; + } else if (cmd == "dp") { cnsl->stop_panel_thread(); @@ -1040,6 +1045,7 @@ void debugger(console *const cnsl, bus *const b, std::atomic_uint32_t *const sto "startnet - start network", "chknet - check network status", #endif + "testdc11 - test DC11", "cfgdisk - configure disk", "log ... - log a message to the logfile", nullptr