Diff for /np2/generic/np2info.c between versions 1.5 and 1.7

version 1.5, 2004/03/23 18:34:04 version 1.7, 2004/06/04 16:11:03
Line 4 Line 4
 #include        "cpucore.h"  #include        "cpucore.h"
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "bios.h"  
 #include        "sound.h"  #include        "sound.h"
 #include        "fmboard.h"  #include        "fmboard.h"
 #include        "np2info.h"  #include        "np2info.h"
Line 68  static const char str_memfmt[] = "%3uKB" Line 67  static const char str_memfmt[] = "%3uKB"
 static const char str_memfmt2[] = "%3uKB + %uKB";  static const char str_memfmt2[] = "%3uKB + %uKB";
 static const char str_memfmt3[] = "%d.%1dMB";  static const char str_memfmt3[] = "%d.%1dMB";
 static const char str_width[] = "width-%u";  static const char str_width[] = "width-%u";
   static const char str_dispclock[] = "%u.%.2ukHz / %u.%uHz";
   
 static const char str_pcm86a[] = "   PCM: %dHz %dbit %s";  static const char str_pcm86a[] = "   PCM: %dHz %dbit %s";
 static const char str_pcm86b[] = "        %d / %d / 32768";  static const char str_pcm86b[] = "        %d / %d / 32768";
Line 182  static void info_gdc(char *str, int maxl Line 182  static void info_gdc(char *str, int maxl
         (void)ex;          (void)ex;
 }  }
   
   static void info_gdc2(char *str, int maxlen, NP2INFOEX *ex) {
   
           char    textstr[32];
   
           SPRINTF(textstr, str_dispclock,
                                                   gdc.hclock / 1000, (gdc.hclock / 10) % 100,
                                                   gdc.vclock / 10, gdc.vclock % 10);
           milstr_ncpy(str, textstr, maxlen);
           (void)ex;
   }
   
 static void info_text(char *str, int maxlen, NP2INFOEX *ex) {  static void info_text(char *str, int maxlen, NP2INFOEX *ex) {
   
 const char      *p;  const char      *p;
Line 294  static void info_extsnd(char *str, int m Line 305  static void info_extsnd(char *str, int m
 static void info_bios(char *str, int maxlen, NP2INFOEX *ex) {  static void info_bios(char *str, int maxlen, NP2INFOEX *ex) {
   
         str[0] = '\0';          str[0] = '\0';
         if (biosrom) {          if (pccore.rom & PCROM_BIOS) {
                 milstr_ncat(str, str_biosrom, maxlen);                  milstr_ncat(str, str_biosrom, maxlen);
         }          }
         if (soundrom.name[0]) {          if (soundrom.name[0]) {
Line 354  static const INFOPROC infoproc[] = { Line 365  static const INFOPROC infoproc[] = {
                         {"MEM2",                info_mem2},                          {"MEM2",                info_mem2},
                         {"MEM3",                info_mem3},                          {"MEM3",                info_mem3},
                         {"GDC",                 info_gdc},                          {"GDC",                 info_gdc},
                           {"GDC2",                info_gdc2},
                         {"TEXT",                info_text},                          {"TEXT",                info_text},
                         {"GRPH",                info_grph},                          {"GRPH",                info_grph},
                         {"SND",                 info_sound},                          {"SND",                 info_sound},

Removed from v.1.5  
changed lines
  Added in v.1.7


RetroPC.NET-CVS <cvs@retropc.net>