// File: 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:
pushq %rbp
movq %rsp, %rbp
leaq 0x2cf2ad(%rip), %rax    # 0x36b988
cmpb $0x0, (%rax)
je 0x9c6e5
jmp 0x9ca80
leaq 0x1db2cc(%rip), %rax    # 0x2779b8
cmpl $0x0, (%rax)
je 0x9c702
leaq 0x201a40(%rip), %rax    # 0x29e138
cmpl $0x0, (%rax)
je 0x9c702
jmp 0x9ca80
leaq 0x2fe2ff(%rip), %rax    # 0x39aa08
cmpl $0x0, (%rax)
jne 0x9c71f
leaq 0x3020d3(%rip), %rax    # 0x39e7e8
movzwl (%rax), %eax
cmpl $0x180, %eax            # imm = 0x180
jne 0x9c74a
leaq 0x1db24e(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db246(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0xe, %edx
leaq 0xeed31(%rip), %rcx     # 0x18b471
callq 0x10ee0
jmp 0x9ca7b
leaq 0x1ff757(%rip), %rax    # 0x29bea8
cmpl $0x0, (%rax)
je 0x9c7b5
leaq 0x2f9aa3(%rip), %rax    # 0x396200
cmpb $0x0, (%rax)
je 0x9c78a
leaq 0x1db20b(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db203(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0xc, %edx
leaq 0xeed07(%rip), %rcx     # 0x18b48a
callq 0x10ee0
jmp 0x9c7b0
leaq 0x1db1e3(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db1db(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0xc, %edx
leaq 0xeecf8(%rip), %rcx     # 0x18b4a3
callq 0x10ee0
jmp 0x9ca79
leaq 0x2f9a3e(%rip), %rax    # 0x3961fa
cmpb $0x0, (%rax)
je 0x9c7ec
leaq 0x1db1ac(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db1a4(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0xeecda(%rip), %rcx     # 0x18b4bc
callq 0x10ee0
jmp 0x9ca77
leaq 0x2f9a06(%rip), %rax    # 0x3961f9
cmpb $0x0, (%rax)
je 0x9c823
leaq 0x1db175(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db16d(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0xeecbc(%rip), %rcx     # 0x18b4d5
callq 0x10ee0
jmp 0x9ca75
leaq 0x2f99d6(%rip), %rax    # 0x396200
cmpb $0x0, (%rax)
je 0x9c85a
leaq 0x1db13e(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db136(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0xeec9e(%rip), %rcx     # 0x18b4ee
callq 0x10ee0
jmp 0x9ca73
leaq 0x2f9997(%rip), %rax    # 0x3961f8
cmpb $0x0, (%rax)
je 0x9c891
leaq 0x1db107(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db0ff(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0xeec80(%rip), %rcx     # 0x18b507
callq 0x10ee0
jmp 0x9ca71
leaq 0x1ddb64(%rip), %rax    # 0x27a3fc
movzbl (%rax), %eax
cmpl $0x1, %eax
jle 0x9c900
leaq 0x2017f1(%rip), %rax    # 0x29e098
cmpq $0x0, (%rax)
je 0x9c8d5
leaq 0x1db0c0(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db0b8(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0xeec52(%rip), %rcx     # 0x18b520
callq 0x10ee0
jmp 0x9c8fb
leaq 0x1db098(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db090(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0xeec44(%rip), %rcx     # 0x18b53a
callq 0x10ee0
jmp 0x9ca6f
leaq 0x1ddaf5(%rip), %rax    # 0x27a3fc
cmpb $0x0, (%rax)
je 0x9c937
leaq 0x1db061(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db059(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0xeec27(%rip), %rcx     # 0x18b554
callq 0x10ee0
jmp 0x9ca6d
leaq 0x2cf98e(%rip), %rax    # 0x36c2cc
cmpb $0x0, (%rax)
je 0x9c96e
leaq 0x1db02a(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1db022(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0xe, %edx
leaq 0xeec08(%rip), %rcx     # 0x18b56c
callq 0x10ee0
jmp 0x9ca6b
leaq 0x1ddc4c(%rip), %rax    # 0x27a5c1
cmpb $0x0, (%rax)
je 0x9ca09
leaq 0x1db12b(%rip), %rax    # 0x277ab0
cmpq $0x400, (%rax)          # imm = 0x400
jne 0x9c9b3
leaq 0x2fea6b(%rip), %rdi    # 0x39b400
leaq 0xeebe8(%rip), %rsi     # 0x18b584
leaq 0xd5b07(%rip), %rdx     # 0x1724aa
leaq 0x1e5d86(%rip), %rcx    # 0x282730
movb $0x0, %al
callq 0x9060
jmp 0x9c9e1
leaq 0x2fea46(%rip), %rdi    # 0x39b400
leaq 0xeebcd(%rip), %rsi     # 0x18b58e
leaq 0xd5ae2(%rip), %rdx     # 0x1724aa
leaq 0x1e5d61(%rip), %rcx    # 0x282730
movb $0x0, %al
callq 0x9060
leaq 0x2fea23(%rip), %rax    # 0x39b400
movb $0x0, 0x18(%rax)
leaq 0x1daf8c(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1daf84(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0x2fe9fe(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x9ca69
leaq 0x1db0a0(%rip), %rax    # 0x277ab0
cmpq $0x400, (%rax)          # imm = 0x400
jne 0x9ca41
leaq 0x1daf54(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1daf4c(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0xeeb64(%rip), %rcx     # 0x18b59e
callq 0x10ee0
jmp 0x9ca67
leaq 0x1daf2c(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x0, %edi
leaq 0x1daf24(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0x9, %edx
leaq 0xeeb51(%rip), %rcx     # 0x18b5b3
callq 0x10ee0
jmp 0x9ca69
jmp 0x9ca6b
jmp 0x9ca6d
jmp 0x9ca6f
jmp 0x9ca71
jmp 0x9ca73
jmp 0x9ca75
jmp 0x9ca77
jmp 0x9ca79
jmp 0x9ca7b
callq 0xfd1f0
popq %rbp
retq
nopw %cs:(%rax,%rax)