Diff for /np2/win9x/debuguty/viewcmn.cpp between versions 1.2 and 1.5

version 1.2, 2003/10/21 11:22:05 version 1.5, 2003/12/12 01:04:41
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        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "bios.h"  #include        "bios.h"
Line 156  void viewcmn_setbank(NP2VIEW_T *view) { Line 155  void viewcmn_setbank(NP2VIEW_T *view) {
   
         dmem = &view->dmem;          dmem = &view->dmem;
         dmem->vram = gdcs.disp;          dmem->vram = gdcs.disp;
         dmem->itf = itf.bank;          dmem->itf = CPU_ITFBANK;
         dmem->A20 = (BYTE)((extmem.adrsmask >> 20) & 1);          dmem->A20 = (BYTE)((CPU_ADRSMASK >> 20) & 1);
 }  }
   
   
Line 184  void viewcmn_setmenuseg(HWND hwnd) { Line 183  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.2  
changed lines
  Added in v.1.5


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