Diff for /np2/win9x/debuguty/viewasm.cpp between versions 1.1.1.1 and 1.3

version 1.1.1.1, 2003/10/16 17:59:10 version 1.3, 2003/12/08 00:55:34
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        "resource.h"  #include        "resource.h"
 #include        "np2.h"  #include        "np2.h"
 #include        "i286.h"  
 #include        "viewer.h"  #include        "viewer.h"
 #include        "viewcmn.h"  #include        "viewcmn.h"
 #include        "viewmenu.h"  #include        "viewmenu.h"
 #include        "viewmem.h"  #include        "viewmem.h"
 #include        "viewasm.h"  #include        "viewasm.h"
 #include        "unasm.h"  #include        "unasm.h"
   #include        "cpucore.h"
   
   
 static void set_viewseg(HWND hwnd, NP2VIEW_T *view, WORD seg) {  static void set_viewseg(HWND hwnd, NP2VIEW_T *view, WORD seg) {
Line 147  LRESULT CALLBACK viewasm_proc(NP2VIEW_T  Line 147  LRESULT CALLBACK viewasm_proc(NP2VIEW_T 
                 case WM_COMMAND:                  case WM_COMMAND:
                         switch(LOWORD(wp)) {                          switch(LOWORD(wp)) {
                                 case IDM_SEGCS:                                  case IDM_SEGCS:
                                         set_viewseg(hwnd, view, I286_CS);                                          set_viewseg(hwnd, view, CPU_CS);
                                         break;                                          break;
   
                                 case IDM_SEGDS:                                  case IDM_SEGDS:
                                         set_viewseg(hwnd, view, I286_DS);                                          set_viewseg(hwnd, view, CPU_DS);
                                         break;                                          break;
   
                                 case IDM_SEGES:                                  case IDM_SEGES:
                                         set_viewseg(hwnd, view, I286_ES);                                          set_viewseg(hwnd, view, CPU_ES);
                                         break;                                          break;
   
                                 case IDM_SEGSS:                                  case IDM_SEGSS:
                                         set_viewseg(hwnd, view, I286_SS);                                          set_viewseg(hwnd, view, CPU_SS);
                                         break;                                          break;
   
                                 case IDM_SEGTEXT:                                  case IDM_SEGTEXT:
Line 215  void viewasm_init(NP2VIEW_T *dst, NP2VIE Line 215  void viewasm_init(NP2VIEW_T *dst, NP2VIE
                 }                  }
         }          }
         if (!src) {          if (!src) {
                 dst->seg = I286_CS;                  dst->seg = CPU_CS;
                 dst->off = I286_IP;                  dst->off = CPU_IP;
         }          }
         dst->type = VIEWMODE_ASM;          dst->type = VIEWMODE_ASM;
         dst->maxline = 256;          dst->maxline = 256;

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


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