 void SetPETSCIIMode(boolean mode)
 {
     petscii_mode = mode;
-    updateEEPROM(ADDR_PETSCII,petscii_mode);
+    updateEEPROMByte(ADDR_PETSCII,petscii_mode);
 }
 
 

    int buffer_index = 0;
    int buffer_bytes = 0;
    int max_buffer_size_reached = 0;
    
    while (wifly.available() != -1) // -1 means closed
    {

            {
                C64Println(F("SSID Successfully changed"));
                wifly.save();
                wifly.leave();
                wifly.join(20000);    // 20 second timeout
                return;
            }
            else
