Diff for /np2/win9x/debuguty/viewcmn.cpp between versions 1.3 and 1.4

version 1.3, 2003/12/01 10:45:46 version 1.4, 2003/12/08 00:55:34
Line 10 Line 10
 #include        "view1mb.h"  #include        "view1mb.h"
 #include        "viewasm.h"  #include        "viewasm.h"
 #include        "viewsnd.h"  #include        "viewsnd.h"
 #include        "i286.h"  #include        "cpucore.h"
 #include        "memory.h"  #include        "memory.h"
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
Line 156  void viewcmn_setbank(NP2VIEW_T *view) { Line 156  void viewcmn_setbank(NP2VIEW_T *view) {
   
         dmem = &view->dmem;          dmem = &view->dmem;
         dmem->vram = gdcs.disp;          dmem->vram = gdcs.disp;
         dmem->itf = i286core.s.itfbank;          dmem->itf = CPU_ITFBANK;
         dmem->A20 = (BYTE)((i286core.s.adrsmask >> 20) & 1);          dmem->A20 = (BYTE)((CPU_ADRSMASK >> 20) & 1);
 }  }
   
   
Line 184  void viewcmn_setmenuseg(HWND hwnd) { Line 184  void viewcmn_setmenuseg(HWND hwnd) {
         hmenu = GetSubMenu(hparent, 2);          hmenu = GetSubMenu(hparent, 2);
   
         if (hmenu) {          if (hmenu) {
                 modmenu(hmenu, 2, IDM_SEGCS, "CS", I286_CS);                  modmenu(hmenu, 2, IDM_SEGCS, "CS", CPU_CS);
                 modmenu(hmenu, 3, IDM_SEGDS, "DS", I286_DS);                  modmenu(hmenu, 3, IDM_SEGDS, "DS", CPU_DS);
                 modmenu(hmenu, 4, IDM_SEGES, "ES", I286_ES);                  modmenu(hmenu, 4, IDM_SEGES, "ES", CPU_ES);
                 modmenu(hmenu, 5, IDM_SEGSS, "SS", I286_SS);                  modmenu(hmenu, 5, IDM_SEGSS, "SS", CPU_SS);
                 DrawMenuBar(hwnd);                  DrawMenuBar(hwnd);
         }          }
 }  }

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


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