// File: /workspace/github_cpp_makefile_star2_O2/jkingan[P]ladyheather/heathgps.cpp
// Function: show_version_header()
void show_version_header()
{
   if(zoom_screen) return;
   if(text_mode && first_key) return;

   if(rpn_mode || (getting_string == CALC_CMD)) {
      vidstr(VER_ROW+0, VER_COL, YELLOW, "CALCULATOR MODE ENABLED!");
   }
   else if(measure_jitter) {
      if(no_poll) vidstr(VER_ROW+0, VER_COL, RED, "Jitter meas - no polling");
      else        vidstr(VER_ROW+0, VER_COL, RED, "Jitter measurement mode ");
   }
   else if(read_only) vidstr(VER_ROW+0, VER_COL, BLUE, "Read-only mode set      ");
   else if(no_send)   vidstr(VER_ROW+0, VER_COL, BLUE, "COM output disabled     ");
   else if(no_poll)   vidstr(VER_ROW+0, VER_COL, BLUE, "Rcvr requests disabled  ");
   else if(just_read) vidstr(VER_ROW+0, VER_COL, BLUE, "Rcvr decode disabled    ");
   else if(disable_kbd > 1) {
      if(script_file) {
         vidstr(VER_ROW+0, VER_COL, BLUE, "Script file error        "); 
      }
      else {
         vidstr(VER_ROW+0, VER_COL, BLUE, "Keyboard is disabled     "); 
      }
   }
// else if(disable_kbd) vidstr(VER_ROW+0, VER_COL, BLUE,   "Press ESC Y to exit    ");
// else if(disable_kbd) vidstr(VER_ROW+0, VER_COL, BLUE,   "Keyboard is disabled   ");
   else if(disable_kbd) vidstr(VER_ROW+0, VER_COL, BLUE,   "Kbd disabled  Press ESC");
   else if(osc_params)  vidstr(VER_ROW+0, VER_COL, YELLOW, "OSC param display      "); 
   else if(plot_version) {
       if(rcvr_type == NO_RCVR) sprintf(out, "V%s - %s ", VERSION, date_string);
       else {
          sprintf(out, "V%s - %s       ", VERSION, date_string);
          out[24] = 0;
       }
       vidstr(VER_ROW+0, VER_COL, BLUE, out);
   }
   else if(rcvr_type == NO_RCVR) {
      vidstr(VER_ROW+0, VER_COL, BLUE, "Press SPACE for help");
   }
   else vidstr(VER_ROW+0, VER_COL, BLUE, "Press SPACE for help    ");

   show_unit_info();
// show_version_info();
}

// Assembly:
leaq 0x28dc46(%rip), %rax    # 0x2f67a8
cmpb $0x0, (%rax)
jne 0x68b7f
leaq 0x199c6a(%rip), %rax    # 0x2027d8
cmpl $0x0, (%rax)
je 0x68b80
leaq 0x1c03de(%rip), %rax    # 0x228f58
cmpl $0x0, (%rax)
je 0x68b80
retq
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0x2bcc9b(%rip), %rax    # 0x325828
cmpl $0x0, (%rax)
jne 0x68bd3
leaq 0x2c0a6f(%rip), %rax    # 0x329608
cmpw $0x180, (%rax)          # imm = 0x180
je 0x68bd3
leaq 0x1be121(%rip), %rax    # 0x226cc8
cmpl $0x0, (%rax)
je 0x68bf3
leaq 0x2b846d(%rip), %rax    # 0x321020
cmpb $0x0, (%rax)
leaq 0x199bd7(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x199bd2(%rip), %rax    # 0x202798
movl (%rax), %esi
je 0x68c1a
leaq 0xa943a(%rip), %rcx     # 0x11200b
jmp 0x68c21
leaq 0x199bba(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x199bb5(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0xa9406(%rip), %rcx     # 0x111ff2
pushq $0xe
jmp 0x68c9a
leaq 0x2b8420(%rip), %rax    # 0x32101a
cmpb $0x0, (%rax)
je 0x68c25
leaq 0x199b8e(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x199b89(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0xa9425(%rip), %rcx     # 0x11203d
jmp 0x68c98
leaq 0xa9403(%rip), %rcx     # 0x112024
pushq $0xc
jmp 0x68c9a
leaq 0x2b83ed(%rip), %rax    # 0x321019
cmpb $0x0, (%rax)
je 0x68c4c
leaq 0x199b5c(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x199b57(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0xa940c(%rip), %rcx     # 0x112056
jmp 0x68c98
leaq 0x2b83cd(%rip), %rax    # 0x321020
cmpb $0x0, (%rax)
je 0x68c73
leaq 0x199b35(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x199b30(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0xa93fe(%rip), %rcx     # 0x11206f
jmp 0x68c98
leaq 0x2b839e(%rip), %rax    # 0x321018
cmpb $0x0, (%rax)
je 0x68cab
leaq 0x199b0e(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x199b09(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0xa93f0(%rip), %rcx     # 0x112088
pushq $0x9
popq %rdx
callq 0xe2d2
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xa8ed8
leaq 0x19c56a(%rip), %rax    # 0x20521c
movb (%rax), %al
cmpb $0x2, %al
jb 0x68ce0
leaq 0x1c01f9(%rip), %rax    # 0x228eb8
cmpq $0x0, (%rax)
leaq 0x199aca(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x199ac5(%rip), %rax    # 0x202798
movl (%rax), %esi
je 0x68cff
leaq 0xa93c3(%rip), %rcx     # 0x1120a1
jmp 0x68c98
testb %al, %al
je 0x68d08
leaq 0x199aa9(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x199aa4(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0xa93d8(%rip), %rcx     # 0x1120d5
jmp 0x68c98
leaq 0xa93b5(%rip), %rcx     # 0x1120bb
jmp 0x68c98
leaq 0x28e3dd(%rip), %rax    # 0x2f70ec
cmpb $0x0, (%rax)
je 0x68d32
leaq 0x199a79(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x199a74(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0xa93c0(%rip), %rcx     # 0x1120ed
jmp 0x68bec
leaq 0x19c6a8(%rip), %rax    # 0x2053e1
cmpb $0x0, (%rax)
leaq 0x199b8d(%rip), %rax    # 0x2028d0
movq (%rax), %rax
je 0x68d75
cmpq $0x400, %rax            # imm = 0x400
jne 0x68d9b
leaq 0x2bd4c9(%rip), %rdi    # 0x326220
leaq 0xa93a7(%rip), %rsi     # 0x112105
leaq 0x8ee68(%rip), %rdx     # 0xf7bcd
leaq 0x1a47e4(%rip), %rcx    # 0x20d550
xorl %eax, %eax
callq 0x9060
jmp 0x68dc5
leaq 0x199a18(%rip), %rcx    # 0x202794
movl (%rcx), %edi
leaq 0x199a13(%rip), %rcx    # 0x202798
movl (%rcx), %esi
cmpq $0x400, %rax            # imm = 0x400
jne 0x68de3
leaq 0xa9389(%rip), %rcx     # 0x11211f
jmp 0x68c98
leaq 0x2bd47e(%rip), %rbx    # 0x326220
leaq 0xa9366(%rip), %rsi     # 0x11210f
leaq 0x8ee1d(%rip), %rdx     # 0xf7bcd
leaq 0x1a4799(%rip), %rcx    # 0x20d550
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movb $0x0, 0x18(%rbx)
leaq 0x1999c8(%rip), %rax    # 0x202794
movl (%rax), %edi
leaq 0x1999c3(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0x2bd442(%rip), %rcx    # 0x326220
jmp 0x68c98
leaq 0xa934a(%rip), %rcx     # 0x112134
jmp 0x68c98