Diff for /np2/macos9/np2.cpp between versions 1.25 and 1.27

version 1.25, 2004/01/22 04:59:48 version 1.27, 2004/01/27 07:24:25
Line 109  static void MenuBarInit(void) { Line 109  static void MenuBarInit(void) {
         if (hmenu) {          if (hmenu) {
                 AppendResMenu(hmenu, 'DRVR');                  AppendResMenu(hmenu, 'DRVR');
         }          }
   #if !defined(SUPPORT_SCSI)
           hmenu = GetMenuHandle(IDM_HARDDISK);
           if (hmenu) {
                   DeleteMenuItem(hmenu, 7);
                   DeleteMenuItem(hmenu, 6);
                   DeleteMenuItem(hmenu, 5);
                   DeleteMenuItem(hmenu, 4);
                   DeleteMenuItem(hmenu, 3);
           }
   #endif
           if (!np2oscfg.I286SAVE) {
                   hmenu = GetMenuHandle(IDM_OTHER);
                   if (hmenu) {
                           DeleteMenuItem(hmenu, 9);
                   }
           }
         InsertMenu(GetMenu(IDM_SASI1), -1);          InsertMenu(GetMenu(IDM_SASI1), -1);
         InsertMenu(GetMenu(IDM_SASI2), -1);          InsertMenu(GetMenu(IDM_SASI2), -1);
   #if defined(SUPPORT_SCSI)
           InsertMenu(GetMenu(IDM_SCSI0), -1);
           InsertMenu(GetMenu(IDM_SCSI1), -1);
           InsertMenu(GetMenu(IDM_SCSI2), -1);
           InsertMenu(GetMenu(IDM_SCSI3), -1);
   #endif
         InsertMenu(GetMenu(IDM_KEYBOARD), -1);          InsertMenu(GetMenu(IDM_KEYBOARD), -1);
         InsertMenu(GetMenu(IDM_SOUND), -1);          InsertMenu(GetMenu(IDM_SOUND), -1);
         InsertMenu(GetMenu(IDM_MEMORY), -1);          InsertMenu(GetMenu(IDM_MEMORY), -1);
Line 185  static void HandleMenuChoice(long wParam Line 207  static void HandleMenuChoice(long wParam
                         break;                          break;
   
                 case IDM_SASI1OPEN:                  case IDM_SASI1OPEN:
                         dialog_changehdd(0);                          dialog_changehdd(0x00);
                         break;                          break;
   
                 case IDM_SASI1REMOVE:                  case IDM_SASI1REMOVE:
                         diskdrv_sethdd(0, NULL);                          diskdrv_sethdd(0x00, NULL);
                         break;                          break;
   
                 case IDM_SASI2OPEN:                  case IDM_SASI2OPEN:
                         dialog_changehdd(1);                          dialog_changehdd(0x01);
                         break;                          break;
   
                 case IDM_SASI2REMOVE:                  case IDM_SASI2REMOVE:
                         diskdrv_sethdd(1, NULL);                          diskdrv_sethdd(0x01, NULL);
                           break;
   
                   case IDM_SCSI0OPEN:
                           dialog_changehdd(0x20);
                           break;
   
                   case IDM_SCSI0REMOVE:
                           diskdrv_sethdd(0x20, NULL);
                           break;
   
                   case IDM_SCSI1OPEN:
                           dialog_changehdd(0x21);
                           break;
   
                   case IDM_SCSI1REMOVE:
                           diskdrv_sethdd(0x21, NULL);
                           break;
   
                   case IDM_SCSI2OPEN:
                           dialog_changehdd(0x22);
                           break;
   
                   case IDM_SCSI2REMOVE:
                           diskdrv_sethdd(0x22, NULL);
                           break;
   
                   case IDM_SCSI3OPEN:
                           dialog_changehdd(0x23);
                           break;
   
                   case IDM_SCSI3REMOVE:
                           diskdrv_sethdd(0x23, NULL);
                         break;                          break;
   
                 case IDM_ROLNORMAL:                  case IDM_ROLNORMAL:
Line 459  static void HandleMenuChoice(long wParam Line 513  static void HandleMenuChoice(long wParam
                         dialog_writebmp();                          dialog_writebmp();
                         break;                          break;
   
                   case IDM_CALENDAR:
                           CalendarDialogProc();
                           break;
   
                 case IDM_DISPCLOCK:                  case IDM_DISPCLOCK:
                         menu_setdispclk(np2oscfg.DISPCLK ^ 1);                          menu_setdispclk(np2oscfg.DISPCLK ^ 1);
                         update |= SYS_UPDATECFG;                          update |= SYS_UPDATECFG;

Removed from v.1.25  
changed lines
  Added in v.1.27


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