 // Pointer version.  Does not work with F("") or PSTR("").  Use with sprintf and sprintf_P
 void DisplayBothP(const char *message)
 {
-    C64PrintlnP(message);
-    //message.replace(' ', '\n');
-    DisplayP(message);
+    String temp = message;
+    C64PrintlnP(temp.c_str());
+    temp.replace(' ', '\n');
+    DisplayP(temp.c_str());
 }
 
 

        // Command Mode -----------------------------------------------------------------------
        if (Modem_isCommandMode)
        {
            if (Modem_flowControl) 
                digitalWriteFast(C64_CTS, LOW);
            //char inbound = toupper(_serial->read());
            char inbound = C64Serial.read();

            if (Modem_EchoOn)
            {
                if (!Modem_flowControl) 
                delay(100 / (BAUD_RATE / 2400));     // Slow down command mode to prevent garbage if flow control

    }

    Modem_Connected();
}

// Main processing loop for the virtual modem.  Needs refactoring!
