public static boolean demoPauseP(boolean pauseP, Object [] MV_returnarray) {
    { boolean exitP = false;
      String input = null;

      if (pauseP) {
        System.out.print("------ pause ------");
        input = InputStream.readLine(Stella.STANDARD_INPUT);
        System.out.println();
        if (input.length() > 0) {
          switch (Stella.$CHARACTER_UPCASE_TABLE$.charAt(((int) (input.charAt(0))))) {
            case 'C': 
              pauseP = false;
            break;
            case 'Q': 
              if (Stella.yOrNP("Really exit demo? (y or n) ")) {
                pauseP = false;
                exitP = true;
              }
            break;
            case 'H': 
            case '?': 
              {
                System.out.println("Type `c' to continue without pausing,");
                System.out.println("     `q' to quit from this demo,");
                System.out.println("     `?' or `h' to get this message,");
                System.out.println("     or any other key to continue.");
              }
;
              return (Logic.demoPauseP(pauseP, MV_returnarray));
            default:
            break;
          }
        }
      }
      else {
        System.out.println();
      }
      { boolean _return_temp = pauseP;

        MV_returnarray[0] = BooleanWrapper.wrapBoolean(exitP);
        return (_return_temp);
      }
    }
  }