Diff for /np2/debugsub.c between versions 1.3 and 1.8

version 1.3, 2003/11/22 12:49:48 version 1.8, 2004/02/06 17:10:32
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        "strres.h"  #include        "strres.h"
 #include        "dosio.h"  #include        "dosio.h"
 #include        "i286.h"  #include        "cpucore.h"
 #include        "memory.h"  
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "debugsub.h"  #include        "debugsub.h"
Line 101  const char *debugsub_regs(void) { Line 100  const char *debugsub_regs(void) {
   
 static char work[256];  static char work[256];
   
         SPRINTF(work, str_register, I286_AX, I286_BX, I286_CX, I286_DX,          SPRINTF(work, str_register, CPU_AX, CPU_BX, CPU_CX, CPU_DX,
                                                                 I286_SP, I286_BP, I286_SI, I286_DI,                                                                  CPU_SP, CPU_BP, CPU_SI, CPU_DI,
                                                                 I286_DS, I286_ES, I286_SS, I286_CS, I286_IP);                                                                  CPU_DS, CPU_ES, CPU_SS, CPU_CS, CPU_IP);
         milstr_ncat(work, debugsub_flags(I286_FLAG), sizeof(work));          milstr_ncat(work, debugsub_flags(CPU_FLAG), sizeof(work));
         milstr_ncat(work, CRCONST, sizeof(work));          milstr_ncat(work, CRCONST, sizeof(work));
         return(work);          return(work);
 }  }
Line 169  void debugsub_memorydump(void) { Line 168  void debugsub_memorydump(void) {
   
         fh = file_create_c(file_memorybin);          fh = file_create_c(file_memorybin);
         if (fh != FILEH_INVALID) {          if (fh != FILEH_INVALID) {
 //              for (i=0; i<34; i++) {                  for (i=0; i<34; i++)
                 for (i=0; i<64; i++) {  //              for (i=0; i<64; i++)
                   {
                         file_write(fh, mem + i*0x8000, 0x8000);                          file_write(fh, mem + i*0x8000, 0x8000);
                 }                  }
                 file_close(fh);                  file_close(fh);

Removed from v.1.3  
changed lines
  Added in v.1.8


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